diff options
author | Volker Lendecke <vl@samba.org> | 2008-07-17 14:05:57 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-08-12 11:28:29 +0200 |
commit | 59e53cedcb7cf95fd1f66111c15be714f7d6b1f1 (patch) | |
tree | c466e5221b256b937defa3ce3f7ac9b079ba29c1 /docs-xml/manpages-3/idmap_ldap.8.xml | |
parent | 18bc97287cbaffb03a54c0b1e635d443a3d54d8d (diff) | |
download | samba-59e53cedcb7cf95fd1f66111c15be714f7d6b1f1.tar.gz samba-59e53cedcb7cf95fd1f66111c15be714f7d6b1f1.tar.xz samba-59e53cedcb7cf95fd1f66111c15be714f7d6b1f1.zip |
Document idmap rewrite
(This used to be commit 4b9132e8bd1b2bc397b657ef07796f44d55f33da)
Diffstat (limited to 'docs-xml/manpages-3/idmap_ldap.8.xml')
-rw-r--r-- | docs-xml/manpages-3/idmap_ldap.8.xml | 37 |
1 files changed, 10 insertions, 27 deletions
diff --git a/docs-xml/manpages-3/idmap_ldap.8.xml b/docs-xml/manpages-3/idmap_ldap.8.xml index ea7def3a0c1..c09c141bb49 100644 --- a/docs-xml/manpages-3/idmap_ldap.8.xml +++ b/docs-xml/manpages-3/idmap_ldap.8.xml @@ -99,16 +99,6 @@ should be used. </para></listitem> </varlistentry> - - <varlistentry> - <term>range = low - high</term> - <listitem><para> - 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. - </para></listitem> - </varlistentry> </variablelist> </refsect1> @@ -116,27 +106,20 @@ <title>EXAMPLES</title> <para> - 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. + The follow sets of a LDAP configuration which uses two LDAP + directories, one for storing the ID mappings and one for retrieving + new IDs. </para> <programlisting> [global] - 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_base_dn = ou=idmap,dc=example,dc=com - idmap alloc config:ldap_url = ldap://master.example.com/ - idmap alloc config:range = 10000 - 50000 + idmap backend = ldap:ldap://localhost/ + idmap uid = 1000000-1999999 + idmap gid = 1000000-1999999 + + idmap alloc backend = ldap + idmap alloc config : ldap_url = ldap://id-master/ + idmap alloc config : ldap_base_dn = ou=idmap,dc=example,dc=com </programlisting> </refsect1> |