From d5bd2e7000592b8256b837415c40e20f319fb07b Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 4 Jan 2008 22:56:06 -0800 Subject: Can't use logical operations on boolean values. Jeremy. (This used to be commit 34cd9b5b51a4209b4d970eb90bf1db0eb24a60bb) --- source3/smbd/sesssetup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/smbd') diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 167682ede2..bc1d26faca 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -537,7 +537,9 @@ static void reply_spnego_kerberos(struct smb_request *req, } } - server_info->was_mapped |= username_was_mapped; + if (username_was_mapped) { + server_info->was_mapped = username_was_mapped; + } /* we need to build the token for the user. make_server_info_guest() already does this */ -- cgit