Skip to content

Commit

Permalink
s3: go straight to winbindd_dual_pam_auth() in case of !NT_STATUS_OK
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lmuelle committed Feb 17, 2010
1 parent bc0b152 commit 94074eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source3/winbindd/winbindd_pam.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 94074eb

Please sign in to comment.