Fix syntax
This commit is contained in:
@@ -106,7 +106,7 @@ class Auth(auth.BaseAuth):
|
|||||||
"""Search the user dn"""
|
"""Search the user dn"""
|
||||||
conn.search(
|
conn.search(
|
||||||
search_base = self._ldap_base,
|
search_base = self._ldap_base,
|
||||||
search_filter = self._ldap_filter.format(login)
|
search_filter = self._ldap_filter.format(login),
|
||||||
search_scope = 'SUBTREE',
|
search_scope = 'SUBTREE',
|
||||||
attributes = ['memberOf']
|
attributes = ['memberOf']
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user