summaryrefslogtreecommitdiffstats
path: root/docs-xml/smbdotconf/logon/addusertogroupscript.xml
blob: f6e9cc2d967721831dc155304dfcde4c12e14864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<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>