svn commit: samba r15533 - in branches/SAMBA_4_0/source/smb_server/smb2: .

metze at samba.org metze at samba.org
Thu May 11 11:01:47 GMT 2006


Author: metze
Date: 2006-05-11 11:01:47 +0000 (Thu, 11 May 2006)
New Revision: 15533

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15533

Log:
with this vista does a fine SMB2 TreeConnect against samba4

metze
Modified:
   branches/SAMBA_4_0/source/smb_server/smb2/tcon.c


Changeset:
Modified: branches/SAMBA_4_0/source/smb_server/smb2/tcon.c
===================================================================
--- branches/SAMBA_4_0/source/smb_server/smb2/tcon.c	2006-05-11 10:47:37 UTC (rev 15532)
+++ branches/SAMBA_4_0/source/smb_server/smb2/tcon.c	2006-05-11 11:01:47 UTC (rev 15533)
@@ -34,10 +34,10 @@
 
 	/* TODO: do real tree connect */
 
-	io->out.unknown1	= 0;
-	io->out.unknown2	= 0;
-	io->out.unknown3	= 0;
-	io->out.access_mask	= 0;
+	io->out.unknown1	= 0x0001; /* 1 - DISK, 2 - Print, 3 - IPC */
+	io->out.unknown2	= 0x00000000;
+	io->out.unknown3	= 0x00000000;
+	io->out.access_mask	= SEC_RIGHTS_FILE_ALL;
 
 	io->out.tid		= tcon->tid;
 



More information about the samba-cvs mailing list