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:
581d8fa
)
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
Stefan Metzmacher
<metze@samba.org>
Mon, 11 Jul 2011 19:33:29 +0000
(21:33 +0200)
metze
source3/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index 72fee8cee164bd890a5d2b845c050b3fd1e7b984..2f37b61b1265066fb97baa7e66e6b77158024514 100644
(file)
--- a/
source3/smbd/reply.c
+++ b/
source3/smbd/reply.c
@@
-858,9
+858,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);