1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3 <refentry id="idmap_tdb.8">
6 <refentrytitle>idmap_tdb</refentrytitle>
7 <manvolnum>8</manvolnum>
8 <refmiscinfo class="source">Samba</refmiscinfo>
9 <refmiscinfo class="manual">System Administration tools</refmiscinfo>
10 <refmiscinfo class="version">3.6</refmiscinfo>
15 <refname>idmap_tdb</refname>
16 <refpurpose>Samba's idmap_tdb Backend for Winbind</refpurpose>
20 <title>DESCRIPTION</title>
23 The idmap_tdb plugin is the default backend used by winbindd
24 for storing SID/uid/gid mapping tables.
28 In contrast to read only backends like idmap_rid, it is an allocating
29 backend: This means that it needs to allocate new user and group IDs in
30 order to create new mappings.
35 <title>IDMAP OPTIONS</title>
39 <term>range = low - high</term>
41 Defines the available matching uid and gid range for which the
42 backend is authoritative.
43 If the parameter is absent, Winbind fails over to use
44 the "idmap uid" and "idmap gid" options
52 <title>EXAMPLES</title>
55 This example shows how tdb is used as a the default idmap backend.
56 It configures the idmap range through the global options for all
57 domains encountered. This same range is used for uid/gid allocation.
62 # "backend = tdb" is redundant here since it is the default
63 idmap config * : backend = tdb
64 idmap config * : range = 1000000-2000000
68 This (rather theoretical) example shows how tdb can be used as the
69 allocating backend while ldap is the default backend used to store
71 It adds an explicit configuration for some domain DOM1, that
72 uses the tdb idmap backend. Note that the same range as the
73 default uid/gid range is used, since the allocator has to serve
74 both the default backend and the explicitly configured domain DOM1.
79 idmap config * : backend = ldap
80 idmap config * : range = 1000000-2000000
81 # use a different uid/gid allocator:
83 idmap config DOM1 : backend = tdb
84 idmap config DOM1 : range = 1000000-2000000
92 The original Samba software and related utilities
93 were created by Andrew Tridgell. Samba is now developed
94 by the Samba Team as an Open Source project similar
95 to the way the Linux kernel is developed.