[ldap_crans] On ne lock plus les sshfpr

Ignore-this: 34864835df214eb938f3e6b388ab26bb

darcs-hash:20130115033940-b6762-8b49dfb80e313b9868eca4167fe0a02a2c664aae.gz
This commit is contained in:
Pierre-Elliott Bécue 2013-01-15 04:39:40 +01:00
parent b1ed3dd6fb
commit dab37e634e

View file

@ -482,7 +482,7 @@ class CransLdap:
aid $ chbre $ mail $ mailAlias $ canonicalAlias $ aid $ chbre $ mail $ mailAlias $ canonicalAlias $
mid $ macAddress $ host $ hostAlias $ ipHostNumber $ mid $ macAddress $ host $ hostAlias $ ipHostNumber $
gpgFingerprint $ sshFingerprint gpgFingerprint
Retourne le dn du lock Retourne le dn du lock
""" """
@ -614,7 +614,7 @@ class CransLdap:
except TypeError: except TypeError:
pass pass
start = map(lambda x:preattr(x)[1], start) start = map(lambda x:preattr(x)[1], start)
if new in serv.keys(): if new in serv.keys():
modlist = [] modlist = []
@ -3034,7 +3034,6 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3)
else: else:
liste = liste + [ new ] liste = liste + [ new ]
self.lock('sshFingerprint', new)
self._set('sshFingerprint', liste) self._set('sshFingerprint', liste)
return liste return liste