diff options
author | Alexander Werth <alexander.werth@de.ibm.com> | 2014-01-20 15:12:42 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-04-05 00:50:14 +0200 |
commit | a5d5bdc36b7e3c7a73984968013be50682c8eb77 (patch) | |
tree | 38fab203e8b08b5ec79fbfa359c34491b687276e /source3/modules/nfs4_acls.h | |
parent | e1df75b5a965829db0c1f76673dcc824447b3ae7 (diff) | |
download | samba-a5d5bdc36b7e3c7a73984968013be50682c8eb77.tar.gz samba-a5d5bdc36b7e3c7a73984968013be50682c8eb77.tar.xz samba-a5d5bdc36b7e3c7a73984968013be50682c8eb77.zip |
vfs: Support NFS control flags in nfs4_acls.c.
The ACL control flags stores in particular the dacl protected bit
which is responsible for the "Include inherited permissions from
this object's parent" checkbox. This stores the information in the
ACL struct passed to and from file system specific vfs modules.
Signed-off-by: Alexander Werth <alexander.werth@de.ibm.com>
Reviewed-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/modules/nfs4_acls.h')
-rw-r--r-- | source3/modules/nfs4_acls.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/modules/nfs4_acls.h b/source3/modules/nfs4_acls.h index 1bde81baf0..68abebf8e4 100644 --- a/source3/modules/nfs4_acls.h +++ b/source3/modules/nfs4_acls.h @@ -130,6 +130,10 @@ SMB4ACE_T *smb_next_ace4(SMB4ACE_T *ace); uint32 smb_get_naces(SMB4ACL_T *theacl); +uint16_t smbacl4_get_controlflags(SMB4ACL_T *theacl); + +bool smbacl4_set_controlflags(SMB4ACL_T *theacl, uint16_t controlflags); + NTSTATUS smb_fget_nt_acl_nfs4(files_struct *fsp, uint32 security_info, TALLOC_CTX *mem_ctx, |