smbd/winbindd: Do an early check if ctdbd is functional
authorVolker Lendecke <vl@samba.org>
Thu, 31 Jan 2013 10:15:09 +0000 (11:15 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 17 Oct 2013 13:51:39 +0000 (15:51 +0200)
commitd9978a2bf8f50c0dc0f0454d0c46e6900c52bac4
treec6cb458250440ee916bb8fb1636c3a9df9f36331
parentdcf68fd61811c2a21e10248eadfc00f3861ccf2c
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 <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/include/ctdbd_conn.h
source3/lib/ctdbd_conn.c
source3/smbd/server.c
source3/winbindd/winbindd.c