source: vendor/current/docs/htmldocs/manpages/idmap_rid.8.html@ 597

Last change on this file since 597 was 597, checked in by Herwig Bauernfeind, 14 years ago

Samba 3.5: Update vendor to version 3.5.9

File size: 3.3 KB
Line 
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>idmap_rid</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" title="idmap_rid"><a name="idmap_rid.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>idmap_rid &#8212; Samba's idmap_rid Backend for Winbind</p></div><div class="refsynopsisdiv" title="DESCRIPTION"><h2>DESCRIPTION</h2><p>The idmap_rid backend provides a way to use an algorithmic
2 mapping scheme to map UIDs/GIDs and SIDs. No database is required
3 in this case as the mapping is deterministic.</p></div><div class="refsect1" title="IDMAP OPTIONS"><a name="id266338"></a><h2>IDMAP OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">range = low - high</span></dt><dd><p>
4 Defines the available matching uid and gid range for which the
5 backend is authoritative. Note that the range acts as a filter.
6 If algorithmically determined UID or GID fall outside the
7 range, they are ignored and the corresponding map is discarded.
8 It is intended as a way to avoid accidental UID/GID overlaps
9 between local and remotely defined IDs.
10 </p></dd><dt><span class="term">base_rid = INTEGER</span></dt><dd><p>
11 Defines the base integer used to build SIDs out of a UID or a GID,
12 and to rebase the UID or GID to be obtained from a SID.
13 This means SIDs with a RID less than the base rid are filtered.
14 The default is not to restrict the allowed rids at all,
15 i.e. a base_rid value of 0.
16 A good value for the base_rid can be 1000, since user
17 RIDs by default start at 1000 (512 hexadecimal).
18 </p><p>
19 Use of this parameter is deprecated.
20 </p></dd></dl></div></div><div class="refsect1" title="THE MAPPING FORMULAS"><a name="id266835"></a><h2>THE MAPPING FORMULAS</h2><p>
21 The Unix ID for a RID is calculated this way:
22 </p><pre class="programlisting">
23 ID = RID - BASE_RID + LOW_RANGE_ID.
24 </pre><p>
25 </p><p>
26 Correspondingly, the formula for calculating the RID for a
27 given Unix ID is this:
28 </p><pre class="programlisting">
29 RID = ID + BASE_RID - LOW_RANGE_ID.
30 </pre><p>
31 </p></div><div class="refsect1" title="EXAMPLES"><a name="id266860"></a><h2>EXAMPLES</h2><p>
32 This example shows how to configure two domains with idmap_rid,
33 the principal domain and a trusted domain, leaving the default
34 id mapping scheme at tdb. The example also demonstrates the use
35 of the base_rid parameter for the trusted domain.
36 </p><pre class="programlisting">
37 [global]
38 security = domain
39 workgroup = MAIN
40
41 idmap backend = tdb
42 idmap uid = 1000000-1999999
43 idmap gid = 1000000-1999999
44
45 idmap config MAIN : backend = rid
46 idmap config MAIN : range = 10000 - 49999
47
48 idmap config TRUSTED : backend = rid
49 idmap config TRUSTED : range = 50000 - 99999
50 idmap config TRUSTED : base_rid = 1000
51 </pre></div><div class="refsect1" title="AUTHOR"><a name="id266881"></a><h2>AUTHOR</h2><p>
52 The original Samba software and related utilities
53 were created by Andrew Tridgell. Samba is now developed
54 by the Samba Team as an Open Source project similar
55 to the way the Linux kernel is developed.
56 </p></div></div></body></html>
Note: See TracBrowser for help on using the repository browser.