summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorLars Müller <lars@samba.org>2010-02-17 19:00:01 +0100
committerLars Müller <lars@samba.org>2010-02-17 19:00:01 +0100
commit94074eb2e6d260e467ad3b6d354beeb282fe1ada (patch)
tree1c2a86d4820f67aceae8197f980b54cad5765fff /source3/winbindd
parentbc0b1528896feb42765a46c5d235c766677e9c5f (diff)
downloadsamba-94074eb2e6d260e467ad3b6d354beeb282fe1ada.tar.gz
samba-94074eb2e6d260e467ad3b6d354beeb282fe1ada.tar.bz2
samba-94074eb2e6d260e467ad3b6d354beeb282fe1ada.zip
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.
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_pam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index 4658231a5c..86c7bbfd8d 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -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) {