Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_ARCHIVE intead of aARCH | Andrew Bartlett | 1 | -7/+7 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIR | Andrew Bartlett | 1 | -9/+9 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEM | Andrew Bartlett | 1 | -7/+7 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDEN | Andrew Bartlett | 1 | -13/+13 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_READONLY intead of aRONLY | Andrew Bartlett | 1 | -10/+10 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-15 | Use handle based xattr set if available. | Jeremy Allison | 1 | -4/+5 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 15 22:11:12 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | Fix bug #7996 - sgid bit lost on folder rename. | Jeremy Allison | 1 | -0/+21 | |
Refuse to set dos attributes into unix mode bits on such a folder. | |||||
2011-03-30 | s3: include smbd/smbd.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3-includes: only include system/filesys.h when needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-02 | s3: Pass smb_filename through the set_offline vfs op | Volker Lendecke | 1 | -1/+1 | |
2011-03-02 | s3: Pass smb_filename through the is_offline vfs op | Volker Lendecke | 1 | -1/+1 | |
2011-02-10 | s3:smbd: fix switch indentation level in get_ea_dos_attribute() | Michael Adam | 1 | -4/+4 | |
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Feb 10 17:46:12 CET 2011 on sn-devel-104 | |||||
2010-12-29 | Fix bug #7892 - open_file_fchmod() leaves a stale lock. | Jeremy Allison | 1 | -7/+4 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 29 02:15:23 CET 2010 on sn-devel-104 | |||||
2010-12-21 | Keep track of the sparse status of an open file handle. Allows bypass of | Jeremy Allison | 1 | -0/+2 | |
strict allocation on sparse files. Files opened as POSIX opens are always sparse. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Dec 21 04:12:22 CET 2010 on sn-devel-104 | |||||
2010-12-20 | From metze's work on sparse attributes. FILE_ATTRIBUTE_SPARSE is valid on ↵ | Jeremy Allison | 1 | -1/+2 | |
get but not on set. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Dec 20 20:11:22 CET 2010 on sn-devel-104 | |||||
2010-12-17 | Move checks inside file_set_sparse() to allow it to be called from anywhere. | Jeremy Allison | 1 | -1/+21 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Dec 17 21:56:38 CET 2010 on sn-devel-104 | |||||
2010-12-17 | file_set_sparse needs to be a handle based call. | Jeremy Allison | 1 | -10/+8 | |
2010-12-17 | s3:smbd: add file_set_sparse() function | Björn Jacke | 1 | -0/+49 | |
this is based on a patch for 3.3 from metze | |||||
2010-12-17 | s3: remove set_sparse_flag | Björn Jacke | 1 | -15/+1 | |
we need to determine sparseness from the sparse flag we store not from the allocation size on the POSIX filesystem. This is how Windows works - in the first place sparseness is a file flag, not the allocation state of the file Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-12-17 | s3: add FILE_ATTRIBUTE_SPARSE to get_stat_dos_flags | Björn Jacke | 1 | -0/+2 | |
2010-10-26 | s3: Fix some DEBUG msgs | Volker Lendecke | 1 | -5/+5 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Oct 26 15:20:01 UTC 2010 on sn-devel-104 | |||||
2010-05-18 | s3: Remove use of iconv_convenience. | Jelmer Vernooij | 1 | -2/+2 | |
2010-02-01 | Add debug to make it clear when EA dosmode set is invoked. | Jeremy Allison | 1 | -0/+5 | |
Jeremy. | |||||
2010-02-01 | Fix bug #7084 - Create time on directories not stored properly in an EA in ↵ | Jeremy Allison | 1 | -7/+0 | |
new create time code. Remove erroneous optimisation that caused no EA to be set if calculated btime matched st_ex btime, and calculated DOS attribute matched existing file attribute. Jeremy. | |||||
2010-01-25 | Correct fix for unused variable return from ndr_decode. Use it :-). | Jeremy Allison | 1 | -0/+8 | |
Jeremy. | |||||
2010-01-25 | Revert "s3: remove unused Variable" | Jeremy Allison | 1 | -0/+4 | |
This reverts commit 9536d94d5478b63fc05047964b40d8786a7246c4. Bjorn, your change removed the ndr_decoding of the dos attribute. Not a good idea :-). Jeremy. | |||||
2010-01-26 | s3: remove unused Variable | Björn Jacke | 1 | -4/+0 | |
Jeremy, please check! | |||||
2009-12-15 | Ensure dos_mode can return FILE_ATTRIBUTE_NORMAL, then filter the returned ↵ | Jeremy Allison | 1 | -8/+20 | |
attributes by protocol level. This makes us consistant in returning DOS attrs across all replies. Tested on OS/2 by Günter Kukkukk. Jeremy. | |||||
2009-11-23 | Revert "s3: Make the implicit reference to Protocol in is_in_path() explicit" | Volker Lendecke | 1 | -4/+2 | |
This reverts commit f7b4151a64d8c6851e62255a7139fd00a5fc63a3. | |||||
2009-11-23 | Revert "s3: Move the global variable Protocol to struct smbd_server_connection" | Volker Lendecke | 1 | -6/+4 | |
This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea. | |||||
2009-11-21 | s3: Move the global variable Protocol to struct smbd_server_connection | Volker Lendecke | 1 | -4/+6 | |
2009-11-21 | s3: Make the implicit reference to Protocol in is_in_path() explicit | Volker Lendecke | 1 | -2/+4 | |
2009-11-17 | Remove "store create time" code, cause create time to be stored | Jeremy Allison | 1 | -99/+145 | |
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-05 | Get closer to an accurate model of Windows timestamp changes. | Jeremy Allison | 1 | -16/+0 | |
"Normal" non truncate writes always cause the timestamp to be set on close. Once a close is done on a handle this can reset the sticky write time to current time also. Updated smbtorture4 confirms this. Jeremy. | |||||
2009-11-04 | Fix debug comment (brain wasn't working...). | Jeremy Allison | 1 | -2/+2 | |
Jeremy. | |||||
2009-11-04 | Filter the returned DOS attributes by 0xFF for clients | Jeremy Allison | 1 | -0/+12 | |
using older protocols (LANMAN2 or below). Jeremy. | |||||
2009-08-24 | Second attempt at fix for bug 6529 - Offline files conflict with Vista and ↵ | Jeremy Allison | 1 | -1/+1 | |
Office 2003. Confirmation from reporter that this fixes the issue in master on ext3/ext4. Back-ports to follow. Jeremy. | |||||
2009-08-12 | Fix BASE-DELAYWRITE test by removing const from struct smb_filename | Jeremy Allison | 1 | -0/+2 | |
in smbd_do_qfilepathinfo(). update_stat_ex_mtime() modifies the stat struct inside the smb_fname so don't make a copy of that stat struct, use it directly - it's meant to be updated and represent the state of the file we're returning. Jeremy. | |||||
2009-08-12 | Add "store create time" parameter (docs to follow) | Jeremy Allison | 1 | -4/+87 | |
that stores the create time in the user.DosTimestamps EA. Jeremy. | |||||
2009-08-10 | Refactor the use of create_time and change time to go | Jeremy Allison | 1 | -0/+20 | |
through functions. Will aid in making us pass RAW-SETFILEINFO. Jeremy. | |||||
2009-07-30 | Tidy up treatment of ctime. | Jeremy Allison | 1 | -0/+2 | |
Jeremy. | |||||
2009-07-20 | s3: Change fsp->fsp_name to be an smb_filename struct! | Tim Prouty | 1 | -1/+1 | |
2009-07-09 | s3: Fix two arguments that broke when plumbing smb_filneame through dos_mode() | Tim Prouty | 1 | -2/+2 | |
2009-07-08 | s3: Plumb smb_filename through dos_mode() and related funtions | Tim Prouty | 1 | -84/+93 | |
2009-07-08 | s3: convert unix_mode to take an smb_filename | Tim Prouty | 1 | -11/+29 | |
2009-07-07 | s3: Remove unnecessary const qualifiers | Tim Prouty | 1 | -3/+2 | |
2009-07-06 | s3: Plumb smb_filename through SMB_VFS_NTIMES | Tim Prouty | 1 | -14/+4 | |
2009-07-06 | s3 sticky write time: Removed unused args and tighten up a function by ↵ | Tim Prouty | 1 | -4/+3 | |
making an arg const | |||||
2009-07-06 | s3: Plumb smb_filename around SMB_VFS_CHFLAGS | Tim Prouty | 1 | -44/+49 | |
SMB_VFS_CHFLAGS isn't actually getting the smb_filename struct for now since it only operates on the basefile. This is the strategy for all path-based operations that will never actually operate on a stream. By clarifying the meaning of path based operations that don't take an smb_filename struct, modules that implement streams such as vfs_onefs no longer need to implement SMB_VFS_CHFLAGS to ensure it's only called on the base_name. | |||||
2009-06-25 | s3: pass a valid stat into file_ntimes() | Tim Prouty | 1 | -2/+2 | |
file_ntimes() calls can_write_to_file() which expects a valid stat struct |