brackets
This commit is contained in:
parent
7f6bfd90cd
commit
da786faa37
|
@ -97,7 +97,7 @@ class LDAPUserManager(FilebasedUserManager,
|
||||||
else:
|
else:
|
||||||
group_filter = "(cn=%s)" % groups
|
group_filter = "(cn=%s)" % groups
|
||||||
|
|
||||||
group_filter = "cn=octoprint,ou=Groups,ou=People,dc=edinburghhacklab,dc=com"
|
group_filter = "(cn=octoprint,ou=Groups,ou=People,dc=edinburghhacklab,dc=com)"
|
||||||
|
|
||||||
query = "(&(objectClass=posixGroup)%s(memberUid=%s))" % (group_filter, userid)
|
query = "(&(objectClass=posixGroup)%s(memberUid=%s))" % (group_filter, userid)
|
||||||
self._logger.error("LDAP-AUTH QUERY:" + query)
|
self._logger.error("LDAP-AUTH QUERY:" + query)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user