Changeset - 8464d0e96e97
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-10-11 22:11:00
marcin@python-works.com
log LDAP_BIND_DN for debugging
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/auth_ldap.py
Show inline comments
 
@@ -117,6 +117,8 @@ class AuthLdap(object):
 
                server.start_tls_s()
 

	
 
            if self.LDAP_BIND_DN and self.LDAP_BIND_PASS:
 
                log.debug('Trying simple_bind with password and given DN: %s'
 
                          % self.LDAP_BIND_DN)
 
                server.simple_bind_s(self.LDAP_BIND_DN, self.LDAP_BIND_PASS)
 

	
 
            filter_ = '(&%s(%s=%s))' % (self.LDAP_FILTER, self.attr_login,
0 comments (0 inline, 0 general)