diff options
author | Volker Lendecke <vl@samba.org> | 2009-03-24 15:34:13 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-03-27 13:06:56 +0100 |
commit | 9717135c53a64462bb57e3e31cdceec4b58f82b7 (patch) | |
tree | 7b72324b7bbf8e41737613aebc268581873e7b33 | |
parent | b559de0f9489ff014f2cdef26e09f0915713efba (diff) | |
download | samba-9717135c53a64462bb57e3e31cdceec4b58f82b7.tar.gz samba-9717135c53a64462bb57e3e31cdceec4b58f82b7.tar.xz samba-9717135c53a64462bb57e3e31cdceec4b58f82b7.zip |
winbind_pam: fix gcc 4.4 compile warning
(cherry picked from commit 4a99f2f006e6324cf38b68f0f390daf52f24b1b3)
-rw-r--r-- | source/winbindd/winbindd_pam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/winbindd/winbindd_pam.c b/source/winbindd/winbindd_pam.c index f376d167039..fea1075245e 100644 --- a/source/winbindd/winbindd_pam.c +++ b/source/winbindd/winbindd_pam.c @@ -1832,7 +1832,7 @@ enum winbindd_result winbindd_dual_pam_auth_crap(struct winbindd_domain *domain, if (state->request.data.auth_crap.lm_resp_len > sizeof(state->request.data.auth_crap.lm_resp) || state->request.data.auth_crap.nt_resp_len > sizeof(state->request.data.auth_crap.nt_resp)) { - if (!state->request.flags & WBFLAG_BIG_NTLMV2_BLOB || + if (!(state->request.flags & WBFLAG_BIG_NTLMV2_BLOB) || state->request.extra_len != state->request.data.auth_crap.nt_resp_len) { DEBUG(0, ("winbindd_pam_auth_crap: invalid password length %u/%u\n", state->request.data.auth_crap.lm_resp_len, |