From 7cfaaf234f5fad764962462508293a81dc577782 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Wed, 30 Aug 2000 09:57:49 +1100 Subject: [PATCH] - (djm) Quieten the pam delete credentials error message --- ChangeLog | 1 + auth-pam.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 669966c41..6042b2d55 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,7 @@ - (djm) Clean up diff against OpenBSD. - (djm) HPUX 11 needs USE_PIPES as well: Kevin Steves + - (djm) Quieten the pam delete credentials error message 20000829 - (djm) Fix ^C ignored issue on Solaris. Diagnosis from Gert diff --git a/auth-pam.c b/auth-pam.c index 852dbdc21..e2bac9e88 100644 --- a/auth-pam.c +++ b/auth-pam.c @@ -34,7 +34,7 @@ #include "xmalloc.h" #include "servconf.h" -RCSID("$Id: auth-pam.c,v 1.11 2000/07/09 12:42:33 djm Exp $"); +RCSID("$Id: auth-pam.c,v 1.12 2000/08/29 22:57:50 djm Exp $"); #define NEW_AUTHTOK_MSG \ "Warning: You password has expired, please change it now" @@ -111,7 +111,7 @@ void pam_cleanup_proc(void *context) pam_retval = pam_setcred((pam_handle_t *)pamh, PAM_DELETE_CRED); if (pam_retval != PAM_SUCCESS) { - log("Cannot delete credentials: %.200s", + debug("Cannot delete credentials: %.200s", PAM_STRERROR((pam_handle_t *)pamh, pam_retval)); }