summaryrefslogtreecommitdiff
path: root/source3/modules/onefs_acl.c
AgeCommit message (Collapse)AuthorFilesLines
2011-04-29s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett1-1/+1
This means we use just one constant for this file attribute. Andrew Bartlett
2011-03-30s3-vfs: include smbd/smbd.h in vfs modules.Günther Deschner1-0/+1
Guenther
2010-06-03s3-security: use shared SECINFO_DACL define.Günther Deschner1-3/+3
Guenther
2010-06-03s3-security: use shared SECINFO_SACL define.Günther Deschner1-5/+5
Guenther
2010-06-03s3-security: use shared SECINFO_GROUP define.Günther Deschner1-2/+2
Guenther
2010-06-03s3-security: use shared SECINFO_OWNER define.Günther Deschner1-2/+2
Guenther
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-9/+9
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner1-6/+7
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner1-6/+6
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_ace SEC_ACE".Günther Deschner1-5/+5
Guenther
2009-08-26s3 onefs: Canonicalize the ACL in the correct ordertprouty1-4/+8
2009-07-24s3 onefs: Fix the onefs modules after the big refactoringTim Prouty1-2/+2
2009-07-20s3: Finish plumbing the fsp->fsp_name smb_fname conversion through the modules.Tim Prouty1-27/+24
2009-07-08s3: convert unix_mode to take an smb_filenameTim Prouty1-2/+13
2009-05-28s3 onefs: update the onefs module to be compliant with stat_exTim Prouty1-2/+3
2009-05-12s3 onefs: Fix ignore sacl parameterTim Prouty1-11/+20
2009-03-24s3 onefs: Change error status to NT_ACCESS_DENIED for errors in ↵David Kwan1-5/+5
SET_SECURITY_DESC
2009-03-01s3 OneFS: Refactor config code and cleanup includesTim Prouty1-0/+3
2009-02-24s3 OneFS: Fix uninitialized variableTim Prouty1-1/+1
2009-02-24s3: onefs_acl.c cleanupDan Sledz1-4/+1
Remove some duplicate code. Add a \n to a debugging statement
2009-02-24S3: Add in profile counters for new vfs and syscall entries.todd stecher1-1/+10
2009-02-12s3 onefs: rename custom parameter to plural to match previous usageSteven Danneman1-2/+2
2009-02-11s3 OneFS: Expand the usage of the ignore sacl parametertodd stecher1-0/+6
2009-02-09s3 OneFS: Change ACLs to do a stat-only open before get/set_security_descriptorTim Prouty1-22/+4
This ensures that getting/stting a security descriptor does not contend an oplock. The correct access checks will be still be done in the kernel on the get/set rather than the open.
2009-01-30s3 onefs: Fix onefs ACLs to work with updated ACL syscallTim Prouty1-1/+1
2009-01-23s3: OneFS unmappable sids support.Dan Sledz1-65/+173
Updates the onefs vfs module to add configurable behavior to deal with sids that are unknown to us. The best examples are aces that come from robocopy/xcopy. Adds the following share level options (which are specific to the vfs_onefs module): onefs: ignore unmappable sids (Default = false) If this option is set to true, sids which could not be resolved to a uid/gid are ignored. If an unmappable sid is encountered as the owner or group, the owner/group is converted to BUILTIN\Administrators. onefs: unmappable sids ignore list (Default = empty) Only the sids in the list are ignored. onefs: ignore sacls (Default = false) SACLs are ignored onefs: unmappable sids deny everyone (Default = false) If an unmappable sid is found in a deny ACE, the ACE's identity is changed to Everyone.
2009-01-11s3: General cleanup of the open path in the OneFS vfs moduleTim Prouty1-3/+3
2008-12-09s3: Add the OneFS SMB_VFS_CREATE_FILE implementationTim Prouty1-38/+81
This is the first pass at extending the onefs vfs module to support the CIFS-specific enhancements available on OneFS. Most of this patch is massaging the sama open path to work with ifs_createfile. ifs_createfile is a CIFS-specific syscall for opening/files and directories. It adds support for: - Full in-kernel access checks using a windows access_mask - Cluster-coherent share mode locks - Cluster-coherent oplocks - Streams - Setting security descriptors at create time - Setting dos_attributes at create time This patch does not implement the samba side of the streams support or oplocks support. Tests that expect oplocks to be granted or streams to be supported will fail. This will be remedied in upcoming patches.
2008-12-02Add support for OneFS ACLsSteven Danneman1-0/+807
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