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_ldap.8">
6 <refentrytitle>idmap_ldap</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_ldap</refname>
16 <refpurpose>Samba's idmap_ldap Backend for Winbind</refpurpose>
20 <title>DESCRIPTION</title>
22 <para>The idmap_ldap plugin provides a means for Winbind to
23 store and retrieve SID/uid/gid mapping tables in an LDAP directory
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.
36 <title>IDMAP OPTIONS</title>
40 <term>ldap_base_dn = DN</term>
42 Defines the directory base suffix to use for
43 SID/uid/gid mapping entries. If not defined, idmap_ldap will default
44 to using the "ldap idmap suffix" option from smb.conf.
49 <term>ldap_user_dn = DN</term>
51 Defines the user DN to be used for authentication. If absent an
52 anonymous bind will be performed.
57 <term>ldap_url = ldap://server/</term>
59 Specifies the LDAP server to use for
60 SID/uid/gid map entries. If not defined, idmap_ldap will
61 assume that ldap://localhost/ should be used.
66 <term>range = low - high</term>
68 Defines the available matching uid and gid range for which the
69 backend is authoritative.
70 If the parameter is absent, Winbind fails over to use the
71 "idmap uid" and "idmap gid" options
79 <title>EXAMPLES</title>
82 The following example shows how an ldap directory is used as the
83 default idmap backend. It also configures the idmap range and base
89 idmap config * : backend = ldap
90 idmap config * : range = 1000000-1999999
91 idmap config * : ldap_url = ldap://localhost/
92 idmap config * : ldap_base_dn = ou=idmap,dc=example,dc=com
99 <para>In order to use authentication against ldap servers you may
100 need to provide a DN and a password. To avoid exposing the password
101 in plain text in the configuration file we store it into a security
102 store. The "net idmap " command is used to store a secret
103 for the DN specified in a specific idmap domain.
108 <title>AUTHOR</title>
111 The original Samba software and related utilities
112 were created by Andrew Tridgell. Samba is now developed
113 by the Samba Team as an Open Source project similar
114 to the way the Linux kernel is developed.