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.
49 <title>EXAMPLES</title>
52 This example shows how tdb is used as a the default idmap backend.
53 It configures the idmap range through the global options for all
54 domains encountered. This same range is used for uid/gid allocation.
59 # "backend = tdb" is redundant here since it is the default
60 idmap config * : backend = tdb
61 idmap config * : range = 1000000-2000000
65 This (rather theoretical) example shows how tdb can be used as the
66 allocating backend while ldap is the default backend used to store
68 It adds an explicit configuration for some domain DOM1, that
69 uses the tdb idmap backend. Note that the same range as the
70 default uid/gid range is used, since the allocator has to serve
71 both the default backend and the explicitly configured domain DOM1.
76 idmap config * : backend = ldap
77 idmap config * : range = 1000000-2000000
78 # use a different uid/gid allocator:
80 idmap config DOM1 : backend = tdb
81 idmap config DOM1 : range = 1000000-2000000
89 The original Samba software and related utilities
90 were created by Andrew Tridgell. Samba is now developed
91 by the Samba Team as an Open Source project similar
92 to the way the Linux kernel is developed.