1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

docs:smbdotconf: Improve documentation for 'sync machine password script'

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15689

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Pavel Filipenský 2024-08-12 11:49:14 +02:00 committed by Stefan Metzmacher
parent 9f0183a9f5
commit ca7acec952

View File

@ -8,8 +8,19 @@
This is the full pathname to a script that will be run by This is the full pathname to a script that will be run by
<citerefentry><refentrytitle>winbindd</refentrytitle> <manvolnum>8</manvolnum></citerefentry> when a machine account password is updated. <citerefentry><refentrytitle>winbindd</refentrytitle> <manvolnum>8</manvolnum></citerefentry> when a machine account password is updated.
</para> </para>
<para>
If keytabs should be generated in clustered environments it is recommended to update them on all nodes.
You can set the config option to &pathconfig.SAMBA_DATADIR;/scripts/winbind_ctdb_updatekeytab.sh in clustering case.
It is also needed to activate the <constant>46.update-keytabs.script</constant> in ctdb,
it re-creates the keytab during the ctdb recovered event:
<programlisting>
onnode all ctdb event script enable legacy 46.update-keytabs.script
</programlisting>
</para>
</description> </description>
<value type="default"/> <value type="default"/>
<value type="example">/usr/sbin/sync_machine_password</value> <value type="example">&pathconfig.SAMBA_DATADIR;/scripts/winbind_ctdb_updatekeytab.sh</value>
</samba:parameter> </samba:parameter>