summaryrefslogtreecommitdiffstats
path: root/docs-xml/smbdotconf/logon/addgroupscript.xml
blob: 3b347d010b89a6ea6b471dfbb11b9a892cf6b46b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<samba:parameter name="add group script"
		context="G"
		type="string"
		substitution="1"
		xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
	<para>
	This is the full pathname to a script that will be run <emphasis>AS ROOT</emphasis> by <citerefentry>
	<refentrytitle>smbd</refentrytitle><manvolnum>8</manvolnum></citerefentry> when a new group is requested. It
	will expand any <parameter moreinfo="none">%g</parameter> to the group name passed. This script is only useful
	for installations using the Windows NT domain administration tools. The script is free to create a group with
	an arbitrary name to circumvent unix group name restrictions. In that case the script must print the numeric
	gid of the created group on stdout.
	</para>
</description>

<value type="default"/>
<value type="example">/usr/sbin/groupadd %g</value>
</samba:parameter>