diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2014-05-04 23:17:42 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2014-05-04 23:28:34 +0200 |
commit | 94eacb5463f8699efff1b2fa76e286cd755d2318 (patch) | |
tree | 66449c32a3a034992a550e132ddf32c2cde96868 /nslcd | |
parent | ca36a50143eb38c9040c2567172b9bfb9dba1838 (diff) |
Improve error logging of user login failures
Diffstat (limited to 'nslcd')
-rw-r--r-- | nslcd/pam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nslcd/pam.c b/nslcd/pam.c index df44ce9..2240504 100644 --- a/nslcd/pam.c +++ b/nslcd/pam.c @@ -69,7 +69,7 @@ static int try_bind(const char *userdn, const char *password, { if (rc == LDAP_SUCCESS) rc = LDAP_LOCAL_ERROR; - log_log(LOG_WARNING, "%s: lookup failed: %s", userdn, ldap_err2string(rc)); + log_log(LOG_WARNING, "%s: %s", userdn, ldap_err2string(rc)); } else { @@ -78,7 +78,7 @@ static int try_bind(const char *userdn, const char *password, { if (rc == LDAP_SUCCESS) rc = LDAP_NO_RESULTS_RETURNED; - log_log(LOG_WARNING, "%s: lookup failed: %s", userdn, ldap_err2string(rc)); + log_log(LOG_WARNING, "%s: %s", userdn, ldap_err2string(rc)); } } /* get any policy response from the bind */ |