]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
winbind_pam: fix gcc 4.4 compile warning
authorVolker Lendecke <vl@samba.org>
Tue, 24 Mar 2009 22:34:13 +0000 (15:34 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 24 Mar 2009 22:34:13 +0000 (15:34 -0700)
source/winbindd/winbindd_pam.c

index f376d167039cf5d4547256722e58808838729408..fea1075245e15d88c2795efa6419a8f8893d3354 100644 (file)
@@ -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,