25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-30 16:36:29 +01:00

Document that ldap_servers can contain {host, VHost}

This commit is contained in:
Badlop 2011-07-06 20:47:13 +02:00
parent 01c160251a
commit c1e6c7d821

View File

@ -2291,8 +2291,11 @@ one for authentication and other for regular calls.
Parameters: Parameters:
\begin{description} \begin{description}
\titem{\{ldap\_servers, [Servers, ...]\}} \ind{options!ldap\_server}List of IP addresses or DNS names of your \titem{\{ldap\_servers, [Servers, ...]|\{host, VHost\}\}} \ind{options!ldap\_server}
LDAP servers. This option is required. This option can contain a list of IP addresses or DNS names of your LDAP servers.
If you are configuring multiple vhosts, you can configure in this option that some of
them must use the same LDAP connections as another vhost.
This option is required.
\titem{\{ldap\_encrypt, none|tls\}} \ind{options!ldap\_encrypt}Type of connection encryption to the LDAP server. \titem{\{ldap\_encrypt, none|tls\}} \ind{options!ldap\_encrypt}Type of connection encryption to the LDAP server.
Allowed values are: \term{none}, \term{tls}. Allowed values are: \term{none}, \term{tls}.
The value \term{tls} enables encryption by using LDAP over SSL. The value \term{tls} enables encryption by using LDAP over SSL.
@ -2321,6 +2324,12 @@ Example:
{ldap_port, 389}. {ldap_port, 389}.
{ldap_rootdn, "cn=Manager,dc=domain,dc=org"}. {ldap_rootdn, "cn=Manager,dc=domain,dc=org"}.
{ldap_password, "secret"}. {ldap_password, "secret"}.
{host_config, "example3.org", [
{ldap_servers, ["ldap3.example.org"]}.
]}.
{host_config, "example4.org", [
{ldap_servers, {host, "example3.org"}}
]}.
\end{verbatim} \end{verbatim}
\makesubsubsection{ldapauth}{Authentication} \makesubsubsection{ldapauth}{Authentication}