git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e87706
)
s3:smbd: return the real share access mask in the SMBtconX response
author
Stefan Metzmacher
<metze@samba.org>
Mon, 11 Jul 2011 14:12:57 +0000
(16:12 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Wed, 13 Jul 2011 19:32:47 +0000
(21:32 +0200)
metze
(cherry picked from commit
58eed1b295afeff6acfb8c1f10b0bb02280fd491
)
source3/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index 099a36e828ff6a465c20597d6cc6037fc2ead7f4..c594a6b7aea1961f369da6b01a8eb42bd5f74bc4 100644
(file)
--- a/
source3/smbd/reply.c
+++ b/
source3/smbd/reply.c
@@
-835,9
+835,7
@@
void reply_tcon_and_X(struct smb_request *req)
perm1 = FILE_ALL_ACCESS;
perm2 = FILE_ALL_ACCESS;
} else {
- perm1 = CAN_WRITE(conn) ?
- SHARE_ALL_ACCESS :
- SHARE_READ_ONLY;
+ perm1 = conn->share_access;
}
SIVAL(req->outbuf, smb_vwv3, perm1);