summaryrefslogtreecommitdiff
path: root/docs-xml
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-02-17 08:59:27 +0100
committerMichael Adam <obnox@samba.org>2009-02-17 18:21:54 +0100
commitb1b9be46ab84382e1017a157fc8b85a1a2d441eb (patch)
treec56f71e0386869e3d7c6c1074a77e4ef8b968f91 /docs-xml
parent74940606f715bfc9d99ded2fb1d1da02d037609a (diff)
downloadsamba-b1b9be46ab84382e1017a157fc8b85a1a2d441eb.tar.gz
samba-b1b9be46ab84382e1017a157fc8b85a1a2d441eb.tar.bz2
samba-b1b9be46ab84382e1017a157fc8b85a1a2d441eb.zip
docs: extend the example in the idmp_rid manpage to configure 2 domains with rid
Michael
Diffstat (limited to 'docs-xml')
-rw-r--r--docs-xml/manpages-3/idmap_rid.8.xml14
1 files changed, 13 insertions, 1 deletions
diff --git a/docs-xml/manpages-3/idmap_rid.8.xml b/docs-xml/manpages-3/idmap_rid.8.xml
index 7e48c11c53..146c4b92de 100644
--- a/docs-xml/manpages-3/idmap_rid.8.xml
+++ b/docs-xml/manpages-3/idmap_rid.8.xml
@@ -76,16 +76,28 @@
<refsect1>
<title>EXAMPLES</title>
- <para>This example shows how to configure a domain with idmap_rid</para>
+ <para>
+ This example shows how to configure two domains with idmap_rid,
+ the principal domain and a trusted domain, leaving the default
+ id mapping scheme at tdb. The example also demonstrates the use
+ of the base_rid parameter for the trusted domain.
+ </para>
<programlisting>
[global]
+ security = domain
+ workgroup = MAIN
+
idmap backend = tdb
idmap uid = 1000000-1999999
idmap gid = 1000000-1999999
+ idmap config MAIN : backend = rid
+ idmap config MAIN : range = 10000 - 49999
+
idmap config TRUSTED : backend = rid
idmap config TRUSTED : range = 50000 - 99999
+ idmap config TRUSTED : base_rid = 1000
</programlisting>
</refsect1>