summaryrefslogtreecommitdiff
path: root/source3/modules
AgeCommit message (Collapse)AuthorFilesLines
2009-02-11s3 OneFS: Expand the usage of the ignore sacl parametertodd stecher2-0/+11
2009-02-10S3: Add in missing full audit entries.todd stecher1-6/+34
2009-02-09s3: OneFS bulk directory enumeration supportSteven Danneman4-19/+690
OneFS provides the bulk directory enumeration syscall readdirplus(). This syscall has the same semantics as the NFSv3 READDIRPLUS command, returning a batch of directory entries with prefetched stat information via one syscall. This commit wraps the readdirplus() call in the existing POSIX readdir/seekdir VFS interface. By default a batch of 128 directory entries are optimistically read from the kernel into a global cache, and fed to iterative calls of VFS_OP_READDIR. The global buffers could be avoided in the future by hanging connection specific buffers off the conn struct. Added new parameter "onefs:use readdirplus" which toggles usage of this code on or off.
2009-02-09s3: Added SMB_VFS_INIT_SEARCH_OP to initialize data at the beginning of SMB ↵Steven Danneman2-0/+23
search requests. By default this VFS call is a NOOP, but the onefs vfs module takes advantage of it to initialize direntry search caches at the beginning of each TRANS2_FIND_FIRST, TRANS2_FIND_NEXT, SMBffirst, SMBsearch, and SMBunique
2009-02-09Add an optional SMB_STRUCT_SMB parameter to VFS_OP_READDIRSteven Danneman8-12/+20
* this allows VFS implementations that prefetch stat information on readdir to return it through one VFS call * backwards compatibility is maintained by passing in NULL * if the system readdir doesn't return stat info, the stat struct is set to invalid
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-02-09s3 OneFS: Add kernel oplocks implementationTim Prouty3-81/+134
A few functions in oplocks_onefs.c need to be accessed from the onefs vfs module. It would be ideal if oplocks were implemented at the vfs layer, but since they aren't yet, a new header is added to source3/include to make these functions available to the onefs vfs module. oplocks_onefs.o doesn't need to be linked into the onefs vfs module explicitly, since it is already linked into smbd by default.
2009-02-09s3 vfs: Add a destructor to the fsp extension data APITim Prouty4-4/+5
I'm not certain if the dummy pointer is needed in struct vfs_fsp_data, but I added it to be consistent with the comment below.
2009-02-09S3 OneFS: Add in Isilon specific performance counter moduletodd stecher1-0/+415
2009-02-09s3 OneFS: Fake Timestampstodd stecher3-14/+242
This checkin enables setting arbitrary timestamps on files matching the pattern stored in smb.conf. This was a customer request for a specific workflow. Changes include: 1) configuration state machine to avoid tons of string comparisons on each and every stat. 2) Code to adjust post-stat() times to match time now, or sloptime + time now.
2009-02-03Fix bug #6085 - In vfs_default.c change utime( ) call.Miguel Suarez1-1/+1
2009-01-30s3 onefs: Fix onefs ACLs to work with updated ACL syscallTim Prouty1-1/+1
2009-01-29s3 onefs: Add the OneFS implementation of SMB_VFS_GET_ALLOC_SIZETim Prouty1-0/+27
2009-01-29s3: Add a new SMB_VFS_GET_ALLOC_SIZE vfs operationTim Prouty5-11/+63
This allows module implementors to customize what allocation size is returned to the client.
2009-01-27s3:smbd: convert aio to use tevent_signalStefan Metzmacher1-2/+1
metze
2009-01-23Modify OneFS module to support new NTIMES interfacestodd stecher3-42/+124
2009-01-23Extend NTIMES to allow setting create_timetodd stecher6-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.
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>