Fixed bug: modified comment SAMBA group

develop
Самоукин Алексей 15 years ago
parent 946aff7127
commit 4f892ddf11

@ -6449,6 +6449,7 @@ Samba and Unix services") %", ".join(exclGroup)
if options.has_key('c'):
gecos = options['c']
modAttrs.append((ldap.MOD_REPLACE, 'description', gecos))
modAttrs.append((ldap.MOD_REPLACE, 'displayName', gecos))
if modAttrs:
groupDN = self.addDN("cn=" + modGroupName, self.relGroupsDN)
res = self.modAttrsDN(groupDN, modAttrs)

Loading…
Cancel
Save