summaryrefslogtreecommitdiff
path: root/docs/smbdotconf/winbind/idmapconfig.xml
blob: 7e964459628bdc154eebe181708dac62545c38ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<samba:parameter name="idmap config"
                 context="G"
		 type="string"
                 advanced="1" developer="1" hide="1"
                 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
	<para>
	The idmap config prefix provides a means of managing each domain 
	defined by the <smbconfoption name="idmap domains"/> option using Samba's
	parameteric option support.  The idmap config prefix should be 
	followed by the name of the domain, a colon, and either the option
	name &quot;backend&quot; or a setting specific to the chosen
	backend.</para>

	<para>
	The following example illustrates how to configure the <citerefentry>
	<refentrytitle>idmap_ad</refentrytitle><manvolnum>8</manvolnum></citerefentry> 
	for the CORP domain and the <citerefentry><refentrytitle>idmap_tdb</refentrytitle>
	<manvolnum>8</manvolnum></citerefentry> backend for all other domains.
	</para>

	<programlisting>
	idmap domains = CORP default 
	idmap config CORP:backend = ad
	idmap config CORP:read_only = yes
	idmap config default:backend = tdb
	idmap config default:default = yes
	idmap config default:range   = 1000 - 9999
	</programlisting>
	
</description>
</samba:parameter>