]> git.ipfire.org Git - thirdparty/samba.git/commit
source3/script: Fix installation of winbind_ctdb_updatekeytab.sh
authorAnoop C S <anoopcs@samba.org>
Wed, 14 Aug 2024 14:17:35 +0000 (19:47 +0530)
committerJule Anger <janger@samba.org>
Tue, 20 Aug 2024 07:39:20 +0000 (07:39 +0000)
commitc7e6ec6bae81fb663e5d8a69e7d86a740ef56913
tree22999889b800fe7244d3ab7160c7bcea574f510e
parent12084aa1bda8ac1c624d71fb6003e1bc5e669d5f
source3/script: Fix installation of winbind_ctdb_updatekeytab.sh

winbind_ctdb_updatekeytab.sh assumes the presence `onnode` utility to
execute `net ads` command on all nodes in the cluster. But `onnode`
is only built when configured with clustering support. Therefore perform
the script installation only with ctdb configuration. Also fix the
installation path to /usr/share/ctdb/scripts.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15689
Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
(cherry picked from commit 3929fdae1a13ab029e173ce53598d3fa6cf40e9c)
source3/script/wscript_build