]> granicus.if.org Git - ejabberd/commitdiff
* src/ejabberd.cfg.example: Changed the anonymous example a bit
authorMickaël Rémond <mickael.remond@process-one.net>
Sat, 28 Oct 2006 16:51:46 +0000 (16:51 +0000)
committerMickaël Rémond <mickael.remond@process-one.net>
Sat, 28 Oct 2006 16:51:46 +0000 (16:51 +0000)
to work in most cases.
* doc/guide.tex: Likewise.

SVN Revision: 667

ChangeLog
doc/guide.html
doc/guide.tex
src/ejabberd.cfg.example

index cdf58bbd1024a1d1f667797784a0b157a4e0a927..4a7282a5d90c6ec07b830ce74d4fcbac7683e2b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-10-28  Mickael Remond  <mickael.remond@process-one.net>
+
+       * src/ejabberd.cfg.example: Changed the anonymous example a bit to work
+       in most cases.
+       * doc/guide.tex: Likewise.
+
 2006-10-28  Alexey Shchepin  <alexey@sevcom.net>
 
        * src/mod_proxy65/: XEP-0065 proxy (thanks to Evgeniy Khramtsov)
index 33108e837acb08a66891750b508e0cf1bda6f692..01e0d6f142f0082a92409ca5d761fa3c913d687e 100644 (file)
@@ -847,7 +847,7 @@ To enable anonymous login on all virtual hosts:
                                      {anonymous_protocol, login_anon}]}.
 </PRE><LI CLASS="li-itemize">To enable anonymous login and internal authentication on a virtual host:
  <PRE CLASS="verbatim">
-{host_config, "public.example.org", [{auth_method, [anonymous,internal]},
+{host_config, "public.example.org", [{auth_method, [internal,anonymous]},
                                      {anonymous_protocol, login_anon}]}.
 </PRE><LI CLASS="li-itemize">To enable SASL Anonymous on a virtual host:
  <PRE CLASS="verbatim">
@@ -860,7 +860,7 @@ To enable anonymous login on all virtual hosts:
 </PRE><LI CLASS="li-itemize">To enable SASL Anonymous, anonymous login, and internal authentication on
 a virtual host:
  <PRE CLASS="verbatim">
-{host_config, "public.example.org", [{auth_method, [anonymous,internal]},
+{host_config, "public.example.org", [{auth_method, [internal,anonymous]},
                                      {anonymous_protocol, both}]}.
 </PRE></UL>
 <!--TOC subsection Access Rules-->
index a114019ab61c7435de5030a3cf73ce8d4723c601..3635e5b59c684403bd1c0c7b1b0b915342c8c371 100644 (file)
@@ -696,7 +696,7 @@ Examples:
 \end{verbatim}
 \item To enable anonymous login and internal authentication on a virtual host:
   \begin{verbatim}
-{host_config, "public.example.org", [{auth_method, [anonymous,internal]},
+{host_config, "public.example.org", [{auth_method, [internal,anonymous]},
                                      {anonymous_protocol, login_anon}]}.
 \end{verbatim}
 \item To enable SASL Anonymous on a virtual host:
@@ -712,7 +712,7 @@ Examples:
 \item To enable SASL Anonymous, anonymous login, and internal authentication on
 a virtual host:
   \begin{verbatim}
-{host_config, "public.example.org", [{auth_method, [anonymous,internal]},
+{host_config, "public.example.org", [{auth_method, [internal,anonymous]},
                                      {anonymous_protocol, both}]}.
 \end{verbatim}
 \end{itemize}
index bcc103385a0b7a12450cc02bb0f18c21f841664f..56ebe5ea05318233428b85bb1febc0c8f1026d45 100644 (file)
 %%                                     {allow_multiple_connections, false},
 %%                                     {anonymous_protocol, sasl_anon}]}.
 %% To use both anonymous and internal authentication:
-%%{host_config, "public.example.org", [{auth_method, [anonymous, internal]}]}.
+%%{host_config, "public.example.org", [{auth_method, [internal,anonymous]}]}.
 
 % Default language for server messages
 {language, "en"}.