Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-11-14 | Move error reporting of messaging context creation fail into | Jeremy Allison | 1 | -1/+5 | |
the daemons themselves. Allows client utilities to silently fail to create a messaging context due to access denied on the messaging tdb (which I need for the following patch). Jeremy. | |||||
2010-10-03 | s3: Add msg_ctx_to_sconn | Volker Lendecke | 1 | -0/+13 | |
2010-09-28 | s3: Remove some remaining files.c globals to sconn | Volker Lendecke | 1 | -14/+0 | |
2010-09-28 | s3: Move "Files" to smbd_server_connection | Volker Lendecke | 1 | -1/+0 | |
2010-09-28 | s3: Remove "server_fd" global variable | Volker Lendecke | 1 | -1/+0 | |
2010-08-26 | s3-build: only include memcache.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-24 | s3: Make char_flags and base_reverse const arrays | Volker Lendecke | 1 | -6/+0 | |
This moves those arrays from dynamic to static, shared memory, removing them from globals.c. I did it by dumping the result of init_tables() with dump_data(). Some massage by an editor macro made it the initializer. | |||||
2010-08-24 | s3: Move "trans_num" to smbd_server_connection | Volker Lendecke | 1 | -1/+0 | |
2010-07-13 | Revert "Remove the global char *LastDir." | Jeremy Allison | 1 | -0/+1 | |
Volker pointed out I'd missed the "last directory" cache part of this code. Return us to caching the directory we're in (reduces sys call load). Mea maxima culpa. Jeremy. This reverts commit 2f30aea3324f32f9b8555e961256fc1280da2871. | |||||
2010-06-10 | s3:lib make server contexts generic | Simo Sorce | 1 | -16/+1 | |
Pair-programmed-with: Andreas Schneider <asn@samba.org> | |||||
2010-06-10 | Don't use the autofree context for the globals. This causes child smbd's forked | Jeremy Allison | 1 | -2/+12 | |
by modules to crash due to destructors being called (found when using the vfs_aio_fork module with smb2). Jeremy. | |||||
2010-06-04 | s3-smbd: Remove unneeded dependency of map_username to globals.c. | Andreas Schneider | 1 | -3/+0 | |
Reviewed-by: Simo Sorce <idra@samba.org> | |||||
2010-05-28 | s3:smbd move messaging_context and memcache into globals.c | Andrew Bartlett | 1 | -0/+27 | |
This helps vfstest, which previously had duplicate copies of these functions. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-05-13 | Be more forgiving on client oplock break failure (as Windows does). Remove a ↵ | Jeremy Allison | 1 | -1/+0 | |
global. Jeremy. | |||||
2010-04-29 | Move the global blocking lock records into the smb1 state. | Jeremy Allison | 1 | -12/+0 | |
Jeremy | |||||
2010-03-22 | s3:smbd: add echo handler information to struct smbd_server_connection | Stefan Metzmacher | 1 | -0/+3 | |
metze | |||||
2010-03-01 | s3: Abstract access to sessionid.tdb, similar to conn_tdb.c | Volker Lendecke | 1 | -2/+0 | |
2010-01-12 | Remove the global char *LastDir. | Jeremy Allison | 1 | -1/+0 | |
This is no longer used for anything. | |||||
2009-11-23 | Revert "s3: Move the global variable Protocol to struct smbd_server_connection" | Volker Lendecke | 1 | -10/+0 | |
This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea. | |||||
2009-11-21 | s3: Move the global variable Protocol to struct smbd_server_connection | Volker Lendecke | 1 | -0/+10 | |
2009-09-17 | We now pass the Microsoft SMB2 fileio test with EA's and streams... | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-08-07 | s3:smbd: move dptr globals into struct smbd_server_connection | Stefan Metzmacher | 1 | -4/+0 | |
metze | |||||
2009-07-17 | Move the initialization of smbd_server_conn from smbd/process, | Jeremy Allison | 1 | -0/+5 | |
after the accept and fork, to smbd_init_globals(), so it's done immediately on server startup. This is needed as some messages are sent to all active smbd processes (including the master listening daemon). If it gets a message that forces it to scan it's current connections (ie. conn_find()) then it discovers that sconn->smb1.tcons.Connections dereferences null (as sconn == NULL in the parent) and crashes. Yes, I could fix all cases where sconn is used and explicitly check for NULL but this fix is easier. It means that the smbd_event_context() is initialized in the master daemon and then re-initialized after fork, but that should be being done correctly in every fork call anyway. Without this change the previous fix 6a9e0039100b57f9626e87defec6720c476b9789 still panics in the reproducible test case for bug 6564, as this is one case where such a message (MSG_SMB_CONF_UPDATED) is sent to the parent. Metze please check. This change passes valgrind. Jeremy. | |||||
2009-07-02 | s3:smbd: move global notify_changes_by_mid to smbd_server_connection | Stefan Metzmacher | 1 | -2/+0 | |
metze | |||||
2009-06-03 | s3:smbd: move tcon specific globals to struct smbd_server_connection | Stefan Metzmacher | 1 | -5/+0 | |
metze | |||||
2009-06-03 | s3:smbd: move more session specific globals to struct smbd_server_connection | Stefan Metzmacher | 1 | -12/+0 | |
metze | |||||
2009-06-03 | s3:smbd: move some session specific globals to struct smbd_server_connection | Stefan Metzmacher | 1 | -8/+0 | |
metze | |||||
2009-06-03 | s3:smbd: move already_got_session to struct smbd_server_connection | Stefan Metzmacher | 1 | -2/+0 | |
metze | |||||
2009-06-03 | s3:smbd: move max_recv to struct smbd_server_connection | Stefan Metzmacher | 1 | -5/+0 | |
metze | |||||
2009-06-03 | s3:smbd: move negprot related globals to struct smbd_server_connection | Stefan Metzmacher | 1 | -5/+0 | |
metze | |||||
2009-06-03 | s3:smbd: move pending_auth_data list to struct smbd_server_connection | Stefan Metzmacher | 1 | -4/+0 | |
metze | |||||
2009-05-26 | s3:smbd: remove unused global 'orig_inbuf' | Stefan Metzmacher | 1 | -1/+0 | |
metze | |||||
2009-02-19 | s3: Add extid to the dev/inode pair | Tim Prouty | 1 | -1/+2 | |
This extends the file_id struct to add an additional generic uint64_t field: extid. For backwards compatibility with dev/inodes stored in xattr_tdbs and acl_tdbs, the ext id is ignored for these databases. This patch should cause no functional change on systems that don't use SMB_VFS_FILE_ID_CREATE to set the extid. Existing code that uses the smb_share_mode library will need to be updated to be compatibile with the new extid. | |||||
2009-01-27 | s3:smbd: make kernel oplocks event driven | Stefan Metzmacher | 1 | -9/+0 | |
And use signal events for Linux oplocks. metze | |||||
2009-01-27 | s3:smbd: convert aio to use tevent_signal | Stefan Metzmacher | 1 | -2/+1 | |
metze | |||||
2009-01-27 | s3:smbd: use signal events for SIGTERM, SIGHUP and SIGCHLD | Stefan Metzmacher | 1 | -3/+0 | |
metze | |||||
2009-01-22 | s3:smbd: restructure kernel oplocks code | Stefan Metzmacher | 1 | -12/+1 | |
This converts the irix oplocks code to use a fd event and removes the last special case for file descriptors for the main sys_select(). metze | |||||
2009-01-09 | s3:smbd: handle incoming smb requests via event handlers | Stefan Metzmacher | 1 | -0/+2 | |
We use a fd event and receive incoming smb requests when the fd becomes readable. It's not completely nonblocking yet, but it should behave like the old code. We use timed events to trigger retries for deferred open calls. metze | |||||
2009-01-08 | s3:smbd: move all globals and static variables in globals.[ch] | Stefan Metzmacher | 1 | -0/+221 | |
The goal is to move all this variables into a big context structure. metze |