diff --git a/Python/etc/nslcd.conf b/Python/etc/nslcd.conf index a2a2e62..69a0881 100644 --- a/Python/etc/nslcd.conf +++ b/Python/etc/nslcd.conf @@ -26,6 +26,7 @@ info["perms"] = 0600 @# +---------------------------------------------------+ @ %uri "%s" % ldap_socket +%uri "%s" % ldap_socket2 @ @# Le distinguished name de la base de recherche %base "dc=crans,dc=org" diff --git a/etc/python/ldap.py b/etc/python/ldap.py index 8a0b13e..856b843 100644 --- a/etc/python/ldap.py +++ b/etc/python/ldap.py @@ -19,6 +19,7 @@ else: ldap_host = admipof("ldap") ldap_socket = "ldap://%s/" % ldap_host +ldap_socket2="ldap://10.231.136.9/" # Filtre de droits pour la connexion if has("users") or has("vert"): # Sur le serveur des adhérents, on veut que tout