25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-02 16:37:52 +01:00

* doc/guide.tex: Document ldap_local_filter (EJAB-179)

SVN Revision: 1353
This commit is contained in:
Badlop 2008-06-13 10:13:44 +00:00
parent f59c0c9eb2
commit 25d8e53735
2 changed files with 20 additions and 2 deletions

View File

@ -2,7 +2,9 @@
* doc/guide.tex: Table of listener modules converted to * doc/guide.tex: Table of listener modules converted to
description. Table of modules overview simplified, and module description. Table of modules overview simplified, and module
names link to their sections. names link to their sections. Document
ldap_local_filter (EJAB-179)
* doc/guide.html: Regenerated with all the latest changes * doc/guide.html: Regenerated with all the latest changes
2008-06-12 Badlop <badlop@process-one.net> 2008-06-12 Badlop <badlop@process-one.net>

View File

@ -144,7 +144,8 @@ ejabberd Development Team
%% To by-pass errors in the HTML version: %% To by-pass errors in the HTML version:
\newstyle{.SPAN}{width:20\%; float:right; text-align:left; margin-left:auto;} \newstyle{.SPAN}{width:20\%; float:right; text-align:left; margin-left:auto;}
\newstyle{H1 A, H2 A, H3 A, H4 A}{color:\#000000; text-decoration:none;} \newstyle{H1.chapter A, H2.section A, H3.subsection A, H4.subsubsection A, H5.paragraph A}
{color:\#000000; text-decoration:none;}
\newstyle{pre.verbatim}{margin:1ex 2ex;border:1px dashed lightgrey;background-color:\#f9f9f9;padding:0.5ex;} \newstyle{pre.verbatim}{margin:1ex 2ex;border:1px dashed lightgrey;background-color:\#f9f9f9;padding:0.5ex;}
\newstyle{.dt-description}{margin:0ex 2ex;} \newstyle{.dt-description}{margin:0ex 2ex;}
\newstyle{table[border="1"]}{border-collapse:collapse;margin-bottom:1em;} \newstyle{table[border="1"]}{border-collapse:collapse;margin-bottom:1em;}
@ -1737,6 +1738,21 @@ You can authenticate users against an LDAP directory. Available options are:
not forget to close brackets and do not use superfluous whitespaces. Also you not forget to close brackets and do not use superfluous whitespaces. Also you
\emph{must not} use \option{ldap\_uidattr} attribute in filter because this \emph{must not} use \option{ldap\_uidattr} attribute in filter because this
attribute will be substituted in LDAP filter automatically. attribute will be substituted in LDAP filter automatically.
\titem{ldap\_local\_filter}\ind{options!ldap\_local\_filter}
If you can't use \term{ldap\_filter} due to performance reasons
(the LDAP server has many users registered),
you can use this local filter.
The local filter checks an attribute in ejabberd,
not in LDAP, so this limits the load on the LDAP directory.
The default filter is: \term{undefined}.
Example values:
\begin{verbatim}
{ldap_local_filter, {notequal, {"accountStatus",["disabled"]}}}.
{ldap_local_filter, {equal, {"accountStatus",["enabled"]}}}.
{ldap_local_filter, undefined}.
\end{verbatim}
\end{description} \end{description}
\makesubsubsection{ldapexamples}{Examples} \makesubsubsection{ldapexamples}{Examples}