Skip to content

Commit

Permalink
auth: passdb-ldap - Fix AUTH_LOG_MSG_PASSWORD_MISMATCH use in logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mrannanj committed Dec 6, 2017
1 parent ab5c28d commit 8006436
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/auth/passdb-ldap.c
Expand Up @@ -155,8 +155,8 @@ ldap_auth_bind_callback(struct ldap_connection *conn,
passdb_result = PASSDB_RESULT_OK;
else if (ret == LDAP_INVALID_CREDENTIALS) {
auth_request_log_login_failure(auth_request,
AUTH_SUBSYS_DB,
"AUTH_LOG_MSG_PASSWORD_MISMATCH (for LDAP bind)");
AUTH_SUBSYS_DB,
AUTH_LOG_MSG_PASSWORD_MISMATCH" (for LDAP bind)");
passdb_result = PASSDB_RESULT_PASSWORD_MISMATCH;
} else if (ret == LDAP_NO_SUCH_OBJECT) {
passdb_result = PASSDB_RESULT_USER_UNKNOWN;
Expand Down

0 comments on commit 8006436

Please sign in to comment.