diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index e8165d3c..b4ec0ad7 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -199,7 +199,7 @@ class crans_ldap : # Champs de recherche pour la recherche manuelle (en plus de la recherche auto) non_auto_search_champs = { 'adherent' : [ 'etudes', 'paiement', 'carteEtudiant', 'aid' , 'postalAddress', 'historique' ,'blacklist', 'droits', 'uidNumber', 'uid' ], \ 'machine' : [ 'mid' , 'ipsec', 'historique', 'blacklist' , 'puissance', 'canal', 'portTCPin', 'portTCPout', 'portUDPin', 'portUDPout' , 'prise' ] , - 'club' : [ 'cid' , 'responsable', 'paiement', 'historique', 'blacklist'] } + 'club' : [ 'cid' , 'responsable', 'paiement', 'historique', 'blacklist', 'mailAlias'] } # Scope des différentes recherches scope = { 'adherent' : 1 , 'machine' : 2 , 'club' : 1 } @@ -527,7 +527,7 @@ class crans_ldap : filtre_tout=0 if not ok : raise ValueError(u'Champ de recherche inconnu (%s)'% champ ) - + ## Recherche avec chacun des filtres r={} # contiendra les réponses par filtre for i in filtres :