1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

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ý <pfilipensky@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Pavel Filipenský 2024-04-09 08:39:40 +02:00 committed by Pavel Filipensky
parent 1fcaf066f4
commit bf13d9b3ef

3
source3/script/updatekeytab.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
onnode -p connected "net ads keytab create --option='sync machine password script='"