deleteuserfromgroupscript.xml   [plain text]


<samba:parameter name="delete user from group script"
                 context="G"
                 advanced="1" developer="1"
                 xmlns:samba="http://samba.org/common">
<listitem>
	<para>Full path to the script that will be called when 
	a user is removed from 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">delete user from group script = </command></para>

	<para>Example: <command moreinfo="none">delete user from group script = /usr/sbin/deluser %u %g</command></para>
</listitem>
</samba:parameter>