From e9a589feac531379e569bc39d803b16179002cfa Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 18 Sep 2009 18:05:55 -0700 Subject: s4-server: kill main daemon if a task fails to initialise When one of our core tasks fails to initialise it can now ask for the server as a whole to die, rather than limping along in a degraded state. --- source4/librpc/idl/irpc.idl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source4/librpc') diff --git a/source4/librpc/idl/irpc.idl b/source4/librpc/idl/irpc.idl index 41787355a9..24326e434e 100644 --- a/source4/librpc/idl/irpc.idl +++ b/source4/librpc/idl/irpc.idl @@ -141,4 +141,11 @@ import "misc.idl", "security.idl", "nbt.idl"; [out,switch_is(level)] smbsrv_info info ); + /* + called when samba should shutdown + */ + void samba_terminate( + [in] astring reason + ); + } -- cgit