Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-08-17 | s3:smbd: add support for canceling SMB2 Notify calls. | Stefan Metzmacher | 1 | -0/+17 | |
metze | |||||
2009-08-17 | s3:smbd: add smbd_notify_cancel_by_smbreq() | Stefan Metzmacher | 2 | -0/+23 | |
This function will be used by the SMB2 notify code. metze | |||||
2009-08-17 | s3:smbd: implement SMB2 Cancel correctly. | Stefan Metzmacher | 13 | -60/+32 | |
metze | |||||
2009-08-14 | s3:smbd: allow SMB2 Cancel to have the async flag set | Stefan Metzmacher | 1 | -6/+8 | |
metze | |||||
2009-08-14 | s3:smbd: fix parsing of the SMB2 body | Stefan Metzmacher | 1 | -5/+7 | |
Maybe there's no dynamic part on the wire. metze | |||||
2009-08-12 | Fix BASE-DELAYWRITE test by removing const from struct smb_filename | Jeremy Allison | 3 | -21/+21 | |
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 | 5 | -13/+106 | |
that stores the create time in the user.DosTimestamps EA. Jeremy. | |||||
2009-08-12 | libcli: move some common SMB and SMB2 stuff into libcli/smb/ | Stefan Metzmacher | 19 | -19/+19 | |
This will hold code that's shared between source3 and source4. metze | |||||
2009-08-12 | s3:smbd: as check_path_syntax() changes the string, we need to copy the ↵ | Stefan Metzmacher | 1 | -2/+8 | |
string before metze | |||||
2009-08-12 | s3:smbd: avoid 'goto out' in smbd_smb2_create_send() | Stefan Metzmacher | 1 | -20/+15 | |
metze | |||||
2009-08-12 | s3:smbd: make sure we don't call conn_free() with a NULL pointer for SMB2 | Stefan Metzmacher | 1 | -1/+3 | |
metze | |||||
2009-08-12 | s3:smbd: correctly invalidate vuids when SMB2 is used | Stefan Metzmacher | 2 | -0/+5 | |
metze | |||||
2009-08-10 | Ensure the fsp->fsp_name stat_ex struct is always | Jeremy Allison | 1 | -0/+1 | |
up to date after the open. Jeremy. | |||||
2009-08-10 | Refactor the use of create_time and change time to go | Jeremy Allison | 4 | -26/+66 | |
through functions. Will aid in making us pass RAW-SETFILEINFO. Jeremy. | |||||
2009-08-08 | s3:smbd: convert '\\' into '/' in SMB2 Create | Stefan Metzmacher | 1 | -0/+8 | |
metze | |||||
2009-08-08 | s3:smbd: rename conn => sconn for smbd_server_connection structs | Stefan Metzmacher | 15 | -118/+118 | |
This should avoid confusion between smbd_server_connection and connection_struct variables. metze | |||||
2009-08-07 | Move the checks for null timestamps down below the VFS_NTIMES | Jeremy Allison | 1 | -30/+3 | |
layer (as it's done in onefs). This simplifies greatly the code in smb_set_file_time() w.r.t. changenotify messages. Jeremy. | |||||
2009-08-07 | Correctly send out notify messages for timestamp changes. | Jeremy Allison | 1 | -5/+3 | |
"change time" has no notify message, so don't send anything out when we change it. Use FILE_NOTIFY_CHANGE_CREATION correctly when changing the create time. Jeremy. | |||||
2009-08-07 | s3:smbd: split the dir entry marshalling into smbd_marshall_dir_entry() | Stefan Metzmacher | 1 | -443/+482 | |
So that we can reuse it for SMB2 Find. metze | |||||
2009-08-07 | s3:smbd: move dptr globals into struct smbd_server_connection | Stefan Metzmacher | 7 | -88/+135 | |
metze | |||||
2009-08-07 | s3:smbd: remove dirptr and dirpath from connection_struct | Stefan Metzmacher | 5 | -48/+46 | |
They're both only used in the context of a function, so we can make them stack variables. metze | |||||
2009-08-07 | s3:smbd: implement get_lanman2_dir_entry() on top of smbd_dirptr_get_entry() | Stefan Metzmacher | 1 | -229/+215 | |
metze | |||||
2009-08-07 | s3:smbd: let get_dir_entry() use smbd_dirptr_get_entry() | Stefan Metzmacher | 1 | -139/+89 | |
metze | |||||
2009-08-07 | s3:smbd: add generic smbd_dirptr_get_entry() | Stefan Metzmacher | 2 | -0/+163 | |
metze | |||||
2009-08-07 | s3:smbd: conn_free_internal() can be static now | Stefan Metzmacher | 3 | -17/+17 | |
metze | |||||
2009-08-07 | s3:smbd: add a smbd_server_connection pointer to connection_struct | Stefan Metzmacher | 5 | -31/+35 | |
This can be NULL for faked connection structs used in the rpc server or printing code. metze | |||||
2009-08-07 | s3:smbd: don't ignore check_descend in get_dir_entry() | Stefan Metzmacher | 1 | -0/+6 | |
metze | |||||
2009-08-06 | s3: Fix a bug in renames of directories | Tim Prouty | 1 | -6/+19 | |
Recently code was added to match windows semantics of denying the rename of a directory if there are open files underneath it. This does partly match windows semantics, but it turns out the rename should be allowed if the open file handle is for the directory being renamed, or for a stream on the directory being renamed. This patch refines the check to better follow these rename semantics. | |||||
2009-08-06 | Remove a const warning. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-08-06 | Put SMB_INFO_STANDARD back into setfileinfo, but do it right | Jeremy Allison | 1 | -0/+45 | |
this time :-). Jeremy. | |||||
2009-07-31 | We're not changing last write, but setting this to be ↵ | Jeremy Allison | 1 | -1/+1 | |
FILE_NOTIFY_CHANGE_CREATION doesn't work. So use FILE_NOTIFY_CHANGE_LAST_WRITE (now seems to reliably fix bug #6529 - Offline files conflict with Vista and Office 2003. Jeremy. | |||||
2009-07-30 | Tidy up treatment of ctime. | Jeremy Allison | 2 | -5/+9 | |
Jeremy. | |||||
2009-07-30 | Fix bug #6529 - Offline files conflict with Vista and Office 2003. | Jeremy Allison | 1 | -0/+16 | |
We need to send a notify message when a timestamp is changed that can't be reflected in the underlying POSIX filesystem. Jeremy. | |||||
2009-07-30 | Remove the extraneous logic in smb_set_info_standard - we | Jeremy Allison | 1 | -26/+8 | |
do the time twiddling logic at the smb_set_file_time level. Jeremy. | |||||
2009-07-30 | SMB_INFO_STANDARD is not a valid info level on set, | Jeremy Allison | 1 | -42/+0 | |
and was being read incorrectly anyway. Remove. Jeremy. | |||||
2009-07-28 | Added prefer_ipv4 bool parameter to resolve_name(). | Jeremy Allison | 1 | -1/+1 | |
W2K3 DC's can have IPv6 addresses but won't serve krb5/ldap or cldap on those addresses. Make sure when we're asking for DC's we prefer IPv4. If you have an IPv6-only network this prioritizing code will be a no-op. And if you have a mixed network then you need to prioritize IPv4 due to W2K3 DC's. Jeremy. | |||||
2009-07-27 | Fix a valgrind error in chain_reply | Volker Lendecke | 1 | -3/+10 | |
construct_reply() references the request after chain_reply has freed it. | |||||
2009-07-25 | Move 16 bytes from data to r/o text segment | Volker Lendecke | 1 | -1/+1 | |
2009-07-25 | First patch for "new VFS" portability | Volker Lendecke | 1 | -5/+5 | |
2009-07-24 | s3: Convert a few callers of unix_convert() over to filename_convert() | Tim Prouty | 5 | -105/+63 | |
This patch also changes the unix convert flags to make sure the correct semantics are preservered for allowing/disallowing wildcards in the last component of the path. | |||||
2009-07-24 | s3: Remove a few callers of get_full_smb_filename() | Tim Prouty | 2 | -45/+81 | |
2009-07-24 | s3 onefs: Fix the onefs modules after the big refactoring | Tim Prouty | 1 | -12/+12 | |
2009-07-24 | s3: Simplify rename_internals() by passing in smb_filename structs | Tim Prouty | 3 | -155/+125 | |
2009-07-24 | s3: Allow filename_convert() to pass through unix_convert_flags and let the ↵ | Tim Prouty | 6 | -42/+82 | |
caller know if the path has a wildcard This also eliminates the need for resolve_dfspath(). | |||||
2009-07-24 | add my copyright after the VFS rewrite | Volker Lendecke | 1 | -0/+1 | |
2009-07-24 | Make the smbd VFS typesafe | Volker Lendecke | 1 | -32/+838 | |
2009-07-24 | In chain_reply, copy the subrequests' error to the main request | Volker Lendecke | 1 | -0/+15 | |
2009-07-24 | Fix a few uninitialized variable warnings | Volker Lendecke | 10 | -20/+20 | |
I know those warnings are bogus, but both Coverity and gcc don't get it. | |||||
2009-07-24 | Fix some nonempty blank lines | Volker Lendecke | 1 | -4/+4 | |
2009-07-22 | s3: Change unix_convert to use an smb_filename struct internally | Tim Prouty | 2 | -138/+168 | |
This allows SMB_VFS_[L]STAT to be called directly. Additionally, I changed NTSTATUS result to be named status for consistency. I also removed the stat_cache_add() from build_stream_path() because stat_cache_lookup() is never actually called on a file with a stream. There is no reason why the stat cache couldn't be consulted for streams in the future. Jeremy/Volker, please take a look at this one when you get a chance. |