summaryrefslogtreecommitdiff
path: root/modules/pam_succeed_if
diff options
context:
space:
mode:
authorTomas Mraz <tm@t8m.info>2006-08-04 20:16:43 +0000
committerTomas Mraz <tm@t8m.info>2006-08-04 20:16:43 +0000
commitea9255e046169e5d5b19370c9ae6292be5aacde0 (patch)
treebf919cc27a56015222e367e78ec06142b89f507e /modules/pam_succeed_if
parent2442e4e56fdab4840c9f2139679b87828797353b (diff)
Relevant BUGIDs: rh bz 197748
Purpose of commit: bugfix Commit summary: --------------- 2006-08-04 Ray Strode <rstrode@redhat.com> * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_authenticate): Return PAM_USER_UNKNOWN instead of PAM_SERVICE_ERR where appropriate.
Diffstat (limited to 'modules/pam_succeed_if')
-rw-r--r--modules/pam_succeed_if/pam_succeed_if.c4
1 files changed, 2 insertions, 2 deletions
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;
}
}