-
Notifications
You must be signed in to change notification settings - Fork 4
/
authconfig.yaml.template
63 lines (63 loc) · 1.69 KB
/
authconfig.yaml.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
use_session: 1
default_realm: ldap-people
realms:
ldap-hosts:
credential:
class: Password
password_field: password
password_type: self_check
store:
binddn: '[% LDAP_BINDDN %]'
bindpw: '[% LDAP_BINDPW %]'
class: LDAP
ldap_server: '[% LDAP_URI %]'
ldap_server_options:
timeout: 30
role_basedn: 'ou=Sets,[% LDAP_BASEDN %]'
role_field: cn
role_filter: (&(objectClass=groupOfUniqueNames)(uniqueMember=%s))
role_scope: one
role_search_as_user: 0
role_search_options:
deref: always
role_value: dn
start_tls: 0
start_tls_options:
verify: none
use_roles: 1
user_basedn: 'ou=Hosts,[% LDAP_BASEDN %]'
user_field: cn
user_filter: (&(objectClass=simplesecurityobject)(cn=%s))
user_scope: one
user_search_options:
deref: always
ldap-people:
credential:
class: Password
password_field: password
password_type: self_check
store:
binddn: '[% LDAP_BINDDN %]'
bindpw: '[% LDAP_BINDPW %]'
class: LDAP
ldap_server: '[% LDAP_URI %]'
ldap_server_options:
timeout: 30
role_basedn: 'ou=Sets,[% LDAP_BASEDN %]'
role_field: cn
role_filter: (&(objectClass=groupOfUniqueNames)(uniqueMember=%s))
role_scope: one
role_search_as_user: 0
role_search_options:
deref: always
role_value: dn
start_tls: 0
start_tls_options:
verify: none
use_roles: 1
user_basedn: 'ou=People,[% LDAP_BASEDN %]'
user_field: uid
user_filter: (&(objectClass=posixAccount)(uid=%s))
user_scope: one
user_search_options:
deref: always