From: Alan T. DeKok Date: Tue, 29 Nov 2011 19:40:39 +0000 (+0100) Subject: Print out real password, not username X-Git-Tag: release_3_0_0_beta0~455 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc9b69891e8ba877e379cffd1f01d51009828b47;p=thirdparty%2Ffreeradius-server.git Print out real password, not username --- diff --git a/src/modules/rlm_unix/rlm_unix.c b/src/modules/rlm_unix/rlm_unix.c index bf4ddb4c4cb..bd3784f4a1c 100644 --- a/src/modules/rlm_unix/rlm_unix.c +++ b/src/modules/rlm_unix/rlm_unix.c @@ -363,7 +363,7 @@ static int unix_authenticate(void *instance, REQUEST *request) if (fr_crypt_check((char *) request->password->vp_strvalue, (char *) vp->vp_strvalue) != 0) { radlog_request(L_AUTH, 0, request, "invalid password \"%s\"", - request->username->vp_strvalue); + request->password->vp_strvalue); return RLM_MODULE_REJECT; } #endif /* OSFFIA */