From 7d8f8a7e99bc4698542eb1165bd3ddcd3bda09b2 Mon Sep 17 00:00:00 2001
From: Badlop
Date: Thu, 10 Jun 2010 13:58:55 +0200
Subject: [PATCH] Explain that 2 LDAP connections are established per vhost
---
doc/guide.html | 8 +++++---
doc/guide.tex | 10 +++++++---
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/doc/guide.html b/doc/guide.html
index 5a0c4c0c2..b7c9c6ab0 100644
--- a/doc/guide.html
+++ b/doc/guide.html
@@ -1662,7 +1662,8 @@ create accounts or edit vCard that is stored in LDAP.
However, it is possible to change passwords if mod_register module is enabled
and LDAP server supports
RFC 3062.
-
Parameters:
+
Two connections are established to the LDAP server per vhost,
+one for authentication and other for regular calls.
Parameters:
-
{ldap_servers, [Servers, ...]}
- List of IP addresses or DNS names of your
LDAP servers. This option is required.
@@ -1691,8 +1692,9 @@ value is "".
{ldap_port, 389}.
{ldap_rootdn, "cn=Manager,dc=domain,dc=org"}.
{ldap_password, "secret"}.
-
Note that current LDAP implementation does not support SASL authentication.
-
You can authenticate users against an LDAP directory. Available options are:
-
+
+
You can authenticate users against an LDAP directory.
+Note that current LDAP implementation does not support SASL authentication.
Available options are:
-
{ldap_base, Base}
- LDAP base directory which stores
users accounts. This option is required.
- {ldap_uids, [ {ldap_uidattr} | {ldap_uidattr, ldap_uidattr_format}, ...]}
-
diff --git a/doc/guide.tex b/doc/guide.tex
index a21d39dcd..3758fbe23 100644
--- a/doc/guide.tex
+++ b/doc/guide.tex
@@ -2208,6 +2208,9 @@ and LDAP server supports
\makesubsubsection{ldapconnection}{Connection}
+Two connections are established to the LDAP server per vhost,
+one for authentication and other for regular calls.
+
Parameters:
\begin{description}
\titem{\{ldap\_servers, [Servers, ...]\}} \ind{options!ldap\_server}List of IP addresses or DNS names of your
@@ -2242,11 +2245,12 @@ Example:
{ldap_password, "secret"}.
\end{verbatim}
-Note that current LDAP implementation does not support SASL authentication.
-
\makesubsubsection{ldapauth}{Authentication}
-You can authenticate users against an LDAP directory. Available options are:
+You can authenticate users against an LDAP directory.
+Note that current LDAP implementation does not support SASL authentication.
+
+Available options are:
\begin{description}
\titem{\{ldap\_base, Base\}}\ind{options!ldap\_base}LDAP base directory which stores