This commit is contained in:
cazagen 2019-11-11 22:48:32 +00:00
parent 7f6bfd90cd
commit da786faa37

View File

@ -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)