From 4a99f2f006e6324cf38b68f0f390daf52f24b1b3 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 24 Mar 2009 15:34:13 -0700 Subject: [PATCH] winbind_pam: fix gcc 4.4 compile warning --- source/winbindd/winbindd_pam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.47.2