Debian Codegraph @

docs-xml/smbdotconf/logon/addusertogroupscript.xml

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