messages_ctdb: Add messaging_ctdb_connection
authorVolker Lendecke <vl@samba.org>
Wed, 5 Jul 2017 17:13:23 +0000 (19:13 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 25 Jul 2017 15:43:18 +0000 (17:43 +0200)
commit67432fb9b9220e3826105b5b1b48391696e3ad99
tree255096741a4bcd29cc0b24a429ebace2c3b9faf1
parent0c70bcdaf3f73c1f3014448d08f3ad092e2f14c2
messages_ctdb: Add messaging_ctdb_connection

This will be the replacement for messaging_ctdbd_connection(). This does not
default to initializing messaging but panics. We just don't have correct
default arguments for messaging_init. Implicit multiple messaging and event
contexts is a bug also.

It *might* be that some tools fail due to this, but this needs fixing in
different ways. See the previous commit for smbpasswd.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/lib/messages_ctdb.c
source3/lib/messages_ctdb.h