git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58eed1b
)
s3:smb2_tcon: return the correct maximal_access on the share
author
Stefan Metzmacher
<metze@samba.org>
Sun, 10 Jul 2011 11:02:11 +0000
(13:02 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 11 Jul 2011 19:33:29 +0000
(21:33 +0200)
metze
source3/smbd/smb2_tcon.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_tcon.c
b/source3/smbd/smb2_tcon.c
index 946bc5639b2c718c0912c6dc2eac78e0536ac84c..6b86e24dc204bcc381fa66b5c6b79ad3a95a5105 100644
(file)
--- a/
source3/smbd/smb2_tcon.c
+++ b/
source3/smbd/smb2_tcon.c
@@
-272,7
+272,7
@@
static NTSTATUS smbd_smb2_tree_connect(struct smbd_smb2_request *req,
break;
}
- *out_maximal_access =
FILE_GENERIC_ALL
;
+ *out_maximal_access =
tcon->compat_conn->share_access
;
*out_tree_id = tcon->tid;
return NT_STATUS_OK;