idmap_ldap.8: Rework example to use new idmap syntax
authorLuk Claes <luk@debian.org>
Mon, 30 May 2011 22:26:32 +0000 (00:26 +0200)
committerKarolin Seeger <kseeger@samba.org>
Sun, 5 Jun 2011 18:16:00 +0000 (20:16 +0200)
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Michael Adam <obnox@samba.org>
docs-xml/manpages-3/idmap_ldap.8.xml

index e3588b95bcfb2b56ce422e3aab10dc6a59dcaa72..b7506afd0f1e3251f916d971ea1106529042d1ff 100644 (file)
        <title>EXAMPLES</title>
 
        <para>
-       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 following example shows how an ldap directory is used as the
+       default idmap backend. It also configures the idmap range and base
+       directory suffix.
        </para>
 
        <programlisting>
        [global]
-       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
+       idmap config * : backend      = ldap
+       idmap config * : range        = 1000000-1999999
+       idmap config * : ldap_url     = ldap://localhost/
+       idmap config * : ldap_base_dn = ou=idmap,dc=example,dc=com
        </programlisting>
 </refsect1>