summaryrefslogtreecommitdiff
path: root/docs-xml/smbdotconf/logon/addgroupscript.xml
blob: 3804e144ffc8fa289c9d23e081c3973bac0561da (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"
		advanced="1" developer="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>