mirror of
https://github.com/samba-team/samba.git
synced 2025-02-18 17:57:55 +03:00
r14508: Return PAM_SUCCESS in pam_sm_close_session when there is no KRB5CCNAME
environment. Guenther (This used to be commit 1f1402e45db8d80a7c19208fae934e1b0f3da134)
This commit is contained in:
parent
9e7e429c98
commit
ed8bfb44d3
@ -1086,7 +1086,7 @@ int pam_sm_close_session(pam_handle_t *pamh, int flags,
|
||||
ccname = pam_getenv(pamh, "KRB5CCNAME");
|
||||
if (ccname == NULL) {
|
||||
_pam_log_debug(ctrl, LOG_DEBUG, "user has no KRB5CCNAME environment");
|
||||
return PAM_BUF_ERR;
|
||||
return PAM_SUCCESS;
|
||||
}
|
||||
|
||||
fstrcpy(request.data.logoff.user, user);
|
||||
|
Loading…
x
Reference in New Issue
Block a user