From bd6dd99eb92be69fd90457f5976b9f597c2d52c3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 11 May 2006 11:01:47 +0000 Subject: r15533: with this vista does a fine SMB2 TreeConnect against samba4 metze (This used to be commit 6c920d21a16e88040818cc8db6ebe918b5669a9b) --- source4/smb_server/smb2/tcon.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/smb_server/smb2/tcon.c') diff --git a/source4/smb_server/smb2/tcon.c b/source4/smb_server/smb2/tcon.c index ba7758b362..b8daee8ff2 100644 --- a/source4/smb_server/smb2/tcon.c +++ b/source4/smb_server/smb2/tcon.c @@ -34,10 +34,10 @@ static NTSTATUS smb2srv_tcon_backend(struct smb2srv_request *req, struct smb2_tr /* 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; -- cgit