CTDB 46.update-keytabs.script query
Stefan Metzmacher
metze at samba.org
Tue Aug 25 09:07:15 UTC 2026
Am 25.08.26 um 09:57 schrieb Martin Schwenke:
> On Tue, 25 Aug 2026 09:54:50 +0200, Stefan Metzmacher <metze at samba.org>
> wrote:
>
>> Am 25.08.26 um 04:31 schrieb Martin Schwenke via samba-technical:
>
>>> 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.
>
> Thanks. That one makes sense.
>
> I'm wondering more about --configfile="$CTDB_BASE/lib/server.conf"
> pointing to a file that doesn't usually exist...
Isn't that just for make test?
I think instead it should just use the default
and it should get the correct location via SMB_CONF_PATH,
as lpcfg_load_internal() already exports that, and the selftest
code should also export that.
metze
More information about the samba-technical
mailing list