]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Print out real password, not username
authorAlan T. DeKok <aland@freeradius.org>
Tue, 29 Nov 2011 19:40:39 +0000 (20:40 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 29 Nov 2011 19:40:39 +0000 (20:40 +0100)
src/modules/rlm_unix/rlm_unix.c

index 84d7cc1152b73cdb5ae463e316a01140770a10d0..3ba5acdd5d7d4b9a8ebe3c3630c32b8521199562 100644 (file)
@@ -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 */