diff options
author | Luk Claes <luk@debian.org> | 2011-05-31 23:28:57 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2011-06-07 20:04:06 +0200 |
commit | 2653ab7488adecfa33909fd3ba0353b89c22f667 (patch) | |
tree | fd82dbe13ae3aca51b6e29812373029d15783dab | |
parent | b2dc899a5424e1bdb6ec70aaabfd3963cf00c816 (diff) | |
download | samba-2653ab7488adecfa33909fd3ba0353b89c22f667.tar.gz |
idmap_ldap.8: Add example with readonly backend
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit ed54e2a35234e3519fcc7d0a4587e39ceff36f6a)
-rw-r--r-- | docs-xml/manpages-3/idmap_ldap.8.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs-xml/manpages-3/idmap_ldap.8.xml b/docs-xml/manpages-3/idmap_ldap.8.xml index 4b10855b6ce..3fe7d99772a 100644 --- a/docs-xml/manpages-3/idmap_ldap.8.xml +++ b/docs-xml/manpages-3/idmap_ldap.8.xml @@ -88,6 +88,28 @@ idmap config * : ldap_url = ldap://localhost/ idmap config * : ldap_base_dn = ou=idmap,dc=example,dc=com </programlisting> + + <para> + This example shows how ldap can be used as a readonly backend while + tdb is the default backend used to store the mappings. + It adds an explicit configuration for some domain DOM1, that + uses the ldap idmap backend. Note that a range disjoint from the + default range is used. + </para> + + <programlisting> + [global] + # "backend = tdb" is redundant here since it is the default + idmap config * : backend = tdb + idmap config * : range = 1000000-1999999 + + idmap config DOM1 : backend = ldap + idmap config DOM1 : range = 2000000-2999999 + idmap config DOM1 : read only = yes + idmap config DOM1 : ldap_url = ldap://server/ + idmap config DOM1 : ldap_base_dn = ou=idmap,dc=dom1,dc=example,dc=com + idmap config DOM1 : ldap_user_dn = cn=idmap_admin,dc=dom1,dc=example,dc=com + </programlisting> </refsect1> <refsynopsisdiv> |