From 7047c2e5453f99703895431629129ac44e3de27c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 1 Apr 2011 08:40:38 +0200 Subject: [PATCH] s3: Fix Coverity ID 1136: CONSTANT_EXPRESSION_RESULT (cherry picked from commit ec4d201d5b9b86dfead5d999e4f186316797f77f) --- source3/utils/ntlm_auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c index a85f1230489..afd0a15a144 100644 --- a/source3/utils/ntlm_auth.c +++ b/source3/utils/ntlm_auth.c @@ -736,7 +736,7 @@ static NTSTATUS do_ccache_ntlm_auth(DATA_BLOB initial_msg, DATA_BLOB challenge_m */ ctrl = get_pam_winbind_config(); - if (ctrl | WINBIND_KRB5_AUTH) { + if (ctrl & WINBIND_KRB5_AUTH) { wb_request.flags |= WBFLAG_PAM_CONTACT_TRUSTDOM; } -- 2.34.1