Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-06-14 | s3:smbd: try to make fsp->fh->gen_id as globally unique as possible | Stefan Metzmacher | 1 | -1/+19 | |
This makes sure the value is never 0, it's between 1 and UINT32_MAX. While fsp->fh->gen_id is 'unsigned long' currently (which might by 8 bytes), there's some oplock code which truncates it to uint32_t (using IVAL()). Which means we could reuse fsp->fh->gen_id as persistent file id until we have a final fix, which uses database. See bug #8995 for more details. Based on code from Ira Cooper. Ensure fsp->fh->gen_id starts from a random point. We will use this as the SMB2 persistent_id. metze | |||||
2012-06-10 | Revert "s3:smbd: set req->smb2req->compat_chain_fsp in file_fsp()" | Stefan Metzmacher | 1 | -3/+0 | |
This reverts commit c2716a7d5ccf78f9716b703c22e6cf4d4f179656. This is not needed anymore, as we have file_fsp_smb2() now. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sun Jun 10 18:04:21 CEST 2012 on sn-devel-104 | |||||
2012-06-09 | s3:smbd: add file_fsp_smb2() | Stefan Metzmacher | 1 | -0/+43 | |
metze | |||||
2012-06-09 | s3:smbd: set req->smb2req->compat_chain_fsp in file_fsp() | Stefan Metzmacher | 1 | -0/+3 | |
metze | |||||
2012-06-08 | s3: Replace an if with a boolean short circuit | Volker Lendecke | 1 | -5/+3 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-06-08 | s3: Assigning ?True:False to a bool is a bit pointless | Volker Lendecke | 1 | -2/+2 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-06-08 | s3: Remove unnecessary () | Volker Lendecke | 1 | -1/+1 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-06-06 | s3:smbd: let file_close_pid/file_close_user take a uint64_t vuid | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2012-06-06 | s3:smbd: dup_file_fsp() never gets called for print files | Stefan Metzmacher | 1 | -8/+3 | |
metze | |||||
2012-06-06 | s3:smbd: make use of vfs_remove_all_fsp_extensions() in file_free() | Stefan Metzmacher | 1 | -3/+1 | |
metze | |||||
2012-05-24 | s3:smbd/files: split file_init_global() out of file_init() | Stefan Metzmacher | 1 | -13/+34 | |
metze | |||||
2012-05-24 | s3:smbd/files: work without sconn->file_bmap and assign fsp->fnum = -1 | Stefan Metzmacher | 1 | -23/+39 | |
For faked connection_structs we do not need valid fnum values, e.g. in the dfs and printing code. metze | |||||
2012-05-24 | s3:smbd/files: fix error path and correctly cleanup | Stefan Metzmacher | 1 | -7/+7 | |
metze | |||||
2012-05-23 | s3:smbd/files: remove unused VALID_FNUM() | Stefan Metzmacher | 1 | -2/+0 | |
metze | |||||
2012-04-26 | s3: oplock_timeout is a talloc child of fsp | Volker Lendecke | 1 | -3/+0 | |
Jeremy, I know you like it explicit, but I stumbled across this explicit TALLOC_FREE and asked myself about a potentially wrong talloc hierarchy. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Apr 26 23:00:03 CEST 2012 on sn-devel-104 | |||||
2012-04-17 | s3: New notify implementation | Volker Lendecke | 1 | -4/+0 | |
From notify_internal.c: /* * The notify database is split up into two databases: One * relatively static index db and the real notify db with the * volatile entries. */ This change is necessary to make notify scale better in a cluster | |||||
2012-04-10 | s3: Use talloc_get_size instead of strlen | Volker Lendecke | 1 | -1/+1 | |
We've just talloc_asprintf'ed the fullpath, so talloc_get_size knows the strlen. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Apr 10 13:20:22 CEST 2012 on sn-devel-104 | |||||
2012-03-24 | lib/util: Remove obsolete sys_getpid() and sys_fork(). | Jelmer Vernooij | 1 | -1/+1 | |
The performance of these is minimal (these days) and they can return invalid results when used as part of applications that do not use sys_fork(). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 21:55:41 CET 2012 on sn-devel-104 | |||||
2012-03-21 | s3: Move the notify_ctx to the smbd_server_connection | Volker Lendecke | 1 | -2/+4 | |
We only need one notify_ctx per smbd. The notify_array can become quite large. It's based on absolute paths, so there's no point in having a copy of the complete array in memory multiple times. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Mar 21 14:26:07 CET 2012 on sn-devel-104 | |||||
2012-03-06 | s3:smbd: keep 'num_files' and 'files' directly under smbd_server_connection | Stefan Metzmacher | 1 | -7/+7 | |
The plan is to have files_struct as some kind of low level abstraction for a smb1/smb2 opens, that can be used by SMB_VFS modules. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Mar 6 23:04:01 CET 2012 on sn-devel-104 | |||||
2012-02-14 | s3: files_struct->mode is only written, remove it | Volker Lendecke | 1 | -1/+0 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Feb 14 19:14:29 CET 2012 on sn-devel-104 | |||||
2011-07-08 | lib/util Move bitmap.c to lib/util | Andrew Bartlett | 1 | -0/+1 | |
2011-06-20 | source3/smdb/files.c: file_name_hash to use Jenkins hash from CCAN. | Rusty Russell | 1 | -3/+2 | |
Rather than tdb's internal one. | |||||
2011-05-06 | s3: only include tdb headers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
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 | |