diff options
-rw-r--r-- | source3/nsswitch/pam_winbind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c index 51a253d67a..09f9eee7df 100644 --- a/source3/nsswitch/pam_winbind.c +++ b/source3/nsswitch/pam_winbind.c @@ -1406,7 +1406,7 @@ int pam_sm_setcred(pam_handle_t *pamh, int flags, _PAM_LOG_FUNCTION_ENTER("pam_sm_setcred", pamh, ctrl, flags); - switch (flags) { + switch (flags & ~PAM_SILENT) { case PAM_DELETE_CRED: ret = pam_sm_close_session(pamh, flags, argc, argv); |