Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-03-30 | s3: include smbd/smbd.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-01-25 | Add name_hash to files_struct. Set within fsp_set_smb_fname(). | Jeremy Allison | 1 | -1/+32 | |
2010-10-12 | libcli/security Provide a common, top level libcli/security/security.h | Andrew Bartlett | 1 | -0/+1 | |
This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104 | |||||
2010-09-28 | s3: Remove some remaining files.c globals to sconn | Volker Lendecke | 1 | -33/+41 | |
2010-09-28 | s3: Remove talloc_autofree_context() from files.c | Volker Lendecke | 1 | -4/+4 | |
2010-09-28 | s3: Lift smbd_server_conn from file_find_fd | Volker Lendecke | 1 | -3/+3 | |
2010-09-28 | s3: Remove smbd_server_conn from file_fsp | Volker Lendecke | 1 | -1/+1 | |
2010-09-28 | s3: Slightly simplify file_fnum | Volker Lendecke | 1 | -2/+15 | |
req==NULL should never happen, see the comment | |||||
2010-09-28 | s3: Remove smbd_server_conn from file_sync_all | Volker Lendecke | 1 | -1/+1 | |
2010-09-28 | s3: Remove smbd_server_conn from file_find_subpath | Volker Lendecke | 1 | -1/+1 | |
2010-09-28 | s3: Lift smbd_server_conn from file_find_di_first | Volker Lendecke | 1 | -2/+3 | |
2010-09-28 | s3: Lift smbd_server_conn from file_find_dif | Volker Lendecke | 1 | -3/+4 | |
2010-09-28 | s3: Remove smbd_server_conn from files_forall | Volker Lendecke | 1 | -1/+2 | |
2010-09-28 | s3: Remove smbd_server_conn from file_close_user | Volker Lendecke | 1 | -2/+2 | |
2010-09-28 | s3: Remove smbd_server_conn from file_close_pid | Volker Lendecke | 1 | -2/+3 | |
2010-09-28 | s3: Remove smbd_server_conn from file_close_conn | Volker Lendecke | 1 | -1/+1 | |
2010-09-28 | s3: Remove smbd_server_conn from file_new and file_free | Volker Lendecke | 1 | -2/+2 | |
2010-09-28 | s3: Lift smbd_server_conn from file_fnum | Volker Lendecke | 1 | -4/+5 | |
2010-09-28 | s3: Move "Files" to smbd_server_connection | Volker Lendecke | 1 | -15/+15 | |
2010-09-27 | s3: Make file_fnum static | Volker Lendecke | 1 | -1/+1 | |
2010-09-27 | s3: Remove some unused code | Volker Lendecke | 1 | -50/+0 | |
2010-09-27 | s3: Fix some comments | Volker Lendecke | 1 | -2/+2 | |
2010-08-13 | s3-smbd: Fixed indent. | Andreas Schneider | 1 | -2/+3 | |
Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2010-06-08 | Fix a valgrind error found by SMB2-COMPOUND test. | Jeremy Allison | 1 | -0/+8 | |
If a file is closed we must also NULL out all chained_fsp pointers when the fsp is freed to prevent invalid pointer access. Jeremy. | |||||
2010-04-23 | s3-smbd: group print relate data in own structure | Simo Sorce | 1 | -1/+9 | |
2010-03-28 | s3: Use bitmap_talloc in files.c | Volker Lendecke | 1 | -1/+2 | |
2010-03-22 | s3: file_walk_table -> files_forall | Volker Lendecke | 1 | -1/+1 | |
This is more in line with the rest of the Samba code, like connections_forall etc. | |||||
2010-03-22 | s3: Fix some nonempty blank lines | Volker Lendecke | 1 | -6/+6 | |
2009-12-02 | Fix bug #6837 - "Too many open files" when trying to access large number of ↵ | Jeremy Allison | 1 | -2/+0 | |
files from Windows 7. Original patch by me fixed up with the correct open files number by jmaggard10@hotmail.com. Jeremy. | |||||
2009-10-07 | Oops. Don't break the build.. | Jeremy Allison | 1 | -3/+2 | |
Jeremy. | |||||
2009-10-07 | Make the logic a lot clearer and fix the comment to match. | Jeremy Allison | 1 | -15/+10 | |
Jeremy | |||||
2009-10-07 | Correct fix for bug 6781 - Cannot rename subfolders in Explorer view with ↵ | Jeremy Allison | 1 | -3/+1 | |
recent versions of Samba. Without this fix, renaming a directory ./a to ./b, whilst a directory ./aa was already open would fail. Jeremy. | |||||
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-07-20 | s3: Separate out a new file: filename_utils.c | Tim Prouty | 1 | -9/+0 | |
This is to ease the linking pain of everything that links LOCKING_OBJ | |||||
2009-07-20 | s3: Change fsp->fsp_name to be an smb_filename struct! | Tim Prouty | 1 | -15/+58 | |
2009-07-20 | s3: Change file_structs to be allocated with talloc instead of malloc | Tim Prouty | 1 | -10/+15 | |
2009-05-18 | Add "file_walk_table" to do stuff with all open files | Volker Lendecke | 1 | -0/+22 | |
2009-04-16 | Add notify_onelevel.tdb | Volker Lendecke | 1 | -0/+4 | |
This optimizes non-recursive notifys. For non-recursive notifies we can use a per-directory file-id indexed notify record. This matters for the Windows Explorer and IIS cases which do not use recursive notifies. In these cases, we do not have to shuffle around the whole notify record on every change. For the cluster case, this improves correctness of the notifies, ctdb only distributes the tdb seqnum once a second, so we can lose notifies. | |||||
2009-02-26 | Make us pass the RAW-RENAME torture test I just added. | Jeremy Allison | 1 | -0/+43 | |
Inside a directory, keep a file open and then renaming the directory should fail with ACCESS_DENIED. Jeremy. | |||||
2009-01-08 | s3:smbd: move all globals and static variables in globals.[ch] | Stefan Metzmacher | 1 | -17/+1 | |
The goal is to move all this variables into a big context structure. metze | |||||
2008-11-21 | First part of fix for bug #5903 - vfs_streams_xattr breaks contents of the file. | Jeremy Allison | 1 | -41/+33 | |
Restructures parts of open code so that fsp must be allocated before calling open_file_ntcreate(_internal). Also fix up file ref-counting inside files.c. Jeremy. | |||||
2008-10-25 | Remove "pipe_handle_offset" -- pipes now use "struct files_struct" | Volker Lendecke | 1 | -5/+0 | |
2008-10-13 | Remove the chain_fsp global | Volker Lendecke | 1 | -19/+9 | |
2008-10-13 | Pass struct smb_request to file_free | Volker Lendecke | 1 | -4/+4 | |
on the way to get rid of chain_fsp | |||||
2008-10-13 | Pass struct smb_request to file_new | Volker Lendecke | 1 | -7/+6 | |
Goal is to remove the chain_fsp global variable | |||||
2008-10-13 | Pass struct smb_request to file_fsp | Volker Lendecke | 1 | -1/+1 | |
The goal is to get rid of the chain_fsp global variable | |||||
2008-10-09 | Remove a pointless level of indirection | Volker Lendecke | 1 | -3/+1 | |
2008-09-26 | Second part of the fix for bug #5790 - samba returns ↵ | Jeremy Allison | 1 | -4/+6 | |
STATUS_OBJECT_NAME_NOT_FOUND on set file disposition call. This was my fault. I use a singleton cache (positive and negative) to speed up pathname based qfileinfo/setfileinfo lookups for alternate fsp's open on the same path. I only invalidated the negative cache on adding a new file fsp, as I incorrectly imagined the new fsp was put at the *end* of the open files list. DLIST_ADD puts it at the start, meaning any subsequent open wasn't seen once the cache was set. Doh ! Jeremy. | |||||
2008-09-24 | Fix bug #5790 samba returns STATUS_OBJECT_NAME_NOT_FOUND on set file ↵ | Jeremy Allison | 1 | -4/+2 | |
disposition. We were checking that fd != -1 in file_find_di_XXX calls which is no longer needed due to a change in internal semantics. Jeremy. | |||||
2008-05-02 | Remove the "stat_open()" function, flag, and all associated code. It was only | Jeremy Allison | 1 | -1/+0 | |
being (correctly) used in the can_read/can_write checks for hide unreadable/unwritable and this is more properly done using the functions in smbd/file_access.c. Preparing to do NT access checks on all file access. Jeremy. (This used to be commit 6bfb06ad95963ae2acb67c4694a98282d3b29faa) |