summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-04-01 08:40:38 +0200
committerVolker Lendecke <vl@samba.org>2011-04-01 08:50:06 +0200
commitd9b03cb4f0906bc7844c4abffcb3c9d8b04dc5eb (patch)
tree4c472e2b56a3c9a44ab14e5c8dddc6e363c9d951 /source3/utils
parent644222a1e36d18f8a57f815e74a08a78c26abb89 (diff)
downloadsamba-d9b03cb4f0906bc7844c4abffcb3c9d8b04dc5eb.tar.gz
samba-d9b03cb4f0906bc7844c4abffcb3c9d8b04dc5eb.tar.bz2
samba-d9b03cb4f0906bc7844c4abffcb3c9d8b04dc5eb.zip
s3: Fix Coverity ID 1136: CONSTANT_EXPRESSION_RESULT
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/ntlm_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index a6c5be8469..73f41a7fe6 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;
}