0001-ldap-warn-about-missing-users-on-password-reset-fixe.patch
src/authentic2/backends/ldap_backend.py | ||
---|---|---|
1196 | 1196 |
results = conn.search_s(block['basedn'], |
1197 | 1197 |
ldap.SCOPE_SUBTREE, ldap_filter) |
1198 | 1198 |
if not results: |
1199 |
log.error(
|
|
1199 |
log.warning(
|
|
1200 | 1200 |
u'unable to find user %r based on external id %s', |
1201 | 1201 |
user, external_id) |
1202 | 1202 |
continue |
1203 | 1203 |
dn = results[0][0] |
1204 | 1204 |
except ldap.LDAPError: |
1205 |
log.error(
|
|
1205 |
log.warning(
|
|
1206 | 1206 |
u'unable to find user %r based on external id %s', |
1207 | 1207 |
user, |
1208 | 1208 |
external_id) |
1209 |
- |