summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-08-30 09:57:49 +1100
committerDamien Miller <djm@mindrot.org>2000-08-30 09:57:49 +1100
commit7cfaaf234f5fad764962462508293a81dc577782 (patch)
treed8379e3de58b1457f1aae83f48e2179401d9e10b
parent5552d7addf529138b4772974afb2ce2a37de33bc (diff)
- (djm) Quieten the pam delete credentials error message
-rw-r--r--ChangeLog1
-rw-r--r--auth-pam.c4
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 @@
4 - (djm) Clean up diff against OpenBSD. 4 - (djm) Clean up diff against OpenBSD.
5 - (djm) HPUX 11 needs USE_PIPES as well: Kevin Steves 5 - (djm) HPUX 11 needs USE_PIPES as well: Kevin Steves
6 <stevesk@sweden.hp.com> 6 <stevesk@sweden.hp.com>
7 - (djm) Quieten the pam delete credentials error message
7 8
820000829 920000829
9 - (djm) Fix ^C ignored issue on Solaris. Diagnosis from Gert 10 - (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 @@
34#include "xmalloc.h" 34#include "xmalloc.h"
35#include "servconf.h" 35#include "servconf.h"
36 36
37RCSID("$Id: auth-pam.c,v 1.11 2000/07/09 12:42:33 djm Exp $"); 37RCSID("$Id: auth-pam.c,v 1.12 2000/08/29 22:57:50 djm Exp $");
38 38
39#define NEW_AUTHTOK_MSG \ 39#define NEW_AUTHTOK_MSG \
40 "Warning: You password has expired, please change it now" 40 "Warning: You password has expired, please change it now"
@@ -111,7 +111,7 @@ void pam_cleanup_proc(void *context)
111 111
112 pam_retval = pam_setcred((pam_handle_t *)pamh, PAM_DELETE_CRED); 112 pam_retval = pam_setcred((pam_handle_t *)pamh, PAM_DELETE_CRED);
113 if (pam_retval != PAM_SUCCESS) { 113 if (pam_retval != PAM_SUCCESS) {
114 log("Cannot delete credentials: %.200s", 114 debug("Cannot delete credentials: %.200s",
115 PAM_STRERROR((pam_handle_t *)pamh, pam_retval)); 115 PAM_STRERROR((pam_handle_t *)pamh, pam_retval));
116 } 116 }
117 117