Default binddn is changed to empty string.

This allows to use anonymous bind, if binddn is not provided. Previous
default setting lead to use of unauthenticated bind, which is usually
disabled in LDAP server configurations.
This commit is contained in:
Vladimir Homutov 2016-06-28 13:55:13 +03:00
parent 081d42d5cc
commit 995d0f8eaa
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ class LDAPAuthHandler(AuthHandler):
'url': ('X-Ldap-URL', None),
'basedn': ('X-Ldap-BaseDN', None),
'template': ('X-Ldap-Template', '(cn=%(username)s)'),
'binddn': ('X-Ldap-BindDN', 'cn=anonymous'),
'binddn': ('X-Ldap-BindDN', ''),
'bindpasswd': ('X-Ldap-BindPass', ''),
'cookiename': ('X-CookieName', '')
}