git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c384bf7
)
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
Karolin Seeger
<kseeger@samba.org>
Wed, 13 Jul 2011 19:32:48 +0000
(21:32 +0200)
metze
(cherry picked from commit
a1046389ffcc476456ac76cb701a4325d1c42ef9
)
source3/smbd/smb2_tcon.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_tcon.c
b/source3/smbd/smb2_tcon.c
index 75cfe549ec45d454e4029ae5c354eeb7687cd69d..ea38d1e0298812e39b9b6a1ce7ff367487e5912d 100644
(file)
--- a/
source3/smbd/smb2_tcon.c
+++ b/
source3/smbd/smb2_tcon.c
@@
-271,7
+271,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;