Commit 803604bc authored by Administrator's avatar Administrator
Browse files

Handle username-case in LdapManager

parent 181b0362
......@@ -87,6 +87,7 @@ class LdapManager:
connection = ldap3.Connection(self.server)
obj_def = ldap3.ObjectDef("posixgroup", connection)
group_reader = ldap3.Reader(connection, obj_def, self.group_dn)
username = username.lower()
for group in
members = group.memberUid.value
if members is not None and username in members:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment