1IDMAP_RID(8) IDMAP_RID(8)
2
3
4
6 idmap_rid - Samba's idmap_rid Backend for Winbind
7
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
14 range = low - high
15 Defines the available matching uid and gid range for which the back‐
16 end is authoritative. Note that the range acts as a filter. If algo‐
17 rithmically determined UID or GID fall outside the range, they are
18 ignored and the corresponding map is discarded. It is intended as a
19 way to avoid accidental UID/GID overlaps between local and remotely
20 defined IDs.
21
22 base_rid = INTEGER
23 Defines the base integer used to build SIDs out of an UID or a GID,
24 and to rebase the UID or GID to be obtained from a SID. User RIDs by
25 default start at 1000 (512 hexadecimal), this means a good value for
26 base_rid can be 1000 as the resulting ID is calculated this way: ID
27 = RID - BASE_RID + LOW RANGE ID.
28
30 This example shows how to configure 2 domains with idmap_rid
31
32
33 [global]
34 idmap domains = MAIN TRUSTED1
35
36 idmap config MAIN:backend = rid
37 idmap config MAIN:base_rid = 1000
38 idmap config MAIN:range = 10000 - 49999
39
40 idmap config TRUSTED1:backend = rid
41 idmap config TRUSTED1:base_rid = 1000
42 idmap config TRUSTED1:range = 50000 - 99999
43
44
46 The original Samba software and related utilities were created by
47 Andrew Tridgell. Samba is now developed by the Samba Team as an Open
48 Source project similar to the way the Linux kernel is developed.
49
50
51
52
53 IDMAP_RID(8)