]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-scripts: Fix Debian init in samba eventscript
authorMathieu Parent <math.parent@gmail.com>
Mon, 31 Oct 2016 14:17:34 +0000 (15:17 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 2 Jan 2017 10:56:51 +0000 (11:56 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12371

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Signed-off-by: Stefan Kania <stefan@kania-online.de>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 385aef614034a3f32276e19312f089990e6dbb85)

ctdb/config/events.d/50.samba

index 1742ff19249f4ad5ef5461ec299b1ece031dbb1f..893b9c0b2950e805e0486abe4b2d040e84301c8f 100755 (executable)
@@ -14,8 +14,8 @@ case $CTDB_INIT_STYLE in
                CTDB_SERVICE_NMB=${CTDB_SERVICE_NMB:-nmb}
                ;;
        debian)
-               CTDB_SERVICE_SMB=${CTDB_SERVICE_SMB:-samba}
-               CTDB_SERVICE_NMB=${CTDB_SERVICE_NMB:-""}
+               CTDB_SERVICE_SMB=${CTDB_SERVICE_SMB:-smbd}
+               CTDB_SERVICE_NMB=${CTDB_SERVICE_NMB:-nmbd}
                ;;
        *)
                # Use redhat style as default: