mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-25 18:54:29 +01:00
fixes
This commit is contained in:
parent
3fd6dcee82
commit
eb36830845
@ -139,6 +139,7 @@ class Backend(ldapcherry.backend.backendLdap.Backend):
|
|||||||
}
|
}
|
||||||
|
|
||||||
self.attrlist = []
|
self.attrlist = []
|
||||||
|
self.group_attrs_keys = []
|
||||||
for a in attrslist:
|
for a in attrslist:
|
||||||
self.attrlist.append(self._str(a))
|
self.attrlist.append(self._str(a))
|
||||||
|
|
||||||
|
@ -180,7 +180,6 @@ class Backend(ldapcherry.backend.Backend):
|
|||||||
or if it's multivaluated.
|
or if it's multivaluated.
|
||||||
"""
|
"""
|
||||||
for key in self.group_attrs_keys:
|
for key in self.group_attrs_keys:
|
||||||
pass
|
|
||||||
if key not in attrs:
|
if key not in attrs:
|
||||||
raise MissingGroupAttr(key)
|
raise MissingGroupAttr(key)
|
||||||
if type(attrs[key]) is list and len(attrs[key]) == 1:
|
if type(attrs[key]) is list and len(attrs[key]) == 1:
|
||||||
|
Loading…
Reference in New Issue
Block a user