diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-05-11 11:01:47 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:05:54 -0500 |
commit | bd6dd99eb92be69fd90457f5976b9f597c2d52c3 (patch) | |
tree | c0e8bf64ff172b06f5599c4104661a80919b57f3 /source4/smb_server/smb2 | |
parent | dc86ab3e454d7219608d01879145dec5609acaa3 (diff) | |
download | samba-bd6dd99eb92be69fd90457f5976b9f597c2d52c3.tar.gz samba-bd6dd99eb92be69fd90457f5976b9f597c2d52c3.tar.bz2 samba-bd6dd99eb92be69fd90457f5976b9f597c2d52c3.zip |
r15533: with this vista does a fine SMB2 TreeConnect against samba4
metze
(This used to be commit 6c920d21a16e88040818cc8db6ebe918b5669a9b)
Diffstat (limited to 'source4/smb_server/smb2')
-rw-r--r-- | source4/smb_server/smb2/tcon.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |