- (djm) Quieten the pam delete credentials error message
This commit is contained in:
parent
5552d7addf
commit
7cfaaf234f
|
@ -4,6 +4,7 @@
|
||||||
- (djm) Clean up diff against OpenBSD.
|
- (djm) Clean up diff against OpenBSD.
|
||||||
- (djm) HPUX 11 needs USE_PIPES as well: Kevin Steves
|
- (djm) HPUX 11 needs USE_PIPES as well: Kevin Steves
|
||||||
<stevesk@sweden.hp.com>
|
<stevesk@sweden.hp.com>
|
||||||
|
- (djm) Quieten the pam delete credentials error message
|
||||||
|
|
||||||
20000829
|
20000829
|
||||||
- (djm) Fix ^C ignored issue on Solaris. Diagnosis from Gert
|
- (djm) Fix ^C ignored issue on Solaris. Diagnosis from Gert
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#include "xmalloc.h"
|
#include "xmalloc.h"
|
||||||
#include "servconf.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 \
|
#define NEW_AUTHTOK_MSG \
|
||||||
"Warning: You password has expired, please change it now"
|
"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);
|
pam_retval = pam_setcred((pam_handle_t *)pamh, PAM_DELETE_CRED);
|
||||||
if (pam_retval != PAM_SUCCESS) {
|
if (pam_retval != PAM_SUCCESS) {
|
||||||
log("Cannot delete credentials: %.200s",
|
debug("Cannot delete credentials: %.200s",
|
||||||
PAM_STRERROR((pam_handle_t *)pamh, pam_retval));
|
PAM_STRERROR((pam_handle_t *)pamh, pam_retval));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue