diff options
author | Jeremy Allison <jra@samba.org> | 2012-09-13 17:12:24 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-09-15 00:37:49 +0200 |
commit | 8de46eac65deb33cd91fa242fb89fb59dc3cac42 (patch) | |
tree | 4426ac08dd29f35d1a2cf8c7dd6737cce64163d8 /source3/smbd/smb2_create.c | |
parent | 6d82976597d6418005a889781cc23adf6b3090c3 (diff) | |
download | samba-8de46eac65deb33cd91fa242fb89fb59dc3cac42.tar.gz samba-8de46eac65deb33cd91fa242fb89fb59dc3cac42.tar.bz2 samba-8de46eac65deb33cd91fa242fb89fb59dc3cac42.zip |
Add 'bool use_privs' to smbd_calculate_access_mask().
Replaces blanket root allow if set. Set to 'false' for
all current callers.
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Sep 15 00:37:49 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd/smb2_create.c')
-rw-r--r-- | source3/smbd/smb2_create.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c index 331ca49b1b..0d9a146b23 100644 --- a/source3/smbd/smb2_create.c +++ b/source3/smbd/smb2_create.c @@ -932,6 +932,7 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx, status = smbd_calculate_access_mask(smb1req->conn, result->fsp_name, + false, SEC_FLAG_MAXIMUM_ALLOWED, &max_access_granted); |