svn commit: samba r1940 - trunk/source/smbd
jra at samba.org
jra at samba.org
Thu Aug 19 22:47:18 GMT 2004
Author: jra
Date: 2004-08-19 22:47:15 +0000 (Thu, 19 Aug 2004)
New Revision: 1940
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1940&nolog=1
Log:
Ensure with my new change we set extended security in flags2 in
the negprot reply.
Jeremy.
Modified:
trunk/source/smbd/negprot.c
Changeset:
Modified: trunk/source/smbd/negprot.c
===================================================================
--- trunk/source/smbd/negprot.c 2004-08-19 22:47:05 UTC (rev 1939)
+++ trunk/source/smbd/negprot.c 2004-08-19 22:47:15 UTC (rev 1940)
@@ -250,6 +250,9 @@
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;
More information about the samba-cvs
mailing list