s3:smb2_server: fix a logic error, we should sign non guest sessions
authorStefan Metzmacher <metze@samba.org>
Thu, 22 Sep 2011 19:04:51 +0000 (21:04 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 22 Sep 2011 20:30:22 +0000 (22:30 +0200)
metze

source3/smbd/smb2_sesssetup.c

index c81baa53dc94dbf5968b69416e90b51aa06861d9..95badaf136629f84aefd0458f68a09dad72999c4 100644 (file)
@@ -269,7 +269,7 @@ static NTSTATUS smbd_smb2_session_setup_krb5(struct smbd_smb2_session *session,
         * so that the response can be signed
         */
        smb2req->session = session;
-       if (guest) {
+       if (!guest) {
                smb2req->do_signing = true;
        }