diff options
author | Steven Danneman <steven.danneman@isilon.com> | 2008-12-02 20:15:34 -0800 |
---|---|---|
committer | Steven Danneman <steven.danneman@isilon.com> | 2008-12-02 20:35:45 -0800 |
commit | 85b8cccab072bab263061654b677bc84826646c9 (patch) | |
tree | c7fce47ac46b22558b58d888d5d19a604d48387d /source3/modules/vfs_onefs.c | |
parent | 239f815e30a4e5f64112a8da6401614eb3218eb5 (diff) | |
download | samba-85b8cccab072bab263061654b677bc84826646c9.tar.gz samba-85b8cccab072bab263061654b677bc84826646c9.tar.bz2 samba-85b8cccab072bab263061654b677bc84826646c9.zip |
Add support for OneFS ACLs
Add to the OneFS VFS module, support for NTFS ACLs through the calls:
SMB_VFS_FGET_NT_ACL()
SMB_VFS_GET_NT_ACL()
SMB_VFS_FSET_NT_ACL()
Also create several new onefs specific smb.conf parameters in onefs.h
Diffstat (limited to 'source3/modules/vfs_onefs.c')
-rw-r--r-- | source3/modules/vfs_onefs.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source3/modules/vfs_onefs.c b/source3/modules/vfs_onefs.c index 508f5c560e..193a986cf6 100644 --- a/source3/modules/vfs_onefs.c +++ b/source3/modules/vfs_onefs.c @@ -22,7 +22,22 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_VFS +NTSTATUS onefs_fget_nt_acl(vfs_handle_struct *handle, files_struct *fsp, + uint32 security_info, SEC_DESC **ppdesc); + +NTSTATUS onefs_get_nt_acl(vfs_handle_struct *handle, const char* name, + uint32 security_info, SEC_DESC **ppdesc); + +NTSTATUS onefs_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp, + uint32 security_info_sent, SEC_DESC *psd); + static vfs_op_tuple onefs_ops[] = { + {SMB_VFS_OP(onefs_fget_nt_acl), SMB_VFS_OP_FGET_NT_ACL, + SMB_VFS_LAYER_OPAQUE}, + {SMB_VFS_OP(onefs_get_nt_acl), SMB_VFS_OP_GET_NT_ACL, + SMB_VFS_LAYER_OPAQUE}, + {SMB_VFS_OP(onefs_fset_nt_acl), SMB_VFS_OP_FSET_NT_ACL, + SMB_VFS_LAYER_OPAQUE}, {SMB_VFS_OP(NULL), SMB_VFS_OP_NOOP, SMB_VFS_LAYER_NOOP} }; |