ѕ3/winbind_pam: fix gcc 4.4 compile warning
authorBjörn Jacke <bj@sernet.de>
Mon, 23 Mar 2009 12:02:57 +0000 (13:02 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 15 Apr 2009 07:07:34 +0000 (09:07 +0200)
(cherry picked from commit f4aec7b5907065a2f48d1b19065c6673aff6a190)
(cherry picked from commit 11b3f0d8deb629489de4de29cedf518adc86d196)

source3/winbindd/winbindd_pam.c

index 15d1b7e2bf342c534fec63c420e20c8567eefae4..54bcac2b0485b7ddf908e75517d43d4f589a0e4e 100644 (file)
@@ -1854,7 +1854,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,