From ea9255e046169e5d5b19370c9ae6292be5aacde0 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Fri, 4 Aug 2006 20:16:43 +0000 Subject: [PATCH] Relevant BUGIDs: rh bz 197748 Purpose of commit: bugfix Commit summary: --------------- 2006-08-04 Ray Strode * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_authenticate): Return PAM_USER_UNKNOWN instead of PAM_SERVICE_ERR where appropriate. --- ChangeLog | 5 +++++ modules/pam_succeed_if/pam_succeed_if.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f4901d21..2eecbad0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-08-04 Ray Strode + + * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_authenticate): + Return PAM_USER_UNKNOWN instead of PAM_SERVICE_ERR where appropriate. + 2006-08-03 David Howells * modules/pam_keyinit/pam_keyinit.c: Debug should be off by default. diff --git a/modules/pam_succeed_if/pam_succeed_if.c b/modules/pam_succeed_if/pam_succeed_if.c index 372c8070..9115a961 100644 --- a/modules/pam_succeed_if/pam_succeed_if.c +++ b/modules/pam_succeed_if/pam_succeed_if.c @@ -411,7 +411,7 @@ pam_sm_authenticate (pam_handle_t *pamh, int flags UNUSED, pam_syslog(pamh, LOG_CRIT, "error retrieving information about user %lu", (unsigned long)getuid()); - return PAM_SERVICE_ERR; + return PAM_USER_UNKNOWN; } user = pwd->pw_name; } else { @@ -430,7 +430,7 @@ pam_sm_authenticate (pam_handle_t *pamh, int flags UNUSED, pam_syslog(pamh, LOG_CRIT, "error retrieving information about user %s", user); - return PAM_SERVICE_ERR; + return PAM_USER_UNKNOWN; } } -- 2.40.0