mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
r21016: Fix pam_sm_setcred again.
Jerry, the switch statement must ignore the PAM_SILENT flag. Guenther (This used to be commit 46d23c72bf4f3bd04021a9caf8d6b1380352b811)
This commit is contained in:
parent
05ec639127
commit
3f9585018d
@ -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