|
|
@ -3408,6 +3408,10 @@ service"))
|
|
|
|
flagError = False
|
|
|
|
flagError = False
|
|
|
|
for group in userInGroups:
|
|
|
|
for group in userInGroups:
|
|
|
|
groupName = group[0][1]['cn'][0]
|
|
|
|
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)
|
|
|
|
groupDN = self.addDN("cn=" + groupName, self.relGroupsDN)
|
|
|
|
if not self.modAttrsDN(groupDN, modAttrs):
|
|
|
|
if not self.modAttrsDN(groupDN, modAttrs):
|
|
|
|
flagError = True
|
|
|
|
flagError = True
|
|
|
|