Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-12-15 | s3:smbd: split ID_CACHE_* message handling into parent and child parts | Stefan Metzmacher | 1 | -1/+48 | |
metze | |||||
2011-12-14 | s3:smbd: remove brl_register_msgs() | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2011-12-14 | s3:smbd/server: avoid msg_ctx_to_sconn() in smbd_accept_connection() | Stefan Metzmacher | 1 | -1/+1 | |
This is the place where we should create smbd_server_connection, when we're ready to remove the global variable. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Dec 14 11:23:42 CET 2011 on sn-devel-104 | |||||
2011-12-14 | s3:smbd/server: maintain the list of child processes under smbd_parent_context | Stefan Metzmacher | 1 | -31/+55 | |
metze | |||||
2011-12-14 | s3:smbd/server: pass smbd_parent_context to smbd_setup_sig_chld_handler() | Stefan Metzmacher | 1 | -6/+6 | |
metze | |||||
2011-12-14 | s3:smbd/globals: change 'int am_parent' into 'struct smbd_parent_context ↵ | Stefan Metzmacher | 1 | -8/+9 | |
*am_parent' This is a short term solution on the way to get rid of 'am_parent' completely. metze | |||||
2011-12-13 | s3:smbd/server: move smbd_open_socket and smbd_parent_context to the top | Stefan Metzmacher | 1 | -19/+19 | |
metze | |||||
2011-12-13 | s3:smbd: pass smbd_server_connection to smbd_setup_sig_hup_handler() | Stefan Metzmacher | 1 | -2/+1 | |
metze | |||||
2011-12-13 | s3:smbd: pass smbd_server_connection to smbd_setup_sig_term_handler() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-12-13 | s3:smbd/server: remove unused msg_sam_sync() | Stefan Metzmacher | 1 | -15/+0 | |
metze | |||||
2011-12-13 | s3:smbd/server: add parent specific SIGTERM and SIGHUP handlers | Stefan Metzmacher | 1 | -3/+45 | |
metze | |||||
2011-12-13 | s3:smbd/server: create smbd_parent_context earlier | Stefan Metzmacher | 1 | -7/+8 | |
metze | |||||
2011-12-13 | s3:smbd/server: remember the ev_ctx on the smbd_parent_context | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2011-12-13 | s3:smbd/server: remember the msg_ctx on the smbd_parent_context | Stefan Metzmacher | 1 | -4/+4 | |
metze | |||||
2011-12-13 | s3:smbd: register MSG_SMB_FILE_RENAME after the fork | Stefan Metzmacher | 1 | -2/+0 | |
The parent smbd doesn't need to handle this, as it doesn't have any file handles open. metze | |||||
2011-12-13 | s3: Use pid_to_procid | Volker Lendecke | 1 | -2/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 13 12:35:09 CET 2011 on sn-devel-104 | |||||
2011-12-13 | s3: Remove a call to procid_self() | Volker Lendecke | 1 | -1/+1 | |
2011-12-13 | s3: Remove a call to procid_self() | Volker Lendecke | 1 | -1/+1 | |
2011-12-13 | s3: Remove a call to procid_self() | Volker Lendecke | 1 | -2/+3 | |
2011-12-12 | s3: Remove a bunch of calls to procid_self() | Volker Lendecke | 1 | -2/+1 | |
All callers to messaging_[re]init only used procid_self() | |||||
2011-10-31 | s3:smbd: also the parent smbd needs FLAG_MSG_PRINT_GENERAL (bug #8553) | Stefan Metzmacher | 1 | -0/+1 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 31 17:37:34 CET 2011 on sn-devel-104 | |||||
2011-10-13 | libcli/auth: Provide a struct loadparm_context to schannel calls | Andrew Bartlett | 1 | -1/+4 | |
This will allow us to pass this down to the tdb_wrap layer. Andrew Bartlett | |||||
2011-10-12 | s3:smbcontrol: let smbd pass the idmap msg to its children for convenience | Gregor Beck | 1 | -2/+1 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-12 | s3: factor out messaging_send_to_children() | Gregor Beck | 1 | -8/+17 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-09-13 | s3: Remove a reference to smbd_server_conn | Volker Lendecke | 1 | -1/+1 | |
2011-09-13 | s3: Remove a reference to smbd_server_conn | Volker Lendecke | 1 | -1/+1 | |
2011-09-13 | s3: Remove a reference to smbd_server_conn | Volker Lendecke | 1 | -1/+2 | |
2011-09-05 | s3-smbd: Rename reload_printers() and add documentation. | Andreas Schneider | 1 | -1/+1 | |
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Sep 5 17:59:47 CEST 2011 on sn-devel-104 | |||||
2011-08-21 | s3-id_cache: Use better names for id cache management ops | Andreas Schneider | 1 | -2/+2 | |
The IDMAP term is normally associated with Winbind's idmap stuff. These functions deal with id caching not id mapping. Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2011-08-21 | s3-id_cache: Move id caches mgmt out of smbd | Andreas Schneider | 1 | -0/+2 | |
We must leave the MSG_IDMAP_KILL operation in SMBD as it uses smbd specific internal globals and makes sense only in the context of a smbd daemon. The rest is moved under lib/ as we need to deal with id cache cleanups in other daemons too (like lsasd). Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2011-08-21 | s3-rpc_server: Replace RPC_SERVICE_MODE_DAEMON checks | Simo Sorce | 1 | -7/+7 | |
Use rpc_daemon_type() macros where appropriate instead. Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2011-08-21 | s3-smbd: Start lsasd as deamon. | Andreas Schneider | 1 | -4/+15 | |
Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2011-08-13 | s3-smbd Avoid races creating 'ncaclrpc dir' with epmd in a child process | Andrew Bartlett | 1 | -0/+9 | |
2011-08-10 | s3-printing: Do not try to force reload. | Simo Sorce | 1 | -2/+2 | |
Be more correct in load printers at startup. If async process have already started we do not need to force a reload, but we just need to load the printers. If other process have not finished initializing it makes no sense to try to force them as they are masking SIGHUP unitl init is done anyway. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | s3-printing: Force pcap reload when all ready | Simo Sorce | 1 | -1/+5 | |
This way we are sure the cache is primed properly and messages can be sent to processes if necessary as all messaging has been set up. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | s3:spoolssd Start spoolssd from printing_subsystem_init | Simo Sorce | 1 | -22/+8 | |
Use a child for the background updater process Forward printer update messages from spoolss to background update process. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-09 | s3-smbd: Pass tevent context to smbd_server_connection_loop_once(). | Andreas Schneider | 1 | -3/+3 | |
Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2011-08-02 | s3:server Consolidate printing related initialization | Simo Sorce | 1 | -9/+0 | |
Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Aug 2 17:37:44 CEST 2011 on sn-devel-104 | |||||
2011-08-02 | s3:smbd - Move printing queue stuff | Simo Sorce | 1 | -37/+9 | |
This way we can properly deal with pcap updates in the background queue process if it is enabled (on by default) and not perform these actions in the main smbd process. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-08-01 | s3-rpc_server: Use rpc_spoolss_mode(). | Andreas Schneider | 1 | -5/+2 | |
2011-08-01 | s3-rpc_server: Use rpc_epmapper_mode(). | Andreas Schneider | 1 | -5/+2 | |
Remove embedded mode cause this will not work. It was only there for testing. | |||||
2011-08-01 | s3-rpc_server: Rename to rpc service setup. | Andreas Schneider | 1 | -1/+1 | |
2011-07-20 | debug: log early messages to stdout, and keep it open | Andrew Bartlett | 1 | -2/+8 | |
The --log-stdout option was compromised by the log file descriptors being closed once the file process forked. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-07-14 | s3-smbd: Pass event and messaging context to smbd_parent_housekeeping(). | Andreas Schneider | 1 | -3/+5 | |
2011-07-14 | s3-smbd: Pass ev_ctx to remove_child_pid(). | Andreas Schneider | 1 | -3/+5 | |
2011-07-14 | s3-smbd: Pass msg_ctx to smbd_accept_connection. | Andreas Schneider | 1 | -4/+8 | |
2011-07-14 | s3-smbd: Pass ev_ctx to smbd_setup_sig_chld_handler(). | Andreas Schneider | 1 | -5/+5 | |
2011-07-14 | s3-smbd: Pass ev_ctx and msg_ctx to smbd_accept_connection(). | Andreas Schneider | 1 | -3/+13 | |
2011-07-14 | s3-smbd: Pass ev_ctx and msg_ctx to open_sockets_smbd(). | Andreas Schneider | 1 | -7/+9 | |
2011-07-14 | s3-smbd: Pass ev_ctx to smbd_parent_loop(). | Andreas Schneider | 1 | -3/+4 | |