summaryrefslogtreecommitdiff
path: root/doc/guide.tex
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2010-07-30 20:33:03 +0200
committerBadlop <badlop@process-one.net>2010-07-30 20:33:03 +0200
commit550363cd523c40d13ca204d247e0236c13405c5d (patch)
treecdc2b0b446d5ec61a93ba34fcea4842a0765e77c /doc/guide.tex
parentDon't say v1.2, because that number is never increased and is confusing (diff)
Support parallel extauth script (thanks to Jesse Thompson)(EJAB-1280)
Diffstat (limited to 'doc/guide.tex')
-rw-r--r--doc/guide.tex8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/guide.tex b/doc/guide.tex
index ecd4815c..044fab82 100644
--- a/doc/guide.tex
+++ b/doc/guide.tex
@@ -1239,6 +1239,10 @@ These are the specific options:
Indicate in this option the full path to the external authentication script.
The script must be executable by ejabberd.
+ \titem{\{extauth\_instances, Integer\}}
+ Indicate how many instances of the script to run simultaneously to serve authentication in the virtual host.
+ The default value is the minimum number: 1.
+
\titem{\{extauth\_cache, false|CacheTimeInteger\}}
The value \term{false} disables the caching feature, this is the default.
The integer \term{0} (zero) enables caching for statistics, but doesn't use that cached information to authenticate users.
@@ -1250,11 +1254,13 @@ These are the specific options:
If caching is enabled, \term{mod\_last} or \term{mod\_last\_odbc} must be enabled also in that vhost.
\end{description}
-This example sets external authentication, the extauth script, and enables caching for 10 minutes:
+This example sets external authentication, the extauth script, enables caching for 10 minutes,
+and starts three instances of the script for each virtual host defined in ejabberd:
\begin{verbatim}
{auth_method, [external]}.
{extauth_program, "/etc/ejabberd/JabberAuth.class.php"}.
{extauth_cache, 600}.
+{extauth_instances, 3}.
\end{verbatim}
\makesubsubsection{saslanonymous}{SASL Anonymous and Anonymous Login}