From fbee5795ab69a35c5440eb5684e4ca807b08b1e3 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 31 Jan 2013 11:15:09 +0100 Subject: smbd/winbindd: Do an early check if ctdbd is functional This will avoid panic calls when smbd and winbind is started in cluster mode before ctdb is functional. It still logs something sane at debug level 0, but it does not panic and core anymore. Signed-off-by: Volker Lendecke Reviewed-by: Michael Adam --- source3/include/ctdbd_conn.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include') diff --git a/source3/include/ctdbd_conn.h b/source3/include/ctdbd_conn.h index 64cb1d5ade..ce5c8ba007 100644 --- a/source3/include/ctdbd_conn.h +++ b/source3/include/ctdbd_conn.h @@ -89,5 +89,6 @@ NTSTATUS ctdbd_control_local(struct ctdbd_connection *conn, uint32_t opcode, NTSTATUS ctdb_watch_us(struct ctdbd_connection *conn); NTSTATUS ctdb_unwatch(struct ctdbd_connection *conn); NTSTATUS register_with_ctdbd(struct ctdbd_connection *conn, uint64_t srvid); +NTSTATUS ctdbd_probe(void); #endif /* _CTDBD_CONN_H */ -- cgit