1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/docs-xml/smbdotconf/logon/addusertogroupscript.xml
Ralph Boehme 00c4d9ec1a smbdotconf: mark "add user to group script" with substitution="1"
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2019-11-27 10:25:33 +00:00

23 lines
953 B
XML

<samba:parameter name="add user to group script"
context="G"
type="string"
substitution="1"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>
Full path to the script that will be called when a user is added to a group using the Windows NT domain administration
tools. It will be run by <citerefentry><refentrytitle>smbd</refentrytitle> <manvolnum>8</manvolnum></citerefentry>
<emphasis>AS ROOT</emphasis>. Any <parameter moreinfo="none">%g</parameter> will be replaced with the group name and
any <parameter moreinfo="none">%u</parameter> will be replaced with the user name.
</para>
<para>
Note that the <command>adduser</command> command used in the example below does
not support the used syntax on all systems.
</para>
</description>
<value type="default"></value>
<value type="example">/usr/sbin/adduser %u %g</value>
</samba:parameter>