CTDB socket seems to be at different path after all
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-02-25 00:09:55 +00:00
parent 7c254e4487
commit 125c995e73

View File

@@ -115,7 +115,7 @@ for file in "$ETC_DIR"/conf.d/*.conf; do
done
if [ "$CTDB_ENABLED" = "true" ]; then
echo "clustering = yes" >> /etc/samba/smb.conf
echo "ctdbd socket = /run/ctdb/ctdb.socket" >> /etc/samba/smb.conf
echo "ctdbd socket = /run/ctdb/ctdbd.socket" >> /etc/samba/smb.conf
fi
#echo "Activating home directory auto-creation"
@@ -137,7 +137,7 @@ if [ -z "$REAL_REALM" ]; then
if [ "$CTDB_ENABLED" = "true" ]; then
((/usr/sbin/ctdbd --interactive)&)
CTDB_PID=$!
sleep 120
sleep 30
fi
net ads join --no-dns-updates -U"$ADMIN_ACCOUNT"%"$ADMIN_PASSWORD"
if [ "$CTDB_ENABLED" = "true" ]; then