Show More
@@ -116,10 +116,10 b' class AuthLdap(object):' | |||||
116 | log.debug("LDAP rejected password for user '%s' (%s): %s", |
|
116 | log.debug("LDAP rejected password for user '%s' (%s): %s", | |
117 | uid, username, dn) |
|
117 | uid, username, dn) | |
118 |
|
118 | |||
119 |
|
|
119 | else: | |
120 |
|
|
120 | log.debug("No matching LDAP objects for authentication " | |
121 |
|
|
121 | "of '%s' (%s)", uid, username) | |
122 |
|
|
122 | raise LdapPasswordError() | |
123 |
|
123 | |||
124 | except ldap.NO_SUCH_OBJECT, e: |
|
124 | except ldap.NO_SUCH_OBJECT, e: | |
125 | log.debug("LDAP says no such user '%s' (%s)", uid, username) |
|
125 | log.debug("LDAP says no such user '%s' (%s)", uid, username) |
General Comments 0
You need to be logged in to leave comments.
Login now