Changeset - 597bc7077f18
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 15 years ago 2011-03-28 21:28:16
marcin@python-works.com
applied patch from issue #138
1 file changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/auth_ldap.py
Show inline comments
 
@@ -116,10 +116,10 @@ class AuthLdap(object):
 
                    log.debug("LDAP rejected password for user '%s' (%s): %s",
 
                              uid, username, dn)
 

	
 
                else:
 
                    log.debug("No matching LDAP objects for authentication "
 
                              "of '%s' (%s)", uid, username)
 
                    raise LdapPasswordError()
 
            else:
 
                log.debug("No matching LDAP objects for authentication "
 
                          "of '%s' (%s)", uid, username)
 
                raise LdapPasswordError()
 

	
 
        except ldap.NO_SUCH_OBJECT, e:
 
            log.debug("LDAP says no such user '%s' (%s)", uid, username)
0 comments (0 inline, 0 general)