From bf13d9b3ef76a0d017fa7d81069f1d9da117de41 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pavel=20Filipensk=C3=BD?= Date: Tue, 9 Apr 2024 08:39:40 +0200 Subject: [PATCH] s3:script: clustered samba: Add script updatekeytab.sh MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- source3/script/updatekeytab.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 source3/script/updatekeytab.sh 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='" -- 2.47.3