mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3: go straight to winbindd_dual_pam_auth() in case of !NT_STATUS_OK
At the formerly used process_result statement we have alone one NT_STATUS_IS_OK() which never could be hit in our case as we only go here if NT_STATUS_EQUAL is not ok.
This commit is contained in:
parent
bc0b152889
commit
94074eb2e6
@ -1549,7 +1549,7 @@ enum winbindd_result winbindd_dual_pam_auth(struct winbindd_domain *domain,
|
||||
NT_STATUS_EQUAL(result, NT_STATUS_PASSWORD_EXPIRED) ||
|
||||
NT_STATUS_EQUAL(result, NT_STATUS_PASSWORD_MUST_CHANGE) ||
|
||||
NT_STATUS_EQUAL(result, NT_STATUS_WRONG_PASSWORD)) {
|
||||
goto process_result;
|
||||
goto done;
|
||||
}
|
||||
|
||||
if (state->request->flags & WBFLAG_PAM_FALLBACK_AFTER_KRB5) {
|
||||
|
Loading…
Reference in New Issue
Block a user