Current OS detecting way: # ctdb/config/functions if [ -x /sbin/startproc ]; then CTDB_INIT_STYLE="suse" elif [ -x /sbin/start-stop-daemon ]; then CTDB_INIT_STYLE="debian" else CTDB_INIT_STYLE="redhat" fi If package dpkg is installed on CentOS node, the node will been detected as Debian incorrectly and nmbd service is required but not exists.
This behaviour was changed in Samba v4.20. OS type detection now uses /etc/os-release. Samba 4.12.7 is no longer supported. Please only report bugs against supported versions.