aboutsummaryrefslogtreecommitdiff
path: root/plugin/auth-pam
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/auth-pam')
-rw-r--r--plugin/auth-pam/auth-pam.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/plugin/auth-pam/auth-pam.c b/plugin/auth-pam/auth-pam.c
index a2b2934..10315b3 100644
--- a/plugin/auth-pam/auth-pam.c
+++ b/plugin/auth-pam/auth-pam.c
@@ -715,8 +715,14 @@ pam_server (int fd, const char *service, int verb, const struct name_value_list
}
if (DEBUG (verb))
- fprintf (stderr, "AUTH-PAM: BACKGROUND: USER/PASS: %s/%s\n",
- up.username, up.password);
+ {
+#if 0
+ fprintf (stderr, "AUTH-PAM: BACKGROUND: USER/PASS: %s/%s\n",
+ up.username, up.password);
+#else
+ fprintf (stderr, "AUTH-PAM: BACKGROUND: USER: %s\n", up.username);
+#endif
+ }
if (pam_auth (service, &up)) /* Succeeded */
{