summaryrefslogtreecommitdiff
path: root/source3/modules
AgeCommit message (Collapse)AuthorFilesLines
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
2008-12-03s3: Add new "is_dos_path" argument to SMB_VFS_CREATE_FILETim Prouty1-1/+2
Now unix paths can be differentiated from windows paths so the underlying create_file implementations can convert paths correctly.
2008-12-03s3: Add SMB_VFS_CREATE_FILE to the vfs layerTim Prouty1-0/+27
Modify all callers of create_file to go through SMB_VFS_CREATE_FILE
2008-12-02Add support for OneFS ACLsSteven Danneman3-0/+874
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
2008-12-02Add OneFS VFS module skeleton.Tim Prouty1-0/+33
Also set configure to autodetect OneFS OS and build this VFS module.
2008-12-01s3:streams_xattr: fstat should do a stat on the base fileStefan Metzmacher1-1/+1
The behavior of stat and fstat should be the same. metze
2008-12-01s3:streams_xattr: recheck fsp->fsp_name after a renameStefan Metzmacher1-0/+65
metze
2008-12-01s3:streams_depot: add an option to disable the xattr checksStefan Metzmacher1-4/+18
streams_depot:check_valid=no is useful when the filesystem has no xattr support and files are only published via samba. metze
2008-12-01s3:streams_depot: fix valgrind bug lp_parm_const_string() doesn't talloc the ↵Stefan Metzmacher1-1/+0
default value metze
2008-12-01s3:streams_depot: add support for stream renamesStefan Metzmacher1-0/+74
metze
2008-12-01s3:streams_depot: map 'file::$DATA' to just 'file'Stefan Metzmacher1-1/+12
metze
2008-12-01s3:streams_xattr: add support for renaming streamsStefan Metzmacher1-1/+142
metze
2008-12-01s3:vfs_tsmsm: fix potential segfault (freeing uninitialized buffer)Michael Adam1-1/+1
Michael
2008-11-25[s3]zfsacl: "return" is not a function.Michael Adam1-3/+3
Michael
2008-11-25[s3]zfsacl: Prevent calling POSIX ACL vfs methods on zfs share.Nils Goroll1-0/+83
This is a proposed fix for Bugs #5135 and #5446. Signed-off-by: Michael Adam <obnox@samba.org>
2008-11-24Search for gpfs functions in both libgpfs_gpl.so an libgpfs.soMathias Dietz1-47/+45
As of GPFS 3.2.1 PTF8 libgpfs will be available as GPL, so we don't need the special libgpfs_gpl lib anymore. For backwards compatibility with pre-PTF8 GPFS installations, still look there.
2008-11-21Fix a C90 error.Jeremy Allison1-2/+3
Jeremy.
2008-11-21Rever 83ff6979f504d50caf725ee62549604630b69be7 - "Fix the logic bug that ↵Jeremy Allison1-34/+34
caused us to run into kernel oplocks on an open for a stream inside a file with stream_xattr module. On opening the base_fsp we must break existing oplocks." as it broke make test. Jeremy.
2008-11-21Fix the logic bug that caused us to run into kernel oplocks on an open for a ↵Jeremy Allison1-34/+34
stream inside a file with stream_xattr module. On opening the base_fsp we must break existing oplocks. Jeremy.
2008-11-21Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison1-1/+1
2008-11-22[s3]nfs4_acls: make prototype header match definition for smb_set_nt_acl_nfs4()Michael Adam1-1/+1
Add the const from nfs4_acls.c to nfs4_acls.h This fixes my build of the zfsacl module on solaris. Michael
2008-11-21Use fxattr calls whenever possible (trying to work around the strange Linux ↵Jeremy Allison1-19/+51
kernel oplock bug). Jeremy.
2008-11-21Second part of the fix for bug #5903 - vfs_streams_xattr breaks contents of ↵Jeremy Allison1-1/+60
the file (also fix a bad merge of the previous patch from 3.3). Jeremy.
2008-11-20Fix the build, by some cut-and-paste error I got two versions of the same ↵Jeremy Allison1-50/+0
functions here. Jeremy.
2008-11-19Fix build farm breakage.Jeremy Allison1-1/+1
2008-11-19Add functions to delete NTACL on posix ACL set.Jeremy Allison2-77/+235
Jeremy.