diff --git a/ChangeLog b/ChangeLog index cdf58bbd1..4a7282a5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-10-28 Mickael Remond + + * src/ejabberd.cfg.example: Changed the anonymous example a bit to work + in most cases. + * doc/guide.tex: Likewise. + 2006-10-28 Alexey Shchepin * src/mod_proxy65/: XEP-0065 proxy (thanks to Evgeniy Khramtsov) diff --git a/doc/guide.html b/doc/guide.html index 33108e837..01e0d6f14 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}]}.
  • To enable anonymous login and internal authentication on a virtual host:
    -{host_config, "public.example.org", [{auth_method, [anonymous,internal]},
    +{host_config, "public.example.org", [{auth_method, [internal,anonymous]},
                                          {anonymous_protocol, login_anon}]}.
     
  • To enable SASL Anonymous on a virtual host:
    @@ -860,7 +860,7 @@ To enable anonymous login on all virtual hosts:
     
  • To enable SASL Anonymous, anonymous login, and internal authentication on a virtual host:
    -{host_config, "public.example.org", [{auth_method, [anonymous,internal]},
    +{host_config, "public.example.org", [{auth_method, [internal,anonymous]},
                                          {anonymous_protocol, both}]}.
     
    diff --git a/doc/guide.tex b/doc/guide.tex index a114019ab..3635e5b59 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 bcc103385..56ebe5ea0 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"}.