[Binding] Le login est désormais l'uid, et plus le mail. On passe de plus l'uid en champ de recherche auto.
Ignore-this: 491175fcdf19043ff75366bbc36cf8ca darcs-hash:20130108192811-b6762-5fd2bf15f55c8b96c6b0e19c8ec7236246ccdd8d.gz
This commit is contained in:
parent
5a90ed25ed
commit
50d28f6873
1 changed files with 3 additions and 3 deletions
|
@ -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'], \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue