Changeset 740 for vendor/current/docs/manpages/idmap_tdb.8
- Timestamp:
- Nov 14, 2012, 12:59:34 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified vendor/current/docs/manpages/idmap_tdb.8 ¶
r618 r740 3 3 .\" Author: [see the "AUTHOR" section] 4 4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> 5 .\" Date: 08/0 2/20115 .\" Date: 08/08/2011 6 6 .\" Manual: System Administration tools 7 .\" Source: Samba 3. 57 .\" Source: Samba 3.6 8 8 .\" Language: English 9 9 .\" 10 .TH "IDMAP_TDB" "8" "08/0 2/2011" "Samba 3\&.5" "System Administration tools"10 .TH "IDMAP_TDB" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools" 11 11 .\" ----------------------------------------------------------------- 12 12 .\" * set default formatting … … 25 25 The idmap_tdb plugin is the default backend used by winbindd for storing SID/uid/gid mapping tables\&. 26 26 .PP 27 In contrast to read only backends like idmap_rid, it is an allocating backend: This means that it needs to allocate new user and group IDs in order to create new mappings\&. The allocator can be provided by the idmap_tdb backend itself or by any other allocating backend like idmap_ldap or idmap_tdb2\&. This is configured with the parameter 28 \fIidmap alloc backend\fR\&. 29 .PP 30 Note that in order for this (or any other allocating) backend to function at all, the default backend needs to be writeable\&. The ranges used for uid and gid allocation are the default ranges configured by "idmap uid" and "idmap gid"\&. 31 .PP 32 Furthermore, since there is only one global allocating backend responsible for all domains using writeable idmap backends, any explicitly configured domain with idmap backend tdb should have the same range as the default range, since it needs to use the global uid / gid allocator\&. See the example below\&. 27 In contrast to read only backends like idmap_rid, it is an allocating backend: This means that it needs to allocate new user and group IDs in order to create new mappings\&. 33 28 .SH "IDMAP OPTIONS" 34 29 .PP 35 30 range = low \- high 36 31 .RS 4 37 Defines the available matching uid and gid range for which the backend is authoritative\&. If the parameter is absent, Winbind fails over to use the "idmap uid" and "idmap gid" options from smb\&.conf\&.32 Defines the available matching uid and gid range for which the backend is authoritative\&. 38 33 .RE 39 34 .SH "EXAMPLES" 40 35 .PP 41 This example shows how tdb is used as a the default idmap backend\&. It configures the idmap range through the global options for all domains encountered\&. This same range is used for uid/gid allocation\&.36 This example shows how tdb is used as a the default idmap backend\&. This configured range is used for uid and gid allocation\&. 42 37 .sp 43 38 .if n \{\ … … 46 41 .nf 47 42 [global] 48 # "idmap backend = tdb" is redundant here since it is the default 49 idmap backend = tdb 50 idmap uid = 1000000\-2000000 51 idmap gid = 1000000\-2000000 52 53 .fi 54 .if n \{\ 55 .RE 56 .\} 57 .PP 58 This (rather theoretical) example shows how tdb can be used as the allocating backend while ldap is the default backend used to store the mappings\&. It adds an explicit configuration for some domain DOM1, that uses the tdb idmap backend\&. Note that the same range as the default uid/gid range is used, since the allocator has to serve both the default backend and the explicitly configured domain DOM1\&. 59 .sp 60 .if n \{\ 61 .RS 4 62 .\} 63 .nf 64 [global] 65 idmap backend = ldap 66 idmap uid = 1000000\-2000000 67 idmap gid = 1000000\-2000000 68 # use a different uid/gid allocator: 69 idmap alloc backend = tdb 70 71 idmap config DOM1 : backend = tdb 72 idmap config DOM1 : range = 1000000\-2000000 43 # "backend = tdb" is redundant here since it is the default 44 idmap config * : backend = tdb 45 idmap config * : range = 1000000\-2000000 73 46 74 47 .fi
Note:
See TracChangeset
for help on using the changeset viewer.