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:
		
							parent
							
								
									081d42d5cc
								
							
						
					
					
						commit
						995d0f8eaa
					
				|  | @ -144,7 +144,7 @@ class LDAPAuthHandler(AuthHandler): | ||||||
|              'url': ('X-Ldap-URL', None), |              'url': ('X-Ldap-URL', None), | ||||||
|              'basedn': ('X-Ldap-BaseDN', None), |              'basedn': ('X-Ldap-BaseDN', None), | ||||||
|              'template': ('X-Ldap-Template', '(cn=%(username)s)'), |              'template': ('X-Ldap-Template', '(cn=%(username)s)'), | ||||||
|              'binddn': ('X-Ldap-BindDN', 'cn=anonymous'), |              'binddn': ('X-Ldap-BindDN', ''), | ||||||
|              'bindpasswd': ('X-Ldap-BindPass', ''), |              'bindpasswd': ('X-Ldap-BindPass', ''), | ||||||
|              'cookiename': ('X-CookieName', '') |              'cookiename': ('X-CookieName', '') | ||||||
|         } |         } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue