[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-1100-g34cd9b5

Jeremy Allison jra at samba.org
Sat Jan 5 07:08:14 GMT 2008


The branch, v3-2-test has been updated
       via  34cd9b5b51a4209b4d970eb90bf1db0eb24a60bb (commit)
      from  c3f3ec5cd5f9ffe8d08356dfd22b1cb6943829ad (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 34cd9b5b51a4209b4d970eb90bf1db0eb24a60bb
Author: Jeremy Allison <jra at samba.org>
Date:   Fri Jan 4 22:56:06 2008 -0800

    Can't use logical operations on boolean values.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source/smbd/sesssetup.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/smbd/sesssetup.c b/source/smbd/sesssetup.c
index 167682e..bc1d26f 100644
--- a/source/smbd/sesssetup.c
+++ b/source/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 */


-- 
Samba Shared Repository


More information about the samba-cvs mailing list