| 1 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>idmap_tdb</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="idmap_tdb.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>idmap_tdb — Samba's idmap_tdb Backend for Winbind</p></div><div class="refsynopsisdiv"><h2>DESCRIPTION</h2><p>The idmap_tdb plugin is the default backend used by winbindd
|
|---|
| 2 | for storing SID/uid/gid mapping tables and implements
|
|---|
| 3 | both the "idmap" and "idmap alloc" APIs.
|
|---|
| 4 | </p></div><div class="refsect1" lang="en"><a name="id2522927"></a><h2>IDMAP OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">range = low - high</span></dt><dd><p>
|
|---|
| 5 | Defines the available matching uid and gid range for which the
|
|---|
| 6 | backend is authoritative. Note that the range commonly matches
|
|---|
| 7 | the allocation range due to the fact that the same backend will
|
|---|
| 8 | store and retrieve SID/uid/gid mapping entries. If the parameter
|
|---|
| 9 | is absent, Winbind fail over to use the "idmap uid" and
|
|---|
| 10 | "idmap gid" options from smb.conf.
|
|---|
| 11 | </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2522955"></a><h2>IDMAP ALLOC OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">range = low - high</span></dt><dd><p>
|
|---|
| 12 | Defines the available matching uid and gid range from which
|
|---|
| 13 | winbindd can allocate for users and groups. If the parameter
|
|---|
| 14 | is absent, Winbind fail over to use the "idmap uid"
|
|---|
| 15 | and "idmap gid" options from smb.conf.
|
|---|
| 16 | </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2483352"></a><h2>EXAMPLES</h2><p>
|
|---|
| 17 | The following example is equivalent to the pre-3.0.25 default idmap
|
|---|
| 18 | configuration using the "idmap backend = tdb" setting.
|
|---|
| 19 | </p><pre class="programlisting">
|
|---|
| 20 | [global]
|
|---|
| 21 | idmap domains = ALLDOMAINS
|
|---|
| 22 | idmap config ALLDOMAINS:default = yes
|
|---|
| 23 | idmap config ALLDOMAINS:backend = tdb
|
|---|
| 24 | idmap config ALLDOMAINS:range = 10000 - 50000
|
|---|
| 25 |
|
|---|
| 26 | idmap alloc backend = tdb
|
|---|
| 27 | idmap alloc config:range = 10000 - 50000
|
|---|
| 28 | </pre></div><div class="refsect1" lang="en"><a name="id2483374"></a><h2>AUTHOR</h2><p>
|
|---|
| 29 | The original Samba software and related utilities
|
|---|
| 30 | were created by Andrew Tridgell. Samba is now developed
|
|---|
| 31 | by the Samba Team as an Open Source project similar
|
|---|
| 32 | to the way the Linux kernel is developed.
|
|---|
| 33 | </p></div></div></body></html>
|
|---|