summaryrefslogtreecommitdiff
path: root/source3/modules
AgeCommit message (Collapse)AuthorFilesLines
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.
2008-11-17Fix bug #5900 reported by monyo@samba.gr.jp - vfs_readonly.so does not work.Jeremy Allison1-0/+13
Jeremy.
2008-11-16Fix bug 5901: Default for streams_depot locationTAKAHASHI Motonobu1-1/+9
2008-11-13Move v2 from timestamp to 16-byte hash. Got the change in before on disk ↵Jeremy Allison2-40/+20
format is fixed. Jeremy.
2008-11-11[s3]vfs_acl_tdb: fix the build.Michael Adam1-1/+1
ndr_push_struct_blob has a different signature in master as well. Michael
2008-11-10Fix the build (ndr_pull_struct_blob has a different signature in master).Jeremy Allison1-1/+1
Jeremy.
2008-11-10Added vfs_acl_tdb.c module to do ACLs completely in userspace. Passes all of ↵Jeremy Allison2-44/+897
RAW-ACLS except for the last test which uses a non-POSIX chown. More testing/documentation to follow. Jeremy.
2008-11-08Fix a subtle logic bug in the adaption of se_create_child_secdesc(), pass ↵Jeremy Allison1-1/+20
RAW-ACL inheritance tests. Only access masks for SD get/set left to fix. Jeremy.
2008-11-06Start factoring out the inheritance differences.Jeremy Allison1-2/+1
Jeremy.
2008-11-06Don't call FSET_NT_ACL on file create if there's no SD to set. Leave the ↵Jeremy Allison1-4/+0
default ACL in place. Jeremy.
2008-11-06Only one more issue with NULL ACL test left to solve.Jeremy Allison1-1/+1
Jeremy.
2008-11-06Fix crash in module, get more of the NULL acl test right.Jeremy Allison1-14/+18
Jeremy.
2008-11-04Pass all of RAW-ACLS except for inheritence. Working on that next.Jeremy Allison1-1/+1
Jeremy.
2008-11-03Pass all the non-inherited S4 RAW-ACL tests.Jeremy Allison1-0/+4
Jeremy.