summaryrefslogtreecommitdiffstats
path: root/source3/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:smbd: convert aio to use tevent_signalStefan Metzmacher2009-01-271-2/+1
| | | | metze
* Modify OneFS module to support new NTIMES interfacestodd stecher2009-01-233-42/+124
|
* Extend NTIMES to allow setting create_timetodd stecher2009-01-236-20/+24
| | | | | | | | | 1) Add in smb_file_time struct to clarify code and make room for createtime. 2) Get and set create time from SMB messages. 3) Fixup existing VFS modules + examples Some OS'es allow for the setting of the birthtime through kernel interfaces. This value is generically used for Windows createtime, but is not settable in the code today.
* s3: OneFS unmappable sids support.Dan Sledz2009-01-233-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.
* Apply same logic fix for #4308 Excel save operation corrupts file ACLsJeremy Allison2009-01-221-47/+37
| | | | | to NFSv4 ACL code as this uses the same flawed logic as posix_acls.c. Jeremy.
* Fix logic error in try_chown - we shouldn't arbitrarily chownJeremy Allison2009-01-221-2/+0
| | | | | to ourselves unless that was passed in. Jeremy.
* s3/vfs_extd_audit: Don't ignore "syslog = 0".Karolin Seeger2009-01-211-59/+86
| | | | | | | | This fixes bug #5956. Thanks to Oskar Wycislak <cantorek [at] gmail.com> for reporting and providing a patch! Karolin
* s3:vfs_fileid: readd "fileid:algorithm" as option.Stefan Metzmacher2009-01-161-1/+7
| | | | | | "fileid:mapping" is still supported as fallback. metze
* s3: Remove an incorrect constTim Prouty2009-01-151-1/+1
|
* s3:vfs_xattr_tdb: don't leak state_path() to talloc_tos in xattr_tdb_init().Michael Adam2009-01-161-4/+9
| | | | Michael
* s3:vfs_acl_tdb: don't leak state_path() to talloc_tos() in acl_tdb_init()Michael Adam2009-01-161-0/+2
| | | | Michael
* Covert several persistant tdb files to use state_path() instead of lock_path()Steven Danneman2009-01-122-2/+2
|
* s3: Fix uninitialized variable in OneFS streamsTim Prouty2009-01-111-2/+5
|
* s3: Add OneFS alternate data streams implementationTim Prouty2009-01-114-14/+673
|
* s3: General cleanup of the open path in the OneFS vfs moduleTim Prouty2009-01-115-27/+17
|
* s3: Remove rendundant op_tuple entry in xattr streamsTim Prouty2009-01-091-2/+0
|
* s3:events: change event_add_timed() prototype to match samba4Stefan Metzmacher2009-01-051-4/+2
| | | | metze
* Use talloc_tos in vfs_full_audit.c:do_logVolker Lendecke2009-01-051-2/+2
|
* Fix a bad memleak in vfs_full_auditVolker Lendecke2009-01-051-1/+4
|
* Add create_file to vfs_op_namesVolker Lendecke2009-01-051-0/+1
|
* Fix bug 6012: Add "get_real_filename" to full_auditVolker Lendecke2009-01-051-0/+25
| | | | | | Thanks to Hodur <coil93@gmail.com> for testing! Volker
* s3: Remove a few unnecessary checks from the streams depot module and fix to ↵Tim Prouty2009-01-041-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.
* s3: Remove a few unnecessary checks from the streams xattr moduleTim Prouty2009-01-041-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.
* Async wrapper for open_socket_out_send/recvVolker Lendecke2009-01-041-2/+3
|
* open_socket_out is always used with SOCK_STREAM, remove argument "type"Volker Lendecke2009-01-031-1/+1
|
* s3: Fix caller of print_fsp_openTim Prouty2008-12-311-3/+3
|
* Fix all warnings in source3 with gcc4.3.Jeremy Allison2008-12-312-6/+15
| | | | Jeremy.
* Rename parent_dirname_talloc() to parent_dirname()Volker Lendecke2008-12-314-13/+5
|
* Use parent_dirname_talloc instead of parent_dirname in vfswrap_mkdirVolker Lendecke2008-12-311-1/+6
|
* Try to fix the build by fixing some typos in the vfs codeKai Blin2008-12-261-3/+3
|
* Fix bug #5990 - strict allocate should be checked before ftruncateJeremy Allison2008-12-251-0/+14
| | | | | | reported by and based on a patch by Yasuma Takeda <yasuma@osstech.co.jp>. Jeremy.
* Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison2008-12-181-0/+28
|\
| * s3: Add statvfs implementation to the onefs vfs moduleAravind Srinivasan2008-12-171-0/+28
| |
* | Comment out the parent inheritance code (this is incorrect) as wasJeremy Allison2008-12-182-0/+4
|/ | | | | done for POSIX ACLs. Jeremy.
* s3: Fix a few build warningsTim Prouty2008-12-152-524/+891
|
* Make use of smbd_gpfs_get_realfilename_path in unix_convertVolker Lendecke2008-12-102-0/+86
| | | | | | (cherry picked from commit b37684ffcec4ba0beada55d37bcaf4f5e79bcd58) Signed-off-by: Michael Adam <obnox@samba.org>
* Fix nonempty blank lines in vfs_gpfs.cVolker Lendecke2008-12-101-55/+50
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:modules/gpfs: Fix nonempty blank linesVolker Lendecke2008-12-101-2/+2
|
* Revert "Fix some merge omissions for GPFS"Volker Lendecke2008-12-102-16/+7
| | | | | | | | This reverts commit a0efc4cffbd84898c454d27eaf946d073dfdad0f. This one should have been done with careful cherry-picks, sorry. Volker
* Revert "Fix nonempty blank lines in vfs_gpfs.c"Volker Lendecke2008-12-101-50/+55
| | | | This reverts commit a4b52118d44906882677ed1234428d8025134036.
* Revert "Make use of smbd_gpfs_get_realfilename_path in unix_convert"Volker Lendecke2008-12-102-86/+0
| | | | This reverts commit b37684ffcec4ba0beada55d37bcaf4f5e79bcd58.
* Revert "Fix the build"Volker Lendecke2008-12-101-0/+9
| | | | This reverts commit c044b09572631cbdd686e5dbbdfbcc731145533a.
* Fix the buildVolker Lendecke2008-12-101-9/+0
| | | | Crap, too many trees and no instant, infinitely fast rebuild
* Make use of smbd_gpfs_get_realfilename_path in unix_convertVolker Lendecke2008-12-102-0/+86
|
* Fix nonempty blank lines in vfs_gpfs.cVolker Lendecke2008-12-101-55/+50
|
* Fix some merge omissions for GPFSVolker Lendecke2008-12-102-7/+16
|
* Pass the get_real_filename operation through the VFSVolker Lendecke2008-12-101-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
* s3: [3/3]: Fix a delete on close divergence from windows and the associated ↵Tim Prouty2008-12-091-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.
* s3: Add the OneFS SMB_VFS_CREATE_FILE implementationTim Prouty2008-12-095-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.
* s3: Add onefs_open.c with code copied verbatim from smbd/open.cTim Prouty2008-12-091-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.