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:
parent
f82a517530
commit
46d23c72bf
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user