summaryrefslogtreecommitdiff
path: root/source3/modules
AgeCommit message (Collapse)AuthorFilesLines
2009-01-23s3: OneFS unmappable sids support.Dan Sledz3-67/+183
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-22Apply same logic fix for #4308 Excel save operation corrupts file ACLsJeremy Allison1-47/+37
to NFSv4 ACL code as this uses the same flawed logic as posix_acls.c. Jeremy.
2009-01-22Fix logic error in try_chown - we shouldn't arbitrarily chownJeremy Allison1-2/+0
to ourselves unless that was passed in. Jeremy.
2009-01-21s3/vfs_extd_audit: Don't ignore "syslog = 0".Karolin Seeger1-59/+86
This fixes bug #5956. Thanks to Oskar Wycislak <cantorek [at] gmail.com> for reporting and providing a patch! Karolin
2009-01-16s3:vfs_fileid: readd "fileid:algorithm" as option.Stefan Metzmacher1-1/+7
"fileid:mapping" is still supported as fallback. metze
2009-01-15s3: Remove an incorrect constTim Prouty1-1/+1
2009-01-16s3:vfs_xattr_tdb: don't leak state_path() to talloc_tos in xattr_tdb_init().Michael Adam1-4/+9
Michael
2009-01-16s3:vfs_acl_tdb: don't leak state_path() to talloc_tos() in acl_tdb_init()Michael Adam1-0/+2
Michael
2009-01-12Covert several persistant tdb files to use state_path() instead of lock_path()Steven Danneman2-2/+2
2009-01-11s3: Fix uninitialized variable in OneFS streamsTim Prouty1-2/+5
2009-01-11s3: Add OneFS alternate data streams implementationTim Prouty4-14/+673
2009-01-11s3: General cleanup of the open path in the OneFS vfs moduleTim Prouty5-27/+17
2009-01-09s3: Remove rendundant op_tuple entry in xattr streamsTim Prouty1-2/+0
2009-01-05s3:events: change event_add_timed() prototype to match samba4Stefan Metzmacher1-4/+2
metze
2009-01-05Use talloc_tos in vfs_full_audit.c:do_logVolker Lendecke1-2/+2
2009-01-05Fix a bad memleak in vfs_full_auditVolker Lendecke1-1/+4
2009-01-05Add create_file to vfs_op_namesVolker Lendecke1-0/+1
2009-01-05Fix bug 6012: Add "get_real_filename" to full_auditVolker Lendecke1-0/+25
Thanks to Hodur <coil93@gmail.com> for testing! Volker
2009-01-04s3: Remove a few unnecessary checks from the streams depot module and fix to ↵Tim Prouty1-12/+18
work with NTRENAME Handling of error codes when renaming a file to a stream and a stream to a file is now done in rename_internals_fsp. The NTRENAME stream path only passes in the stream name, so the new base can now be different from the old base.
2009-01-04s3: Remove a few unnecessary checks from the streams xattr moduleTim Prouty1-11/+0
Handling of error codes when renaming a file to a stream and a stream to a file is now done in rename_internals_fsp. The NTRENAME stream path only passes in the stream name, so the new base can now be different from the old base.
2009-01-04Async wrapper for open_socket_out_send/recvVolker Lendecke1-2/+3
2009-01-03open_socket_out is always used with SOCK_STREAM, remove argument "type"Volker Lendecke1-1/+1
2008-12-31s3: Fix caller of print_fsp_openTim Prouty1-3/+3
2008-12-31Fix all warnings in source3 with gcc4.3.Jeremy Allison2-6/+15
Jeremy.
2008-12-31Rename parent_dirname_talloc() to parent_dirname()Volker Lendecke4-13/+5
2008-12-31Use parent_dirname_talloc instead of parent_dirname in vfswrap_mkdirVolker Lendecke1-1/+6
2008-12-26Try to fix the build by fixing some typos in the vfs codeKai Blin1-3/+3
2008-12-25Fix bug #5990 - strict allocate should be checked before ftruncateJeremy Allison1-0/+14
reported by and based on a patch by Yasuma Takeda <yasuma@osstech.co.jp>. Jeremy.
2008-12-18Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison1-0/+28
2008-12-18Comment out the parent inheritance code (this is incorrect) as wasJeremy Allison2-0/+4
done for POSIX ACLs. Jeremy.
2008-12-17s3: Add statvfs implementation to the onefs vfs moduleAravind Srinivasan1-0/+28
2008-12-15s3: Fix a few build warningsTim Prouty2-524/+891
2008-12-10Make use of smbd_gpfs_get_realfilename_path in unix_convertVolker Lendecke2-0/+86
(cherry picked from commit b37684ffcec4ba0beada55d37bcaf4f5e79bcd58) Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-10Fix nonempty blank lines in vfs_gpfs.cVolker Lendecke1-55/+50
Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-10s3:modules/gpfs: Fix nonempty blank linesVolker Lendecke1-2/+2
2008-12-10Revert "Fix some merge omissions for GPFS"Volker Lendecke2-16/+7
This reverts commit a0efc4cffbd84898c454d27eaf946d073dfdad0f. This one should have been done with careful cherry-picks, sorry. Volker
2008-12-10Revert "Fix nonempty blank lines in vfs_gpfs.c"Volker Lendecke1-50/+55
This reverts commit a4b52118d44906882677ed1234428d8025134036.
2008-12-10Revert "Make use of smbd_gpfs_get_realfilename_path in unix_convert"Volker Lendecke2-86/+0
This reverts commit b37684ffcec4ba0beada55d37bcaf4f5e79bcd58.
2008-12-10Revert "Fix the build"Volker Lendecke1-0/+9
This reverts commit c044b09572631cbdd686e5dbbdfbcc731145533a.
2008-12-10Fix the buildVolker Lendecke1-9/+0
Crap, too many trees and no instant, infinitely fast rebuild
2008-12-10Make use of smbd_gpfs_get_realfilename_path in unix_convertVolker Lendecke2-0/+86
2008-12-10Fix nonempty blank lines in vfs_gpfs.cVolker Lendecke1-55/+50
2008-12-10Fix some merge omissions for GPFSVolker Lendecke2-7/+16
2008-12-10Pass the get_real_filename operation through the VFSVolker Lendecke1-0/+12
This is done to help file systems that can tell us about the real upper/lower case combination given a case-insensitive file name. The sample I will soon push is the gpfs module (recent gpfs has a get_real_filename function), others might have a similar function to help alleviate the 1million files in a single directory problem. Jeremy, please comment! Thanks, Volker
2008-12-09s3: [3/3]: Fix a delete on close divergence from windows and the associated ↵Tim Prouty1-3/+2
torture test This third patch cleans up by removing all of the code that is made obsolete by the first patch. It should cause no functional changes.
2008-12-09s3: Add the OneFS SMB_VFS_CREATE_FILE implementationTim Prouty5-710/+1160
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-09s3: Add onefs_open.c with code copied verbatim from smbd/open.cTim Prouty1-0/+2028
This is an intermediate step that makes it much easier to see how the OneFS SMB_VFS_CREATE_FILE implementation diverges from stock samba. The goal is that more common code can be refactored into utility functions.
2008-12-04Fix bug #5929 - vfs_prealloc does not build with option ↵Henning Henkel1-1/+1
--with-cluster-support and GPFS
2008-12-03s3: Change SMB_VFS_CREATE_FILE to take a create_file_flags argumentTim Prouty2-5/+5
This replaces the is_dos_path bool with a more future-proof argument. The next step is to plumb INTERNAL_OPEN_ONLY through this flag instead of overridding the oplock_request.
2008-12-03s3: Add SMB_VFS_CREATE_FILE to vfs_full_audit moduleTim Prouty1-0/+64