summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/logon/addusertogroupscript.xml
blob: fe8be5b5044b3ed6371b95df4877c5f0fbcda60a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<samba:parameter xmlns:samba="http://samba.org/common">
		<term><anchor id="ADDUSERTOGROUPSCRIPT"/>add user to group script (G)</term>
		<listitem><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>Default: <command moreinfo="none">add user to group script = </command></para>

		<para>Example: <command moreinfo="none">add user to group script = /usr/sbin/adduser %u %g</command></para>
		
		</listitem>
		</samba:parameter>