summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMickaël Rémond <mickael.remond@process-one.net>2006-10-28 16:51:46 +0000
committerMickaël Rémond <mickael.remond@process-one.net>2006-10-28 16:51:46 +0000
commit43d687676cd653f0b920e9d69d1b75a66a10618d (patch)
tree5b056831ebb908697af8c25c4e67e45df1301582
parent* src/mod_proxy65/: XEP-0065 proxy (thanks to Evgeniy Khramtsov) (diff)
* src/ejabberd.cfg.example: Changed the anonymous example a bit
to work in most cases. * doc/guide.tex: Likewise. SVN Revision: 667
Diffstat (limited to '')
-rw-r--r--ChangeLog6
-rw-r--r--doc/guide.html4
-rw-r--r--doc/guide.tex4
-rw-r--r--src/ejabberd.cfg.example2
4 files changed, 11 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index cdf58bbd..4a7282a5 100644
--- 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)
diff --git a/doc/guide.html b/doc/guide.html
index 33108e83..01e0d6f1 100644
--- a/doc/guide.html
+++ b/doc/guide.html
@@ -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-->
diff --git a/doc/guide.tex b/doc/guide.tex
index a114019a..3635e5b5 100644
--- a/doc/guide.tex
+++ b/doc/guide.tex
@@ -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}
diff --git a/src/ejabberd.cfg.example b/src/ejabberd.cfg.example
index bcc10338..56ebe5ea 100644
--- a/src/ejabberd.cfg.example
+++ b/src/ejabberd.cfg.example
@@ -110,7 +110,7 @@
%% {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"}.