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
13       Note that the idmap_rid module has changed considerably since Samba
14       versions 3.0. and 3.2. Currently, there should to be an explicit idmap
15       configuration for each domain that should use the idmap_rid backend,
16       using disjoint ranges. One usually needs to define a writeable default
17       idmap range, using a backend like tdb or ldap that can create unix ids,
18       in order to be able to map the BUILTIN sids and other domains, and also
19       in order to be able to create group mappings. See the example below.
20
21       Note that the old syntax idmap backend = rid:"DOM1=range DOM2=range2
22       ..."  is not supported any more since Samba version 3.0.25.
23

IDMAP OPTIONS

25       range = low - high
26           Defines the available matching uid and gid range for which the
27           backend is authoritative. Note that the range acts as a filter. If
28           algorithmically determined UID or GID fall outside the range, they
29           are ignored and the corresponding map is discarded. It is intended
30           as a way to avoid accidental UID/GID overlaps between local and
31           remotely defined IDs.
32
33       base_rid = INTEGER
34           Defines the base integer used to build SIDs out of a UID or a GID,
35           and to rebase the UID or GID to be obtained from a SID. This means
36           SIDs with a RID less than the base rid are filtered. The default is
37           not to restrict the allowed rids at all, i.e. a base_rid value of
38           0.
39
40           Use of this parameter is deprecated.
41

THE MAPPING FORMULAS

43       The Unix ID for a RID is calculated this way:
44
45                          ID = RID - BASE_RID + LOW_RANGE_ID.
46
47
48       Correspondingly, the formula for calculating the RID for a given Unix
49       ID is this:
50
51                          RID = ID + BASE_RID - LOW_RANGE_ID.
52
53
54

EXAMPLES

56       This example shows how to configure two domains with idmap_rid, the
57       principal domain and a trusted domain, leaving the default id mapping
58       scheme at tdb. The example also demonstrates the use of the base_rid
59       parameter for the trusted domain.
60
61                [global]
62                security = domain
63                workgroup = MAIN
64
65                idmap config * : backend        = tdb
66                idmap config * : range          = 1000000-1999999
67
68                idmap config MAIN : backend     = rid
69                idmap config MAIN : range       = 10000 - 49999
70
71                idmap config TRUSTED : backend  = rid
72                idmap config TRUSTED : range    = 50000 - 99999
73
74

AUTHOR

76       The original Samba software and related utilities were created by
77       Andrew Tridgell. Samba is now developed by the Samba Team as an Open
78       Source project similar to the way the Linux kernel is developed.
79
80
81
82Samba 4.2                         06/19/2018                      IDMAP_RID(8)
Impressum