summaryrefslogtreecommitdiff
path: root/docs-xml/manpages-3/idmap_rid.8.xml
diff options
context:
space:
mode:
authorGerald W. Carter <jerry@samba.org>2008-04-22 10:09:40 -0500
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:47:48 -0500
commit8f8a9f01909ba29e2b781310baeeaaddc3f15f0d (patch)
tree90c6b720ad3a7bc815245c0ef28820424f89d658 /docs-xml/manpages-3/idmap_rid.8.xml
parent197238246389c40edc60c6630d18d6913086e630 (diff)
downloadsamba-8f8a9f01909ba29e2b781310baeeaaddc3f15f0d.tar.gz
samba-8f8a9f01909ba29e2b781310baeeaaddc3f15f0d.tar.bz2
samba-8f8a9f01909ba29e2b781310baeeaaddc3f15f0d.zip
Moving docs tree to docs-xml to make room for generated docs in the release tarball.
(This used to be commit 9f672c26d63955f613088489c6efbdc08b5b2d14)
Diffstat (limited to 'docs-xml/manpages-3/idmap_rid.8.xml')
-rw-r--r--docs-xml/manpages-3/idmap_rid.8.xml84
1 files changed, 84 insertions, 0 deletions
diff --git a/docs-xml/manpages-3/idmap_rid.8.xml b/docs-xml/manpages-3/idmap_rid.8.xml
new file mode 100644
index 0000000000..1d80bf3a0e
--- /dev/null
+++ b/docs-xml/manpages-3/idmap_rid.8.xml
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
+<refentry id="idmap_rid.8">
+
+<refmeta>
+ <refentrytitle>idmap_rid</refentrytitle>
+ <manvolnum>8</manvolnum>
+ <refmiscinfo class="source">Samba</refmiscinfo>
+ <refmiscinfo class="manual">System Administration tools</refmiscinfo>
+ <refmiscinfo class="version">3.2</refmiscinfo>
+</refmeta>
+
+
+<refnamediv>
+ <refname>idmap_rid</refname>
+ <refpurpose>Samba's idmap_rid Backend for Winbind</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+ <title>DESCRIPTION</title>
+ <para>The idmap_rid backend provides a way to use an algorithmic
+ mapping scheme to map UIDs/GIDs and SIDs. No database is required
+ in this case as the mapping is deterministic.</para>
+</refsynopsisdiv>
+
+<refsect1>
+ <title>IDMAP OPTIONS</title>
+
+ <variablelist>
+ <varlistentry>
+ <term>range = low - high</term>
+ <listitem><para>
+ Defines the available matching uid and gid range for which the
+ backend is authoritative. Note that the range acts as a filter.
+ If algorithmically determined UID or GID fall outside the
+ range, they are ignored and the corresponding map is discarded.
+ It is intended as a way to avoid accidental UID/GID overlaps
+ between local and remotely defined IDs.
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>base_rid = INTEGER</term>
+ <listitem><para>
+ Defines the base integer used to build SIDs out of an UID or a GID,
+ and to rebase the UID or GID to be obtained from a SID. User RIDs
+ by default start at 1000 (512 hexadecimal), this means a good value
+ for base_rid can be 1000 as the resulting ID is calculated this way:
+ ID = RID - BASE_RID + LOW RANGE ID.
+ </para></listitem>
+ </varlistentry>
+ </variablelist>
+</refsect1>
+
+<refsect1>
+ <title>EXAMPLES</title>
+ <para>This example shows how to configure 2 domains with idmap_rid</para>
+
+ <programlisting>
+ [global]
+ idmap domains = MAIN TRUSTED1
+
+ idmap config MAIN:backend = rid
+ idmap config MAIN:base_rid = 0
+ idmap config MAIN:range = 10000 - 49999
+
+ idmap config TRUSTED1:backend = rid
+ idmap config TRUSTED1:base_rid = 1000
+ idmap config TRUSTED1:range = 50000 - 99999
+ </programlisting>
+</refsect1>
+
+<refsect1>
+ <title>AUTHOR</title>
+
+ <para>
+ The original Samba software and related utilities
+ were created by Andrew Tridgell. Samba is now developed
+ by the Samba Team as an Open Source project similar
+ to the way the Linux kernel is developed.
+ </para>
+</refsect1>
+
+</refentry>