Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-11-30 | Fix bug 6938 : No hook exists to check creation rights when using acl_xattr ↵ | Jeremy Allison | 3 | -7/+104 | |
module Fix ACL modules to test for permissions on open/mkdir/opendir. Ensure that underlying ACLs are returned for directories/files with no Windows xattr or tdb acls stored. Jeremy. | |||||
2009-11-30 | Restructure the connect function code to always call | Jeremy Allison | 16 | -37/+117 | |
down to NEXT-> before initializing. This allows us to do cleanup (by calling DISCONNECT) if initialization fails. Also fix vfs_acl_xattr which was failing to call the NEXT connect function. Jeremy. | |||||
2009-11-29 | s3: Restore "fake directory create times" as a share parameter | Volker Lendecke | 1 | -3/+3 | |
2009-11-29 | s3: "copy_reg" only looks at mode, uid, gid, atime and mtime (no birthtime) | Volker Lendecke | 1 | -2/+1 | |
2009-11-29 | s3: Pass up fake_dir_create_times from atalk_build_paths | Volker Lendecke | 1 | -15/+24 | |
The callers only look at the mode | |||||
2009-11-29 | s3: Pass the "fake dir create times" parameter to sys_*stat | Volker Lendecke | 2 | -6/+10 | |
Step 0 to restore it as a per-share paramter | |||||
2009-11-25 | Fix bug 6892 - When a chown operation is issued via Windows Explorer, all ↵ | Jeremy Allison | 1 | -15/+36 | |
ACLS are wiped out. Merges existing DACLs when a ACL set operation comes in with only owner or group values set. Jeremy. | |||||
2009-11-23 | Revert "s3: Make the implicit reference to Protocol in is_in_path() explicit" | Volker Lendecke | 2 | -4/+2 | |
This reverts commit f7b4151a64d8c6851e62255a7139fd00a5fc63a3. | |||||
2009-11-23 | Revert "s3: Move the global variable Protocol to struct smbd_server_connection" | Volker Lendecke | 1 | -1/+1 | |
This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea. | |||||
2009-11-21 | s3: Move the global variable Protocol to struct smbd_server_connection | Volker Lendecke | 1 | -1/+1 | |
2009-11-21 | s3: Make the implicit reference to Protocol in is_in_path() explicit | Volker Lendecke | 2 | -2/+4 | |
2009-11-18 | s3: Replace some create_synthetic_smb_fname() calls | Volker Lendecke | 1 | -11/+7 | |
In very hot codepaths like the statcache copy_smb_filename and the subsequent recursive talloc_free is noticable in the CPU load. | |||||
2009-11-18 | s3: Do not talloc in readdir | Volker Lendecke | 4 | -25/+37 | |
This is a hot codepath (called from the stat cache) | |||||
2009-11-17 | Remove "store create time" code, cause create time to be stored | Jeremy Allison | 2 | -4/+2 | |
in the "user.DOSATTRIB" EA. From the docs: In Samba 3.5.0 and above the "user.DOSATTRIB" extended attribute has been extended to store the create time for a file as well as the DOS attributes. This is done in a backwards compatible way so files created by Samba 3.5.0 and above can still have the DOS attribute read from this extended attribute by earlier versions of Samba, but they will not be able to read the create time stored there. Storing the create time separately from the normal filesystem meta-data allows Samba to faithfully reproduce NTFS semantics on top of a POSIX filesystem. Passes make test but will need more testing. Jeremy. | |||||
2009-11-11 | Second part of bugfix for 6865 - acl_xattr module: Has dependency that ↵ | Jeremy Allison | 2 | -4/+10 | |
inherit acls = yes or xattrs are removed. We also need dos filemode = true set as well. Jeremy. | |||||
2009-11-11 | s3:vfs_fs_capabilities: fix a debug message | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-11-06 | Fix bug 6865 - acl_xattr module: Has dependency that inherit acls = yes or ↵ | Jeremy Allison | 2 | -0/+18 | |
xattrs are removed. Jeremy. | |||||
2009-11-04 | s3: add support for full windows timestamps resolution on files | Björn Jacke | 1 | -6/+13 | |
setting nanosecond timestamps using utimensat() was first supported by Linux kernel 2.6.22 and glibc 2.6. It's specified in POSIX.1-2008. This effectively makes us use Windows' full 100ns timestamp resolution - actually just an improvement from 10^-6 to 10^-7. For now Linux CIFS vfs will also just be able to make use of 100ns resolution, not 1ns. | |||||
2009-10-29 | Start fixing the RAW-STREAMS test - ensure that the xattr | Jeremy Allison | 1 | -2/+0 | |
used to store the stream info in streams_depot.so is not seen in when enumerating EAs. Jeremy. | |||||
2009-10-23 | Fix bug 6802 - A created folder does not properly inherit permissions from ↵ | Barry Sabsevitz | 1 | -4/+38 | |
parent. | |||||
2009-10-16 | Add comment explaining about symlink following & posix. | Jeremy Allison | 1 | -1/+6 | |
Jeremy. | |||||
2009-10-16 | Last 2 VFS_STAT -> LSTAT fixes I can see in the modules code. | Jeremy Allison | 2 | -2/+14 | |
Jeremy. | |||||
2009-10-16 | Fix one missing STAT -> LSTAT with POSIX pathnames in vfs_xattr_tdb.c. ↵ | Jeremy Allison | 1 | -1/+7 | |
Caught by the torture tester. I love unit tests :-). Jeremy. | |||||
2009-10-13 | s3: Fix vfs_shadow_copy2 to allow in-path @GMT-xxx | Andrew Tridgell | 1 | -21/+126 | |
2009-10-06 | s3: Add access_mask to the flock VFS call | Abhidnya P Chirmule | 4 | -8/+8 | |
2009-10-02 | Remove lots of duplicate code and move it into one | Jeremy Allison | 2 | -49/+31 | |
function vfs_stat_fsp(). Stops code looking at fsp->posix_open except for exceptional circumstances. Jeremy. | |||||
2009-10-02 | Fix more use of VFS_STAT when posix pathnames selected. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-10-01 | Fix bug #6769 - symlink unlink does nothing. | Jeremy Allison | 1 | -1/+5 | |
Always use LSTAT for POSIX pathnames. Jeremy. | |||||
2009-09-28 | changed debuglevel for two messages in the GPFS module from 0 to 10 they ↵ | Christian Ambach | 1 | -2/+2 | |
spammed the logs on a test machine and they are just debug messages, so let's move them to the level of the other debug messages in the file Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com> | |||||
2009-09-24 | s3:vfs_default - correct function parameters | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
2009-09-24 | s3 onefs: Fix 1 second share mode delay handling | Steven Danneman | 1 | -3/+33 | |
When racing to the open and loosing we may get a share_mode violation. In this case handle the 1-second delay via a defferred open properly. This requires us to retrieve the share_mode_lock before deferring open so we don't dereference a NULL pointer assuming we already had the lck because we were the first opener. | |||||
2009-09-24 | s3 onefs: Fix a race condition exists in onefs_open.c between multiple opens ↵ | Steven Danneman | 1 | -5/+19 | |
to the same file. Two openers can stat a file at the same time, see that it doesn't exist, and then both race to open it first. The loser will enter onefs_open_file_ntcreate believing that the file doesnt exist, and thus skip any current state lookups for that file. This includes setting the file_id, and having a valid stat buffer. Normally on first create the file_id will be set during the open, but the second opener in this scenario may fail the open (oplock/share mode) and file_id will not be set, nor will the stat buffer be valid. In the error paths of this patch, we now double check that the file_id and the stat buffer are valid before doing other operations. | |||||
2009-09-24 | s3 onefs: Add some debugging/asserts to give more info when there is bad ↵ | Zack Kirsch | 1 | -9/+24 | |
deferred open state. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-09-24 | s3: Add more helpful debugging to some of the streams code | Tim Prouty | 2 | -1/+24 | |
2009-09-24 | vfs catia: Fix a NULL dereference when CATIA is loaded with no mappings ↵ | Aravind Srinivasan | 1 | -1/+8 | |
specified. When we use the CATIA vfs module and don't have any mapping specified, we return NULL for the mapped_name, thereby resulting in segfaults. When we don't have catia mapping, we should just use the old name instead of returning NULL for the mapped_name. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-09-24 | vfs catia: Fix the double translation that was happening with createfile and ↵ | Aravind Srinivasan | 3 | -92/+60 | |
open. Since the catia translation is implemented for open, it should not also be done in createfile. By removing createfile from catia, translation is now done correctly for the primary open path. In order to support systems that have custom createfile implementations that don't eventually call SMB_VFS_OPEN, SMB_VFS_TRANSLATE_NAME has been expanded to take an additional argument that specifies direction. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-09-24 | vfs catia: Fix a possible NULL dereference | Aravind Srinivasan | 1 | -2/+9 | |
Also free some unfreed memory. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-09-24 | s3: Forgot to check in one build failure for vfs_gpfs.c | Volker Lendecke | 1 | -1/+1 | |
2009-09-24 | s3: Remove an unused variable | Volker Lendecke | 1 | -1/+0 | |
2009-09-24 | s3: Make the vfs_gpfs compile at least | Volker Lendecke | 1 | -19/+23 | |
Not sure whether it works in this state :-) | |||||
2009-09-18 | s3:smbd: Attempt to fix the build on HP/UX | Volker Lendecke | 1 | -0/+1 | |
2009-09-17 | To set file create/birth time in GPFS. Signed-off-by: Abhidnya Chirmule ↵ | Abhidnya Chirmule | 1 | -0/+42 | |
<achirmul@in.ibm.com> | |||||
2009-09-17 | s3:vfs: Fix the build of vfs_tsmsm after the VFS rewrite | Volker Lendecke | 1 | -3/+3 | |
2009-09-16 | s3: Fix reading beyond the end of a named stream in xattr_streams | Volker Lendecke | 1 | -2/+1 | |
This was found thanks to a test by Sivani from Microsoft against Samba at the SDC plugfest | |||||
2009-09-16 | s3: Add some debugs to streams_xattr | Volker Lendecke | 1 | -0/+6 | |
2009-09-14 | s3:vfs_catia: Make some fns static | Volker Lendecke | 1 | -3/+3 | |
2009-09-14 | s3:vfs_catia: Use talloc_zero for simplification | Volker Lendecke | 1 | -2/+1 | |
2009-09-14 | s3:vfs_modules: Fix Coverity ID 946: OVERRUN_STATIC | Volker Lendecke | 1 | -1/+1 | |
Tim, please check! | |||||
2009-09-14 | s3: Test short reads in the build farm | Volker Lendecke | 1 | -0/+3 | |
2009-09-09 | Fix compile in a usually non-selected define. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. |