sunstone-ldap_auth.conf.patch
/sunstone-ldap_auth.conf | ||
---|---|---|
7 | 7 |
#:password: 'password' |
8 | 8 | |
9 | 9 |
# Ldap authentication method |
10 |
:auth_method: :simple |
|
10 | 11 | |
11 | 12 |
# Ldap server |
12 | 13 |
:host: %%adresse_ip_ldap |
13 | 14 |
%if %%getVar('ldap_tls', 'non') == 'oui' |
14 |
:auth_method: :simple_tls |
|
15 | 15 |
:port: 636 |
16 | ||
17 |
# Uncomment this line for tls conections |
|
18 |
:encryption: :simple_tls |
|
16 | 19 |
%else |
17 |
:auth_method: :simple |
|
18 | 20 |
:port: 389 |
19 | 21 |
%end if |
20 | 22 |