diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-07-10 13:02:11 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-11 21:33:29 +0200 |
commit | a1046389ffcc476456ac76cb701a4325d1c42ef9 (patch) | |
tree | d4b322995079a16431aff01b62fe69ff16f76889 /source3/smbd | |
parent | 58eed1b295afeff6acfb8c1f10b0bb02280fd491 (diff) | |
download | samba-a1046389ffcc476456ac76cb701a4325d1c42ef9.tar.gz samba-a1046389ffcc476456ac76cb701a4325d1c42ef9.tar.bz2 samba-a1046389ffcc476456ac76cb701a4325d1c42ef9.zip |
s3:smb2_tcon: return the correct maximal_access on the share
metze
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/smb2_tcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_tcon.c b/source3/smbd/smb2_tcon.c index 946bc5639b..6b86e24dc2 100644 --- 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; |