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_tdb2.8">
6 <refentrytitle>idmap_tdb2</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_tdb2</refname>
16 <refpurpose>Samba's idmap_tdb2 Backend for Winbind</refpurpose>
20 <title>DESCRIPTION</title>
23 The idmap_tdb2 plugin is a substitute for the default idmap_tdb
24 backend used by winbindd for storing SID/uid/gid mapping tables
25 in clustered environments with Samba and CTDB.
29 In contrast to read only backends like idmap_rid, it is an allocating
30 backend: This means that it needs to allocate new user and group IDs in
31 order to create new mappings.
36 <title>IDMAP OPTIONS</title>
40 <term>range = low - high</term>
42 Defines the available matching uid and gid range for which the
43 backend is authoritative.
50 <title>IDMAP SCRIPT</title>
53 The tdb2 idmap backend supports a script for performing id mappings
54 through the smb.conf option <parameter>idmap : script</parameter>.
55 The script should accept the following command line options.
65 And it should return one of the following responses as a single line of
77 Note that the script should cover the complete range of SIDs
78 that can be passed in for SID to Unix ID mapping, since otherwise
79 SIDs unmapped by the script might get mapped to IDs that had
80 previously been mapped by the script.
85 <title>EXAMPLES</title>
88 This example shows how tdb2 is used as a the default idmap backend.
89 It configures the idmap range through the global options for all
95 idmap config * : backend = tdb2
96 idmap config * : range = 1000000-2000000
101 <title>AUTHOR</title>
104 The original Samba software and related utilities
105 were created by Andrew Tridgell. Samba is now developed
106 by the Samba Team as an Open Source project similar
107 to the way the Linux kernel is developed.