summaryrefslogtreecommitdiff
path: root/source3/smbd/server_exit.c
AgeCommit message (Collapse)AuthorFilesLines
2012-10-19s3:smbd: add exit_server to the smbd_shim hooksStefan Metzmacher1-2/+2
This is in preparation of moving sessionid_tdb and conn_tdb to smbd exclusively. metze Signed-off-by: Michael Adam <obnox@samba.org>
2012-07-19Move everything to use the common pidfile functions.Jeremy Allison1-1/+2
The extra code in source3/lib/pidfile.c is no longer needed.
2012-07-19Make the s3 pidfile use the common code inside lib/util/pidfile.cJeremy Allison1-1/+1
2012-07-19Move source4/smbd/pidfile into lib/util in preparation for making it in common.Jeremy Allison1-1/+1
2012-06-25s3:smbd: use smbXsrv_session_logoff_all() and smb1srv_tcon_disconnect_all() ↵Michael Adam1-4/+32
in exit_server_common() This removes the use of conn_close_all() and invalidate_all_vuids() Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-06-03s3:smbd: make conn_close_all() a void functionStefan Metzmacher1-1/+1
metze
2012-05-31We are triggering the cleanup_timeout_fn() too often, on exiting when an ↵Jeremy Allison1-11/+4
smbd is idle. Calls to exit_server_cleanly() should be treated as a "clean" shutdown, and not trigger the master smbd to call cleanup_timeout_fn.
2012-05-31s3:smbd: use server_messaging_context() instead of sconn->msg_ctx in ↵Stefan Metzmacher1-2/+3
exit_server_common() sconn is not available in the parent anymore. Thanks to Volker Lendecke <vl@samba.org> for finding this! metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu May 31 18:08:06 CEST 2012 on sn-devel-104
2012-05-24s3:smbd: remove global 'smbd_server_conn' !!!Stefan Metzmacher1-2/+8
For now we still use a global 'global_smbXsrv_connection' in order to pass the connection state to exit_server*(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu May 24 20:07:20 CEST 2012 on sn-devel-104
2011-12-16s3:smbd: avoid using sconn_server_id()Stefan Metzmacher1-1/+2
metze
2011-07-04s3:smb2 fix smbd crash on premature end of smb2 conn (Bug 8286)Christian Ambach1-3/+3
when smbd tries to clean up locks after a premature end of a smb2 connection, lock_db has already been freed and so it crashes this patch changes the order in which items are freed so that lock_db is still around when it is needed Jeremy, Metze, please check Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Mon Jul 4 20:00:26 CEST 2011 on sn-devel-104
2011-05-02s3: include ntdomain.h before including generated srv_ headers.Günther Deschner1-1/+1
Guenther
2011-03-30s3-messages: make ndr_messaging.h part of messages.h.Günther Deschner1-1/+0
Guenther
2011-03-30s3: include smbd/smbd.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-22s3-fault: removed the cont_fn from fault_setup()Andrew Tridgell1-5/+0
cont_fn() was supposed to be a way to continue after a seg fault. It could never be called however, as smb_panic() from fault_report() could never return, as dump_core() never returns at the end of smb_panic() Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Mar 22 05:07:58 CET 2011 on sn-devel-104
2011-03-02s3-server_id: only include server_id where needed.Günther Deschner1-0/+1
Guenther
2011-02-22s3-printing: only include printing where really needed.Günther Deschner1-0/+1
Guenther
2011-02-22s3-printing: isolate print notification prototypes better.Günther Deschner1-0/+1
Guenther
2011-01-04s3-rpcecho: Only register rpcecho in the developer build.Andreas Schneider1-0/+2
Autobuild-User: Andreas Schneider <asn@samba.org> Autobuild-Date: Tue Jan 4 18:56:38 CET 2011 on sn-devel-104
2011-01-04s3-smbd: Call the rpc service shutdown functions.Andreas Schneider1-0/+34
2010-10-27s3-smbd Remove manual override of DEBUGELVEL during exitAndrew Bartlett1-5/+0
This code, originally added at the dawn of time (the import into CVS) does not seem to be required any more, as all the DEBUG() statements in the intermediate functions are at level 0. Andrew Bartlett
2010-09-28s3: Remove smbd_server_conn from files_forallVolker Lendecke1-5/+4
2010-07-19s3-auth: Simplify how we free the auth_contextSimo Sorce1-2/+1
Turn the freeing function into a destructor and attach it to the auth_context. Make all callers TALLOC_FREE() the auth_context instead of calling the free function. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-05s3: Remove smbd_messaging_context() from exit_server_common()Volker Lendecke1-1/+1
2010-07-05s3: Remove procid_self() from exit_server_commonVolker Lendecke1-1/+1
2010-07-04s3: Remove serverid_[de]register_selfVolker Lendecke1-1/+1
This removes some deep references to procid_self()
2010-07-04s3: Don't attempt to deregister from serverid twiceVolker Lendecke1-1/+6
The parent has to take care of crashed child processes anyway, so we don't have to clean up in the child
2010-06-10s3:lib make server contexts genericSimo Sorce1-2/+2
Pair-programmed-with: Andreas Schneider <asn@samba.org>
2010-06-10Don't use the autofree context for the globals. This causes child smbd's forkedJeremy Allison1-0/+1
by modules to crash due to destructors being called (found when using the vfs_aio_fork module with smb2). Jeremy.
2010-05-28s3:smbd split smbd/server.c into smbd/server.c and smbd/server_exit.cAndrew Bartlett1-0/+173
Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>