[ldap] Petit nettoyage
parent
76114488e3
commit
dfb995e958
|
@ -55,7 +55,6 @@ glob_ldap:
|
||||||
- 172.16.10.12
|
- 172.16.10.12
|
||||||
- 172.16.10.13
|
- 172.16.10.13
|
||||||
base: 'dc=crans,dc=org'
|
base: 'dc=crans,dc=org'
|
||||||
local: false # local configuration but default value
|
|
||||||
|
|
||||||
home_nounous:
|
home_nounous:
|
||||||
ip: 172.16.10.1
|
ip: 172.16.10.1
|
||||||
|
|
|
@ -8,7 +8,7 @@ uid nslcd
|
||||||
gid nslcd
|
gid nslcd
|
||||||
|
|
||||||
# The location at which the LDAP server(s) should be reachable.
|
# The location at which the LDAP server(s) should be reachable.
|
||||||
{% if ldap.local %}
|
{% if 'ldap_server' in group_names %}
|
||||||
uri ldapi:///
|
uri ldapi:///
|
||||||
{% else %}
|
{% else %}
|
||||||
{% for server in ldap.servers %}
|
{% for server in ldap.servers %}
|
||||||
|
|
Loading…
Reference in New Issue