[lc_ldap,attributs] On ajoute sshFingerprint et gpgFingerprint, on rend possible l'ajout d'attribut obtionnel optionnel quand le cardinal précédent de l'attribut est 0

This commit is contained in:
Valentin Samir 2013-01-15 18:51:46 +01:00
parent a629e4c82f
commit 1403cfdb7b
3 changed files with 22 additions and 3 deletions

View file

@ -232,6 +232,8 @@ def human_to_ldap(filtre):
# Comme parenthèse fermante.
if neg:
argument = "!(%s)" % argument
# Surtout ça
if operateur == "&|":
argument += ')'
ext_stack += "(%s)" % argument