diff options
Diffstat (limited to 'docs/manpages/idmap_ldap.8')
-rw-r--r-- | docs/manpages/idmap_ldap.8 | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/docs/manpages/idmap_ldap.8 b/docs/manpages/idmap_ldap.8 index d715da1aae..9dba97ca64 100644 --- a/docs/manpages/idmap_ldap.8 +++ b/docs/manpages/idmap_ldap.8 @@ -1,11 +1,11 @@ .\" Title: idmap_ldap .\" Author: .\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/> -.\" Date: 10/02/2008 +.\" Date: 09/18/2008 .\" Manual: System Administration tools .\" Source: Samba 3.2 .\" -.TH "IDMAP_LDAP" "8" "10/02/2008" "Samba 3\.2" "System Administration tools" +.TH "IDMAP_LDAP" "8" "09/18/2008" "Samba 3\.2" "System Administration tools" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) @@ -52,20 +52,29 @@ ldap_url = ldap://server/ .RS 4 Specifies the LDAP server to which modify/add/delete requests should be sent\. If not defined, idmap_ldap will assume that ldap://localhost/ should be used\. .RE +.PP +range = low \- high +.RS 4 +Defines the available matching uid and gid range from which winbindd can allocate for users and groups\. If the parameter is absent, Winbind fail over to use the "idmap uid" and "idmap gid" options from smb\.conf\. +.RE .SH "EXAMPLES" .PP -The follow sets of a LDAP configuration which uses two LDAP directories, one for storing the ID mappings and one for retrieving new IDs\. +The follow sets of a LDAP configuration which uses a slave server running on localhost for fast fetching SID/gid/uid mappings, it implies correct configuration of referrals\. The idmap alloc backend is pointed directly to the master to skip the referral (and consequent reconnection to the master) that the slave would return as allocation requires writing on the master\. .sp .RS 4 .nf [global] - idmap backend = ldap:ldap://localhost/ - idmap uid = 1000000\-1999999 - idmap gid = 1000000\-1999999 + idmap domains = ALLDOMAINS + idmap config ALLDOMAINS:default = yes + idmap config ALLDOMAINS:backend = ldap + idmap config ALLDOMAINS:ldap_base_dn = ou=idmap,dc=example,dc=com + idmap config ALLDOMAINS:ldap_url = ldap://localhost/ + idmap config ALLDOMAINS:range = 10000 \- 50000 - idmap alloc backend = ldap - idmap alloc config : ldap_url = ldap://id\-master/ - idmap alloc config : ldap_base_dn = ou=idmap,dc=example,dc=com + idmap alloc backend = ldap + idmap alloc config:ldap_base_dn = ou=idmap,dc=example,dc=com + idmap alloc config:ldap_url = ldap://master\.example\.com/ + idmap alloc config:range = 10000 \- 50000 .fi .RE |