# HG changeset patch # User Marcin Kuzminski # Date 1349986260 -7200 # Node ID 8464d0e96e97ff7658bc1762fdb4e0677e76194d # Parent 29630805893dce7b1d40f79758a9a7eb84e1b831 log LDAP_BIND_DN for debugging diff -r 29630805893d -r 8464d0e96e97 rhodecode/lib/auth_ldap.py --- a/rhodecode/lib/auth_ldap.py Thu Oct 11 20:56:01 2012 +0200 +++ b/rhodecode/lib/auth_ldap.py Thu Oct 11 22:11:00 2012 +0200 @@ -117,6 +117,8 @@ 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,