diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-05-29 19:16:26 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-05-29 19:16:26 +1000 |
commit | c86dc11be6e626fa81f025d7ec78226fb4249cdc (patch) | |
tree | 5816ae0640ea981cdd50d9d9f64ff74c5494b49c /source4/ntvfs/posix/pvfs_acl.c | |
parent | 21d770a02c1e5e492c3d764881b82cbc0871ced0 (diff) | |
download | samba-c86dc11be6e626fa81f025d7ec78226fb4249cdc.tar.gz samba-c86dc11be6e626fa81f025d7ec78226fb4249cdc.tar.bz2 samba-c86dc11be6e626fa81f025d7ec78226fb4249cdc.zip |
added support for returning the maximal access MXAC tag in SMB2 create
(This used to be commit 4eb49335d5f0319f9aa47ded5215a2977d3336bf)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_acl.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_acl.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/pvfs_acl.c b/source4/ntvfs/posix/pvfs_acl.c index 089631a307..623b1ae5e9 100644 --- a/source4/ntvfs/posix/pvfs_acl.c +++ b/source4/ntvfs/posix/pvfs_acl.c @@ -807,3 +807,15 @@ NTSTATUS pvfs_acl_inherit(struct pvfs_state *pvfs, return status; } + +/* + return the maximum allowed access mask +*/ +NTSTATUS pvfs_access_maximal_allowed(struct pvfs_state *pvfs, + struct ntvfs_request *req, + struct pvfs_filename *name, + uint32_t *maximal_access) +{ + *maximal_access = SEC_FLAG_MAXIMUM_ALLOWED; + return pvfs_access_check(pvfs, req, name, maximal_access); +} |