]> granicus.if.org Git - ejabberd/commitdiff
Document that ldap_servers can contain {host, VHost}
authorBadlop <badlop@process-one.net>
Wed, 6 Jul 2011 18:47:13 +0000 (20:47 +0200)
committerBadlop <badlop@process-one.net>
Wed, 6 Jul 2011 18:47:53 +0000 (20:47 +0200)
doc/guide.tex

index a983d8bcf9a1a73496e0047cdedb6b3ba23f815f..5b999b15b298022b12c41ddb75fd445a9c199093 100644 (file)
@@ -2291,8 +2291,11 @@ 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
-LDAP servers. This option is required.
+\titem{\{ldap\_servers, [Servers, ...]|\{host, VHost\}\}} \ind{options!ldap\_server}
+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.
 Allowed values are: \term{none}, \term{tls}.
 The value \term{tls} enables encryption by using LDAP over SSL.
@@ -2321,6 +2324,12 @@ Example:
 {ldap_port, 389}.
 {ldap_rootdn, "cn=Manager,dc=domain,dc=org"}.
 {ldap_password, "secret"}.
+{host_config, "example3.org", [
+  {ldap_servers, ["ldap3.example.org"]}.
+]}.
+{host_config, "example4.org", [
+  {ldap_servers, {host, "example3.org"}}
+]}.
 \end{verbatim}
 
 \makesubsubsection{ldapauth}{Authentication}