From 697d5c08acc85944df8ca9f26ab3f58bb3e7764a Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 1 Jun 2011 01:19:50 +0200 Subject: s3:doc: update the ldap_user_dn documentation in the idmap_ldap manpage also extend the example with ldap_user_dn. Autobuild-User: Michael Adam Autobuild-Date: Wed Jun 1 02:53:32 CEST 2011 on sn-devel-104 --- docs-xml/manpages-3/idmap_ldap.8.xml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'docs-xml/manpages-3') diff --git a/docs-xml/manpages-3/idmap_ldap.8.xml b/docs-xml/manpages-3/idmap_ldap.8.xml index e77aec0915..2c0fcfd17c 100644 --- a/docs-xml/manpages-3/idmap_ldap.8.xml +++ b/docs-xml/manpages-3/idmap_ldap.8.xml @@ -48,8 +48,14 @@ ldap_user_dn = DN - Defines the user DN to be used for authentication. If absent an - anonymous bind will be performed. + Defines the user DN to be used for authentication. + The secret for authenticating this user should be + stored with net idmap secret + (see net + 8). + If absent, the ldap credentials from the ldap passdb configuration + are used, and if these are also absent, an anonymous + bind will be performed as last fallback. @@ -78,7 +84,8 @@ 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. + directory suffix. The secret for the ldap_user_dn has to be set with + "net idmap secret '*' password". @@ -87,6 +94,7 @@ idmap config * : range = 1000000-1999999 idmap config * : ldap_url = ldap://localhost/ idmap config * : ldap_base_dn = ou=idmap,dc=example,dc=com + idmap config * : ldap_user_dn = cn=idmap_admin,dc=example,dc=com -- cgit