summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-03-23 13:02:57 +0100
committerVolker Lendecke <vl@samba.org>2009-03-23 13:10:54 +0100
commitf4aec7b5907065a2f48d1b19065c6673aff6a190 (patch)
tree7e7a3306863f99f0f0ca961742827fb22b5804f7
parent97a086d5c4e84616065cbbc68d47d82de0fe0db5 (diff)
downloadsamba-f4aec7b5907065a2f48d1b19065c6673aff6a190.tar.gz
samba-f4aec7b5907065a2f48d1b19065c6673aff6a190.tar.bz2
samba-f4aec7b5907065a2f48d1b19065c6673aff6a190.zip
ѕ3/winbind_pam: fix gcc 4.4 compile warning
-rw-r--r--source3/winbindd/winbindd_pam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index 15d1b7e2bf..54bcac2b04 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -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,