Bug 13798 - "clustering = yes" makes testparm and smbclient fail if ctdb is not running
Summary: "clustering = yes" makes testparm and smbclient fail if ctdb is not running
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Clustering (show other bugs)
Version: 4.8.9
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Volker Lendecke
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-20 17:33 UTC by Michael Thalmann
Modified: 2019-02-20 17:33 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Thalmann 2019-02-20 17:33:23 UTC
When "clustering = yes" is set in smb.conf, smbclient and testparm are failing with:

root@c69-2:~# smbclient //server/data 
connect(/var/run/ctdb/ctdbd.socket) failed: Connection refused
ctdbd_connect failed: Connection refused
ctdbd_init_connection: ctdbd_init_connection_internal failed (Connection refused)
Unable to initialize messaging context!
root@c69-2:~#
root@c69-2:~# testparm
connect(/var/run/ctdb/ctdbd.socket) failed: Connection refused
ctdbd_connect failed: Connection refused
ctdbd_init_connection: ctdbd_init_connection_internal failed (Connection refused)
Unable to initialize messaging context!


After commenting out "clustering = yes" while NOT starting up samba nor ctdb (obviously) the tools are working again as expected.