summaryrefslogtreecommitdiffstats
path: root/docs-xml/smbdotconf/security/usernamemapscript.xml
blob: 7123c536455988c3f1fabd8e3807b4b125796937 (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"
                 substitution="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 an 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 directory services.
	</para>
</description>

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