[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
|
# Dictionnaire de transformation des champs
|
||||||
trans = { 'prénom': 'prenom',
|
trans = { 'prénom': 'prenom',
|
||||||
'chambre': 'chbre',
|
'chambre': 'chbre',
|
||||||
'login': 'mail',
|
'login': 'uid',
|
||||||
'hostname': 'host',
|
'hostname': 'host',
|
||||||
'mac': 'macAddress',
|
'mac': 'macAddress',
|
||||||
'ip': 'ipHostNumber',
|
'ip': 'ipHostNumber',
|
||||||
|
@ -326,7 +326,7 @@ class CransLdap:
|
||||||
|
|
||||||
auto_search_champs = { \
|
auto_search_champs = { \
|
||||||
'adherent': \
|
'adherent': \
|
||||||
['nom', 'prenom', 'tel', 'mail', 'chbre', 'mailAlias', 'canonicalAlias', 'mailExt'],
|
['nom', 'prenom', 'tel', 'mail', 'chbre', 'mailAlias', 'canonicalAlias', 'mailExt', 'uid'],
|
||||||
'club': ['nom', 'chbre', 'uid'],
|
'club': ['nom', 'chbre', 'uid'],
|
||||||
'machineFixe': auto_search_machines_champs,
|
'machineFixe': auto_search_machines_champs,
|
||||||
'machineWifi': auto_search_machines_champs,
|
'machineWifi': auto_search_machines_champs,
|
||||||
|
@ -342,7 +342,7 @@ class CransLdap:
|
||||||
non_auto_search_champs = { \
|
non_auto_search_champs = { \
|
||||||
'adherent': \
|
'adherent': \
|
||||||
['etudes', 'paiement', 'carteEtudiant', 'aid', 'postalAddress',
|
['etudes', 'paiement', 'carteEtudiant', 'aid', 'postalAddress',
|
||||||
'historique', 'blacklist', 'droits', 'uidNumber', 'uid', 'info',
|
'historique', 'blacklist', 'droits', 'uidNumber', 'info',
|
||||||
'solde', 'controle', 'contourneGreylist', 'rewriteMailHeaders',
|
'solde', 'controle', 'contourneGreylist', 'rewriteMailHeaders',
|
||||||
'ablacklist', 'homepageAlias', 'charteMA',
|
'ablacklist', 'homepageAlias', 'charteMA',
|
||||||
'adherentPayant'], \
|
'adherentPayant'], \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue