summaryrefslogtreecommitdiff
path: root/docs-xml/smbdotconf/security/usernamemapscript.xml
blob: 2e43a788037eeede6a68415758c8840cc4e72f6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<samba:parameter name="username map script"
                 context="G"
		 type="string"
                 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 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>