From: Pavel Filipenský Date: Tue, 9 Apr 2024 06:39:40 +0000 (+0200) Subject: s3:script: clustered samba: Add script updatekeytab.sh X-Git-Tag: tdb-1.4.11~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bf13d9b3ef76a0d017fa7d81069f1d9da117de41;p=thirdparty%2Fsamba.git s3:script: clustered samba: Add script updatekeytab.sh Admin should use this script in smb.conf parameter 'sync machine password script' in clustered samba TODO: onnode will update the keytab on all connected nodes, so the update will happen on the triggering node twice. This can be improved in the future. BUG: https://bugzilla.samba.org/show_bug.cgi?id=6750 Signed-off-by: Pavel Filipenský Reviewed-by: Stefan Metzmacher --- diff --git a/source3/script/updatekeytab.sh b/source3/script/updatekeytab.sh new file mode 100755 index 00000000000..8883b13842e --- /dev/null +++ b/source3/script/updatekeytab.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +onnode -p connected "net ads keytab create --option='sync machine password script='"