1IDMAP_RID(8)              System Administration tools             IDMAP_RID(8)
2
3
4

NAME

6       idmap_rid - Samba´s idmap_rid Backend for Winbind
7

DESCRIPTION

9       The idmap_rid backend provides a way to use an algorithmic mapping
10       scheme to map UIDs/GIDs and SIDs. No database is required in this case
11       as the mapping is deterministic.
12

IDMAP OPTIONS

14       range = low - high
15           Defines the available matching uid and gid range for which the
16           backend is authoritative. Note that the range acts as a filter. If
17           algorithmically determined UID or GID fall outside the range, they
18           are ignored and the corresponding map is discarded. It is intended
19           as a way to avoid accidental UID/GID overlaps between local and
20           remotely defined IDs.
21
22       base_rid = INTEGER
23           Defines the base integer used to build SIDs out of a UID or a GID,
24           and to rebase the UID or GID to be obtained from a SID. This means
25           SIDs with a RID less than the base rid are filtered. The default is
26           not to restrict the allowed rids at all, i.e. a base_rid value of
27           0. A good value for the base_rid can be 1000, since user RIDs by
28           default start at 1000 (512 hexadecimal).
29
30           Use of this parameter is deprecated.
31

THE MAPPING FORMULAS

33       The Unix ID for a RID is calculated this way:
34
35                          ID = RID - BASE_RID + LOW_RANGE_ID.
36
37
38       Correspondingly, the formula for calculating the RID for a given Unix
39       ID is this:
40
41                          RID = ID + BASE_RID - LOW_RANGE_ID.
42
43
44

EXAMPLES

46       This example shows how to configure two domains with idmap_rid, the
47       principal domain and a trusted domain, leaving the default id mapping
48       scheme at tdb. The example also demonstrates the use of the base_rid
49       parameter for the trusted domain.
50
51                [global]
52                security = domain
53                workgroup = MAIN
54
55                idmap backend = tdb
56                idmap uid = 1000000-1999999
57                idmap gid = 1000000-1999999
58
59                idmap config MAIN : backend     = rid
60                idmap config MAIN : range       = 10000 - 49999
61
62                idmap config TRUSTED : backend  = rid
63                idmap config TRUSTED : range    = 50000 - 99999
64                idmap config TRUSTED : base_rid = 1000
65
66

AUTHOR

68       The original Samba software and related utilities were created by
69       Andrew Tridgell. Samba is now developed by the Samba Team as an Open
70       Source project similar to the way the Linux kernel is developed.
71
72
73
74Samba 3.5                         08/02/2011                      IDMAP_RID(8)
Impressum