svn commit: samba r1939 - branches/SAMBA_3_0/source/smbd

jra at samba.org jra at samba.org
Thu Aug 19 22:47:05 GMT 2004


Author: jra
Date: 2004-08-19 22:47:05 +0000 (Thu, 19 Aug 2004)
New Revision: 1939

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1939&nolog=1

Log:
Ensure with my new change we set extended security in flags2 in
the negprot reply.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/smbd/negprot.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/negprot.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/negprot.c	2004-08-19 20:33:06 UTC (rev 1938)
+++ branches/SAMBA_3_0/source/smbd/negprot.c	2004-08-19 22:47:05 UTC (rev 1939)
@@ -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