summaryrefslogtreecommitdiff
path: root/docs/smbdotconf/security/usernamemapscript.xml
blob: 6df134c2575b1461f072a21d5c01434e0cc179e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<samba:parameter name="username map script"
                 context="G"
		 type="string"
                 advanced="1" developer="1"
                 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
	<para>This script is a mutually exclusive alternative to the 
	<smbconfoption name="username map"/> parameter.  This parameter 
	specifies and external program or script that must accept a single 
	command line option (the username transmitted in the authentication
	request) and return a line line on standard output (the name to which 
	the account should mapped).  In this way, it is possible to store
	username map tables in an LDAP or NIS directory services.
	</para>
</description>

<value type="default"/>
<value type="example">/etc/samba/scripts/mapusers.sh</value>
</samba:parameter>