]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r1939: Ensure with my new change we set extended security in flags2 in
authorJeremy Allison <jra@samba.org>
Thu, 19 Aug 2004 22:47:05 +0000 (22:47 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:24 +0000 (10:52 -0500)
the negprot reply.
Jeremy.

source/smbd/negprot.c

index 5ee8abbe6baaa31867d70f00190547e7fa5ced56..447073acd841e271b541f63ee875d5dc88e9a622 100644 (file)
@@ -250,6 +250,9 @@ static int reply_nt1(char *inbuf, char *outbuf)
                negotiate_spnego = True;
                capabilities |= CAP_EXTENDED_SECURITY;
                add_to_common_flags2(FLAGS2_EXTENDED_SECURITY);
+               /* Ensure FLAGS2_EXTENDED_SECURITY gets set in this reply (already
+                       partially constructed. */
+               SSVAL(outbuf,smb_flg2, SVAL(outbuf,smb_flg2) | FLAGS2_EXTENDED_SECURITY);
        }
        
        capabilities |= CAP_NT_SMBS|CAP_RPC_REMOTE_APIS|CAP_UNICODE;