From d6104ee8018be3c890f8bad54296c7b7dfbebb49 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Mon, 3 Jun 2013 10:54:46 +0200 Subject: [PATCH] =?UTF-8?q?[nslcd]=20AJout=20d'un=20deuxi=C3=A8me=20serveu?= =?UTF-8?q?r=20ldap=20pour=20l'autentification.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Python/etc/nslcd.conf | 1 + etc/python/ldap.py | 1 + 2 files changed, 2 insertions(+) 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