CTDB 46.update-keytabs.script query

Stefan Metzmacher metze at samba.org
Tue Aug 25 07:54:50 UTC 2026


Am 25.08.26 um 04:31 schrieb Martin Schwenke via samba-technical:
> Hi Pavel,
> 
> [Note CC: samba-technical :-)]
> 
> I hope all is well with you!
> 
> It has only taken me ~1.5 years, but I am finally planning to use
> keytab syncing using 46.update-keytabs.script and associated smb.conf
> options.  :-)
> 
> It all looks quite simple.  However, I don't understand the need for
> the --configfile option in:
> 
>    net ads keytab \
>      create --option='sync machine password script=' \
>      --configfile="$CTDB_BASE/lib/server.conf"
> 
> I'm wondering about disadvantages of using the default (of, say,
> /etc/samba/smb.conf).

--option='sync machine password script=' is needed,
as otherwise it would recurse itself, calling the script again.

metze



More information about the samba-technical mailing list