Изменил(а) на 'pym/cl_ldap.py'

master 2.3.10
akrasnyh 1 year ago
parent d505ea1279
commit a5b5749ba1

@ -3408,6 +3408,10 @@ service"))
flagError = False
for group in userInGroups:
groupName = group[0][1]['cn'][0]
try:
groupName.encode('utf-8')
except AttributeError:
groupName = groupName.decode('utf-8')
groupDN = self.addDN("cn=" + groupName, self.relGroupsDN)
if not self.modAttrsDN(groupDN, modAttrs):
flagError = True

Loading…
Cancel
Save