summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-03-24 15:34:13 -0700
committerKarolin Seeger <kseeger@samba.org>2009-03-27 13:06:56 +0100
commit9717135c53a64462bb57e3e31cdceec4b58f82b7 (patch)
tree7b72324b7bbf8e41737613aebc268581873e7b33
parentb559de0f9489ff014f2cdef26e09f0915713efba (diff)
downloadsamba-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.c2
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,