1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

r21016: Fix pam_sm_setcred again.

Jerry, the switch statement must ignore the PAM_SILENT flag.

Guenther
This commit is contained in:
Günther Deschner 2007-01-25 10:29:04 +00:00 committed by Gerald (Jerry) Carter
parent f82a517530
commit 46d23c72bf

View File

@ -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);