* src/ejabberd.cfg.example: Changed the anonymous example a bit

to work in most cases.
* doc/guide.tex: Likewise.

SVN Revision: 667
This commit is contained in:
Mickaël Rémond 2006-10-28 16:51:46 +00:00
parent 399d170a78
commit 43d687676c
4 changed files with 11 additions and 5 deletions

View File

@ -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)

View 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-->

View 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}

View File

@ -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"}.