Skip to content
Permalink
Browse files

login attempts are messages, not errors

  • Loading branch information
alandekok committed Aug 25, 2019
1 parent 8931eb1 commit c4281117b550360b0f44994df718c7f88cfeed90
@@ -347,9 +347,9 @@ static rlm_rcode_t CC_HINT(nonnull) mod_authenticate(void *instance, UNUSED void
* Log the password
*/
if (RDEBUG_ENABLED3) {
REDEBUG("Login attempt with password \"%pV\"", &password->data);
RDEBUG("Login attempt with password \"%pV\"", &password->data);
} else {
REDEBUG2("Login attempt with password");
RDEBUG2("Login attempt with password");
}

# ifdef KRB5_IS_THREAD_SAFE
@@ -442,9 +442,9 @@ static rlm_rcode_t CC_HINT(nonnull) mod_authenticate(void *instance, UNUSED void
* Log the password
*/
if (RDEBUG_ENABLED3) {
REDEBUG("Login attempt with password \"%pV\"", &password->data);
RDEBUG("Login attempt with password \"%pV\"", &password->data);
} else {
REDEBUG2("Login attempt with password");
RDEBUG2("Login attempt with password");
}

# ifdef KRB5_IS_THREAD_SAFE
@@ -744,9 +744,9 @@ static rlm_rcode_t CC_HINT(nonnull) mod_authenticate(void *instance, UNUSED void
* Log the password
*/
if (RDEBUG_ENABLED3) {
REDEBUG("Login attempt with password \"%pV\"", &password->data);
RDEBUG("Login attempt with password \"%pV\"", &password->data);
} else {
REDEBUG2("Login attempt with password");
RDEBUG2("Login attempt with password");
}

conn = mod_conn_get(inst, request);
@@ -341,9 +341,9 @@ static rlm_rcode_t CC_HINT(nonnull) mod_authenticate(UNUSED void *instance, UNUS
* Log the password
*/
if (RDEBUG_ENABLED3) {
REDEBUG("Login attempt with password \"%pV\"", &password->data);
RDEBUG("Login attempt with password \"%pV\"", &password->data);
} else {
REDEBUG2("Login attempt with password");
RDEBUG2("Login attempt with password");
}

odResult = od_check_passwd(request, username->vp_strvalue,
@@ -248,9 +248,9 @@ static rlm_rcode_t CC_HINT(nonnull) mod_authenticate(void *instance, UNUSED void
* Log the password
*/
if (RDEBUG_ENABLED3) {
REDEBUG("Login attempt with password \"%pV\"", &password->data);
RDEBUG("Login attempt with password \"%pV\"", &password->data);
} else {
REDEBUG2("Login attempt with password");
RDEBUG2("Login attempt with password");
}

/*
@@ -673,9 +673,9 @@ static rlm_rcode_t CC_HINT(nonnull) mod_authenticate(void *instance, void *threa
* Log the password
*/
if (RDEBUG_ENABLED3) {
REDEBUG("Login attempt with password \"%pV\"", &password->data);
RDEBUG("Login attempt with password \"%pV\"", &password->data);
} else {
REDEBUG2("Login attempt with password");
RDEBUG2("Login attempt with password");
}

handle = fr_pool_connection_get(t->pool, request);
@@ -520,9 +520,9 @@ static rlm_rcode_t CC_HINT(nonnull) mod_authenticate(void *instance, UNUSED void
* Log the password
*/
if (RDEBUG_ENABLED3) {
REDEBUG("Login attempt with password \"%pV\"", &password->data);
RDEBUG("Login attempt with password \"%pV\"", &password->data);
} else {
REDEBUG2("Login attempt with password");
RDEBUG2("Login attempt with password");
}

/*

0 comments on commit c428111

Please sign in to comment.
You can’t perform that action at this time.