From d9b03cb4f0906bc7844c4abffcb3c9d8b04dc5eb Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 1 Apr 2011 08:40:38 +0200 Subject: [PATCH 1/2] s3: Fix Coverity ID 1136: CONSTANT_EXPRESSION_RESULT --- source3/utils/ntlm_auth.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c index a6c5be8..73f41a7 100644 --- a/source3/utils/ntlm_auth.c +++ b/source3/utils/ntlm_auth.c @@ -772,7 +772,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; } -- 1.7.3.1