diff --git a/attributs.py b/attributs.py index 5a6d8b8..c6aa2b9 100644 --- a/attributs.py +++ b/attributs.py @@ -633,7 +633,7 @@ class mailExt(mail): singlevalue = False optional = True unique = True - legend = u"Mail externe" + legend = u"Mail de secours (optionnel)" can_modify = [soi, cableur, nounou] category = 'mail' ldap_name = "mailExt" @@ -1625,7 +1625,7 @@ class certificat(Attr): for hostname in [data['subject']['CN']] + data['extensions'].get('subjectAltName',[]): if hostname not in self.parent['hostCert']: - self.parent['hostCert'].append(hostname) + self.parent['hostCert'].append(unicode(hostname)) self.value = certificat