From 50d28f687377823ff824fa3a894e1dc65f19986d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Tue, 8 Jan 2013 20:28:11 +0100 Subject: [PATCH] =?UTF-8?q?[Binding]=20Le=20login=20est=20d=C3=A9sormais?= =?UTF-8?q?=20l'uid,=20et=20plus=20le=20mail.=20On=20passe=20de=20plus=20l?= =?UTF-8?q?'uid=20en=20champ=20de=20recherche=20auto.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ignore-this: 491175fcdf19043ff75366bbc36cf8ca darcs-hash:20130108192811-b6762-5fd2bf15f55c8b96c6b0e19c8ec7236246ccdd8d.gz --- gestion/ldap_crans.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 687c7808..570d5dde 100644 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -310,7 +310,7 @@ class CransLdap: # Dictionnaire de transformation des champs trans = { 'prénom': 'prenom', 'chambre': 'chbre', - 'login': 'mail', + 'login': 'uid', 'hostname': 'host', 'mac': 'macAddress', 'ip': 'ipHostNumber', @@ -326,7 +326,7 @@ class CransLdap: auto_search_champs = { \ 'adherent': \ - ['nom', 'prenom', 'tel', 'mail', 'chbre', 'mailAlias', 'canonicalAlias', 'mailExt'], + ['nom', 'prenom', 'tel', 'mail', 'chbre', 'mailAlias', 'canonicalAlias', 'mailExt', 'uid'], 'club': ['nom', 'chbre', 'uid'], 'machineFixe': auto_search_machines_champs, 'machineWifi': auto_search_machines_champs, @@ -342,7 +342,7 @@ class CransLdap: non_auto_search_champs = { \ 'adherent': \ ['etudes', 'paiement', 'carteEtudiant', 'aid', 'postalAddress', - 'historique', 'blacklist', 'droits', 'uidNumber', 'uid', 'info', + 'historique', 'blacklist', 'droits', 'uidNumber', 'info', 'solde', 'controle', 'contourneGreylist', 'rewriteMailHeaders', 'ablacklist', 'homepageAlias', 'charteMA', 'adherentPayant'], \