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)
committerMichael Adam <obnox@samba.org>
Mon, 30 May 2011 23:44:28 +0000 (01:44 +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..bd955b80c804f4a8e4eed7e15c15ae00345a5125 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>