summaryrefslogtreecommitdiff
path: root/modules/pam_group
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2004-09-15 09:14:28 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2004-09-15 09:14:28 +0000
commitd7987be1aade2b11454a8b3b3d8e9c1c3df93d5f (patch)
treee2d0899b90a73ecccafe72f01c9aa09180767ef2 /modules/pam_group
parent0b3e58307f210514609115544899ebe42d57a5c9 (diff)
Relevant BUGIDs:
Purpose of commit: Commit summary: --------------- bugfix: First round of Linux distributor patch merges
Diffstat (limited to 'modules/pam_group')
-rw-r--r--modules/pam_group/pam_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_group/pam_group.c b/modules/pam_group/pam_group.c
index 4f6f34fb..77c909d0 100644
--- a/modules/pam_group/pam_group.c
+++ b/modules/pam_group/pam_group.c
@@ -771,7 +771,7 @@ PAM_EXTERN int pam_sm_setcred(pam_handle_t *pamh, int flags
/* only interested in establishing credentials */
setting = flags;
- if (!(setting & PAM_ESTABLISH_CRED)) {
+ if (!(setting & (PAM_ESTABLISH_CRED | PAM_REINITIALIZE_CRED))) {
D(("ignoring call - not for establishing credentials"));
return PAM_SUCCESS; /* don't fail because of this */
}