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:
a104638
)
s3:smb2_create: use smbd_calculate_access_mask() instead of smbd_check_open_rights()
author
Stefan Metzmacher
<metze@samba.org>
Sun, 10 Jul 2011 11:09:06 +0000
(13:09 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 11 Jul 2011 20:45:01 +0000
(22:45 +0200)
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Jul 11 22:45:01 CEST 2011 on sn-devel-104
source3/smbd/smb2_create.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_create.c
b/source3/smbd/smb2_create.c
index 23602861f2a2fde06ea663f9f19495b5bb0bb8cb..7c6b4bc46ce2c219377e6f7755b7ce97505b611f 100644
(file)
--- a/
source3/smbd/smb2_create.c
+++ b/
source3/smbd/smb2_create.c
@@
-736,8
+736,13
@@
static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx,
uint32_t max_access_granted;
DATA_BLOB blob = data_blob_const(p, sizeof(p));
- status = smbd_c
heck_open_rights
(smb1req->conn,
+ status = smbd_c
alculate_access_mask
(smb1req->conn,
result->fsp_name,
+ /*
+ * at this stage
+ * it exists
+ */
+ true,
SEC_FLAG_MAXIMUM_ALLOWED,
&max_access_granted);