summaryrefslogtreecommitdiffstats
path: root/source3/smbd
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix coverity CID: 932 - forward null.Jeremy Allison2009-08-211-2/+4
| | | | Jeremy.
* s3:smbd: implement SMB2 Find (Query Directory)Stefan Metzmacher2009-08-191-1/+197
| | | | metze
* s3:smbd: store a dirptr on the files_struct for SMB2 Query DirectoryStefan Metzmacher2009-08-191-0/+4
| | | | metze
* s3:smbd: add a generic smbd_dirptr_lanman2_entry() functionStefan Metzmacher2009-08-192-46/+214
| | | | | | | | This can we used by SMB2, the key difference between SMB1 and SMB2 is that with SMB2 entries are aligned to 8 bytes and there's no padding at the end of the last entry. metze
* s3:smbd: implement all SMB2 Create contexts except "ExtA"Stefan Metzmacher2009-08-191-8/+217
| | | | metze
* s3:smbd: make smbd_check_open_rights() function non-static for use in SMB2Stefan Metzmacher2009-08-192-8/+13
| | | | metze
* s3:smbd: parse context blobs in SMB2 CreateStefan Metzmacher2009-08-191-48/+150
| | | | metze
* s3:smbd: add support for canceling SMB2 Notify calls.Stefan Metzmacher2009-08-171-0/+17
| | | | metze
* s3:smbd: add smbd_notify_cancel_by_smbreq()Stefan Metzmacher2009-08-172-0/+23
| | | | | | This function will be used by the SMB2 notify code. metze
* s3:smbd: implement SMB2 Cancel correctly.Stefan Metzmacher2009-08-1713-60/+32
| | | | metze
* s3:smbd: allow SMB2 Cancel to have the async flag setStefan Metzmacher2009-08-141-6/+8
| | | | metze
* s3:smbd: fix parsing of the SMB2 bodyStefan Metzmacher2009-08-141-5/+7
| | | | | | Maybe there's no dynamic part on the wire. metze
* Fix BASE-DELAYWRITE test by removing const from struct smb_filenameJeremy Allison2009-08-123-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.
* Add "store create time" parameter (docs to follow)Jeremy Allison2009-08-125-13/+106
| | | | | that stores the create time in the user.DosTimestamps EA. Jeremy.
* libcli: move some common SMB and SMB2 stuff into libcli/smb/Stefan Metzmacher2009-08-1219-19/+19
| | | | | | This will hold code that's shared between source3 and source4. metze
* s3:smbd: as check_path_syntax() changes the string, we need to copy the ↵Stefan Metzmacher2009-08-121-2/+8
| | | | | | string before metze
* s3:smbd: avoid 'goto out' in smbd_smb2_create_send()Stefan Metzmacher2009-08-121-20/+15
| | | | metze
* s3:smbd: make sure we don't call conn_free() with a NULL pointer for SMB2Stefan Metzmacher2009-08-121-1/+3
| | | | metze
* s3:smbd: correctly invalidate vuids when SMB2 is usedStefan Metzmacher2009-08-122-0/+5
| | | | metze
* Ensure the fsp->fsp_name stat_ex struct is alwaysJeremy Allison2009-08-101-0/+1
| | | | | up to date after the open. Jeremy.
* Refactor the use of create_time and change time to goJeremy Allison2009-08-104-26/+66
| | | | | through functions. Will aid in making us pass RAW-SETFILEINFO. Jeremy.
* s3:smbd: convert '\\' into '/' in SMB2 CreateStefan Metzmacher2009-08-081-0/+8
| | | | metze
* s3:smbd: rename conn => sconn for smbd_server_connection structsStefan Metzmacher2009-08-0815-118/+118
| | | | | | | This should avoid confusion between smbd_server_connection and connection_struct variables. metze
* Move the checks for null timestamps down below the VFS_NTIMESJeremy Allison2009-08-071-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.
* Correctly send out notify messages for timestamp changes.Jeremy Allison2009-08-071-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.
* s3:smbd: split the dir entry marshalling into smbd_marshall_dir_entry()Stefan Metzmacher2009-08-071-443/+482
| | | | | | So that we can reuse it for SMB2 Find. metze
* s3:smbd: move dptr globals into struct smbd_server_connectionStefan Metzmacher2009-08-077-88/+135
| | | | metze
* s3:smbd: remove dirptr and dirpath from connection_structStefan Metzmacher2009-08-075-48/+46
| | | | | | | They're both only used in the context of a function, so we can make them stack variables. metze
* s3:smbd: implement get_lanman2_dir_entry() on top of smbd_dirptr_get_entry()Stefan Metzmacher2009-08-071-229/+215
| | | | metze
* s3:smbd: let get_dir_entry() use smbd_dirptr_get_entry()Stefan Metzmacher2009-08-071-139/+89
| | | | metze
* s3:smbd: add generic smbd_dirptr_get_entry()Stefan Metzmacher2009-08-072-0/+163
| | | | metze
* s3:smbd: conn_free_internal() can be static nowStefan Metzmacher2009-08-073-17/+17
| | | | metze
* s3:smbd: add a smbd_server_connection pointer to connection_structStefan Metzmacher2009-08-075-31/+35
| | | | | | | This can be NULL for faked connection structs used in the rpc server or printing code. metze
* s3:smbd: don't ignore check_descend in get_dir_entry()Stefan Metzmacher2009-08-071-0/+6
| | | | metze
* s3: Fix a bug in renames of directoriesTim Prouty2009-08-061-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.
* Remove a const warning.Jeremy Allison2009-08-061-1/+1
| | | | Jeremy.
* Put SMB_INFO_STANDARD back into setfileinfo, but do it rightJeremy Allison2009-08-061-0/+45
| | | | | this time :-). Jeremy.
* We're not changing last write, but setting this to be ↵Jeremy Allison2009-07-311-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.
* Tidy up treatment of ctime.Jeremy Allison2009-07-302-5/+9
| | | | Jeremy.
* Fix bug #6529 - Offline files conflict with Vista and Office 2003.Jeremy Allison2009-07-301-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.
* Remove the extraneous logic in smb_set_info_standard - weJeremy Allison2009-07-301-26/+8
| | | | | do the time twiddling logic at the smb_set_file_time level. Jeremy.
* SMB_INFO_STANDARD is not a valid info level on set,Jeremy Allison2009-07-301-42/+0
| | | | | and was being read incorrectly anyway. Remove. Jeremy.
* Added prefer_ipv4 bool parameter to resolve_name().Jeremy Allison2009-07-281-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.
* Fix a valgrind error in chain_replyVolker Lendecke2009-07-271-3/+10
| | | | construct_reply() references the request after chain_reply has freed it.
* Move 16 bytes from data to r/o text segmentVolker Lendecke2009-07-251-1/+1
|
* First patch for "new VFS" portabilityVolker Lendecke2009-07-251-5/+5
|
* s3: Convert a few callers of unix_convert() over to filename_convert()Tim Prouty2009-07-245-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.
* s3: Remove a few callers of get_full_smb_filename()Tim Prouty2009-07-242-45/+81
|
* s3 onefs: Fix the onefs modules after the big refactoringTim Prouty2009-07-241-12/+12
|
* s3: Simplify rename_internals() by passing in smb_filename structsTim Prouty2009-07-243-155/+125
|