From 31c9352099f5efeb88d27c603ec2dbfaf98b300d Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Wed, 14 Aug 2024 19:49:04 +0530 Subject: [PATCH] docs-xml: Fix script location in syncmachinepasswordscript.xml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the change in installation path for winbind_ctdb_updatekeytab.sh from SAMBA_DATADIR to newly defined CTDB_DATADIR. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15689 Signed-off-by: Anoop C S Reviewed-by: Andreas Schneider Reviewed-by: Guenther Deschner Reviewed-by: Pavel Filipenský Autobuild-User(master): Anoop C S Autobuild-Date(master): Fri Aug 16 09:49:30 UTC 2024 on atb-devel-224 --- docs-xml/generate-pathconf-entities.sh | 1 + docs-xml/smbdotconf/security/syncmachinepasswordscript.xml | 4 ++-- dynconfig/wscript | 5 +++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs-xml/generate-pathconf-entities.sh b/docs-xml/generate-pathconf-entities.sh index 6c0c31a3522..1b689a8a23f 100755 --- a/docs-xml/generate-pathconf-entities.sh +++ b/docs-xml/generate-pathconf-entities.sh @@ -17,5 +17,6 @@ echo " + " diff --git a/docs-xml/smbdotconf/security/syncmachinepasswordscript.xml b/docs-xml/smbdotconf/security/syncmachinepasswordscript.xml index 9a7731930d5..df98610cf36 100644 --- a/docs-xml/smbdotconf/security/syncmachinepasswordscript.xml +++ b/docs-xml/smbdotconf/security/syncmachinepasswordscript.xml @@ -11,7 +11,7 @@ If keytabs should be generated in clustered environments it is recommended to update them on all nodes. - You can set the config option to &pathconfig.SAMBA_DATADIR;/scripts/winbind_ctdb_updatekeytab.sh in clustering case. + You can set the config option to &pathconfig.CTDB_DATADIR;/scripts/winbind_ctdb_updatekeytab.sh in clustering case. It is also needed to activate the 46.update-keytabs.script in ctdb, it re-creates the keytab during the ctdb recovered event: @@ -22,5 +22,5 @@ -&pathconfig.SAMBA_DATADIR;/scripts/winbind_ctdb_updatekeytab.sh +&pathconfig.CTDB_DATADIR;/scripts/winbind_ctdb_updatekeytab.sh diff --git a/dynconfig/wscript b/dynconfig/wscript index 2041d881546..a784dac4e6c 100644 --- a/dynconfig/wscript +++ b/dynconfig/wscript @@ -105,6 +105,11 @@ dynconfig = { 'FHS-PATH': '${DATADIR}', 'OVERWRITE': True, }, + 'CTDB_DATADIR' : { + 'STD-PATH': '${DATADIR}/ctdb', + 'FHS-PATH': '${DATADIR}/ctdb', + 'OVERWRITE': True, + }, 'SAMBA_DATADIR' : { 'STD-PATH': '${DATADIR}/samba', 'FHS-PATH': '${DATADIR}/samba',