diff options
Diffstat (limited to '')
-rw-r--r-- | docs/manual/mod/mod_authnz_ldap.html | 2 | ||||
-rw-r--r-- | docs/manual/mod/mod_authnz_ldap.html.en | 47 | ||||
-rw-r--r-- | docs/manual/mod/mod_authnz_ldap.html.fr.utf8 | 190 |
3 files changed, 63 insertions, 176 deletions
diff --git a/docs/manual/mod/mod_authnz_ldap.html b/docs/manual/mod/mod_authnz_ldap.html index 8f47d11..140894e 100644 --- a/docs/manual/mod/mod_authnz_ldap.html +++ b/docs/manual/mod/mod_authnz_ldap.html @@ -2,7 +2,7 @@ URI: mod_authnz_ldap.html.en Content-Language: en -Content-type: text/html; charset=ISO-8859-1 +Content-type: text/html; charset=UTF-8 URI: mod_authnz_ldap.html.fr.utf8 Content-Language: fr diff --git a/docs/manual/mod/mod_authnz_ldap.html.en b/docs/manual/mod/mod_authnz_ldap.html.en index b4e3806..8e57dc6 100644 --- a/docs/manual/mod/mod_authnz_ldap.html.en +++ b/docs/manual/mod/mod_authnz_ldap.html.en @@ -1,7 +1,7 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> +<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head> -<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type" /> +<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> <!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT @@ -27,13 +27,13 @@ <div id="preamble"><h1>Apache Module mod_authnz_ldap</h1> <div class="toplang"> <p><span>Available Languages: </span><a href="../en/mod/mod_authnz_ldap.html" title="English"> en </a> | -<a href="../fr/mod/mod_authnz_ldap.html" hreflang="fr" rel="alternate" title="Français"> fr </a></p> +<a href="../fr/mod/mod_authnz_ldap.html" hreflang="fr" rel="alternate" title="Français"> fr </a></p> </div> <table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Allows an LDAP directory to be used to store the database for HTTP Basic authentication.</td></tr> <tr><th><a href="module-dict.html#Status">Status:</a></th><td>Extension</td></tr> -<tr><th><a href="module-dict.html#ModuleIdentifier">Module Identifier:</a></th><td>authnz_ldap_module</td></tr> -<tr><th><a href="module-dict.html#SourceFile">Source File:</a></th><td>mod_authnz_ldap.c</td></tr> +<tr><th><a href="module-dict.html#ModuleIdentifier">Module Identifier:</a></th><td>authnz_ldap_module</td></tr> +<tr><th><a href="module-dict.html#SourceFile">Source File:</a></th><td>mod_authnz_ldap.c</td></tr> <tr><th><a href="module-dict.html#Compatibility">Compatibility:</a></th><td>Available in version 2.1 and later</td></tr></table> <h3>Summary</h3> @@ -95,7 +95,7 @@ for HTTP Basic authentication.</td></tr> <li><img alt="" src="../images/down.gif" /> <a href="#authldapsearchasuser">AuthLDAPSearchAsUser</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#authldapsubgroupattribute">AuthLDAPSubGroupAttribute</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#authldapsubgroupclass">AuthLDAPSubGroupClass</a></li> -<li><img alt="" src="../images/down.gif" /> <a href="#authldapurl">AuthLDAPUrl</a></li> +<li><img alt="" src="../images/down.gif" /> <a href="#authldapurl">AuthLDAPURL</a></li> </ul> <h3>Bugfix checklist</h3><ul class="seealso"><li><a href="https://www.apache.org/dist/httpd/CHANGES_2.4">httpd changelog</a></li><li><a href="https://bz.apache.org/bugzilla/buglist.cgi?bug_status=__open__&list_id=144532&product=Apache%20httpd-2&query_format=specific&order=changeddate%20DESC%2Cpriority%2Cbug_severity&component=mod_authnz_ldap">Known issues</a></li><li><a href="https://bz.apache.org/bugzilla/enter_bug.cgi?product=Apache%20httpd-2&component=mod_authnz_ldap">Report a bug</a></li></ul><h3>See also</h3> <ul class="seealso"> @@ -530,6 +530,15 @@ AuthLDAPMaxSubGroupDepth 1</pre> <code>ldap-attribute</code> will be faster than the search operation used by <code>ldap-filter</code> especially within a large directory.</p> + <p>When using an <a href="../expr.html">expression</a> within the filter, care + must be taken to ensure that LDAP filters are escaped correctly to guard against + LDAP injection. The ldap function can be used for this purpose.</p> + +<pre class="prettyprint lang-config"><LocationMatch ^/dav/(?<SITENAME>[^/]+)/> + Require ldap-filter (memberOf=cn=%{ldap:%{unescape:%{env:MATCH_SITENAME}},ou=Websites,o=Example) +</LocationMatch></pre> + + </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> @@ -653,11 +662,11 @@ Require valid-user</pre> <h2><a name="exposed" id="exposed">Exposing Login Information</a></h2> <p>when this module performs <em>authentication</em>, ldap attributes specified - in the <code class="directive"><a href="#authldapurl">authldapurl</a></code> + in the <code class="directive"><a href="#authldapurl">AuthLDAPURL</a></code> directive are placed in environment variables with the prefix "AUTHENTICATE_".</p> <p>when this module performs <em>authorization</em>, ldap attributes specified - in the <code class="directive"><a href="#authldapurl">authldapurl</a></code> + in the <code class="directive"><a href="#authldapurl">AuthLDAPURL</a></code> directive are placed in environment variables with the prefix "AUTHORIZE_".</p> <p>If the attribute field contains the username, common name @@ -989,7 +998,7 @@ AuthLDAPBindPassword "exec:/path/to/otherProgram argument1"</pre> <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>LDAP attributes used to identify the user members of groups.</td></tr> <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AuthLDAPGroupAttribute <em>attribute</em></code></td></tr> -<tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>AuthLDAPGroupAttribute member uniquemember</code></td></tr> +<tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>AuthLDAPGroupAttribute member uniqueMember</code></td></tr> <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>directory, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">Override:</a></th><td>AuthConfig</td></tr> <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> @@ -999,7 +1008,7 @@ groups.</td></tr> check for user members within groups. Multiple attributes can be used by specifying this directive multiple times. If not specified, then <code class="module"><a href="../mod/mod_authnz_ldap.html">mod_authnz_ldap</a></code> uses the <code>member</code> and - <code>uniquemember</code> attributes.</p> + <code>uniqueMember</code> attributes.</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> @@ -1160,7 +1169,7 @@ query to set the REMOTE_USER environment variable</td></tr> <p>If this directive is set, the value of the <code>REMOTE_USER</code> environment variable will be set to the value of the attribute specified. Make sure that this attribute is - included in the list of attributes in the AuthLDAPUrl definition, + included in the list of attributes in the <code class="directive"><a href="#authldapurl">AuthLDAPURL</a></code> definition, otherwise this directive will have no effect. This directive, if present, takes precedence over <code class="directive"><a href="#authldapremoteuserisdn">AuthLDAPRemoteUserIsDN</a></code>. This directive is useful should you want people to log into a website @@ -1229,7 +1238,7 @@ environment variable</td></tr> directive line, used to distinguish the members of the current group that are groups.</td></tr> <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AuthLDAPSubGroupAttribute <em>attribute</em></code></td></tr> -<tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>AuthLDAPSubgroupAttribute member uniquemember</code></td></tr> +<tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>AuthLDAPSubGroupAttribute member uniqueMember</code></td></tr> <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>directory, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">Override:</a></th><td>AuthConfig</td></tr> <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> @@ -1274,10 +1283,10 @@ objects that are groups during sub-group processing.</td></tr> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> -<div class="directive-section"><h2><a name="AuthLDAPUrl" id="AuthLDAPUrl">AuthLDAPUrl</a> <a name="authldapurl" id="authldapurl">Directive</a></h2> +<div class="directive-section"><h2><a name="AuthLDAPURL" id="AuthLDAPURL">AuthLDAPURL</a> <a name="authldapurl" id="authldapurl">Directive</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>URL specifying the LDAP search parameters</td></tr> -<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AuthLDAPUrl <em>url [NONE|SSL|TLS|STARTTLS]</em></code></td></tr> +<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AuthLDAPURL <em>url</em> [NONE|SSL|TLS|STARTTLS]</code></td></tr> <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>directory, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">Override:</a></th><td>AuthConfig</td></tr> <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr> @@ -1287,7 +1296,7 @@ objects that are groups during sub-group processing.</td></tr> to use. The syntax of the URL is</p> <div class="example"><p><code>ldap://host:port/basedn?attribute?scope?filter</code></p></div> <p>If you want to specify more than one LDAP URL that Apache should try in turn, the syntax is:</p> -<pre class="prettyprint lang-config">AuthLDAPUrl "ldap://ldap1.example.com ldap2.example.com/dc=..."</pre> +<pre class="prettyprint lang-config">AuthLDAPURL "ldap://ldap1.example.com ldap2.example.com/dc=..."</pre> <p><em><strong>Caveat: </strong>If you specify multiple servers, you need to enclose the entire URL string in quotes; otherwise you will get an error: "AuthLDAPURL takes one argument, URL to define LDAP connection.." </em> @@ -1392,14 +1401,14 @@ You can of course use search parameters on each of these.</p> upgraded to a secure connection on the same port.</dd> </dl> - <p>See above for examples of <code class="directive"><a href="#authldapurl">AuthLDAPUrl</a></code> URLs.</p> + <p>See above for examples of <code class="directive"><a href="#authldapurl">AuthLDAPURL</a></code> URLs.</p> </div> </div> <div class="bottomlang"> <p><span>Available Languages: </span><a href="../en/mod/mod_authnz_ldap.html" title="English"> en </a> | -<a href="../fr/mod/mod_authnz_ldap.html" hreflang="fr" rel="alternate" title="Français"> fr </a></p> -</div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> +<a href="../fr/mod/mod_authnz_ldap.html" hreflang="fr" rel="alternate" title="Français"> fr </a></p> +</div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Libera.chat, or sent to our <a href="https://httpd.apache.org/lists.html">mailing lists</a>.</div> <script type="text/javascript"><!--//--><![CDATA[//><!-- var comments_shortname = 'httpd'; var comments_identifier = 'http://httpd.apache.org/docs/2.4/mod/mod_authnz_ldap.html'; @@ -1417,7 +1426,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/2.4/mod/mod_authnz_ldap. } })(window, document); //--><!]]></script></div><div id="footer"> -<p class="apache">Copyright 2019 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="apache">Copyright 2024 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- if (typeof(prettyPrint) !== 'undefined') { prettyPrint(); diff --git a/docs/manual/mod/mod_authnz_ldap.html.fr.utf8 b/docs/manual/mod/mod_authnz_ldap.html.fr.utf8 index a0bbbae..9d5476c 100644 --- a/docs/manual/mod/mod_authnz_ldap.html.fr.utf8 +++ b/docs/manual/mod/mod_authnz_ldap.html.fr.utf8 @@ -100,7 +100,7 @@ Directory</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#authldapsearchasuser">AuthLDAPSearchAsUser</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#authldapsubgroupattribute">AuthLDAPSubGroupAttribute</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#authldapsubgroupclass">AuthLDAPSubGroupClass</a></li> -<li><img alt="" src="../images/down.gif" /> <a href="#authldapurl">AuthLDAPUrl</a></li> +<li><img alt="" src="../images/down.gif" /> <a href="#authldapurl">AuthLDAPURL</a></li> </ul> <h3>Traitement des bugs</h3><ul class="seealso"><li><a href="https://www.apache.org/dist/httpd/CHANGES_2.4">Journal des modifications de httpd</a></li><li><a href="https://bz.apache.org/bugzilla/buglist.cgi?bug_status=__open__&list_id=144532&product=Apache%20httpd-2&query_format=specific&order=changeddate%20DESC%2Cpriority%2Cbug_severity&component=mod_authnz_ldap">Problèmes connus</a></li><li><a href="https://bz.apache.org/bugzilla/enter_bug.cgi?product=Apache%20httpd-2&component=mod_authnz_ldap">Signaler un bug</a></li></ul><h3>Voir aussi</h3> <ul class="seealso"> @@ -583,6 +583,16 @@ AuthLDAPMaxSubGroupDepth 1</pre> <code>ldap-filter</code>, en particulier dans le cas d'un annuaire LDAP de grande taille.</p> + <p>Lorsqu'on utilise une <a href="../expr.html">expression</a> dans un + filtre, il faut s'assurer que les filtres LDAP sont correctement Ă©chappĂ©s + afin de se prĂ©munir contre toute injection LDAP. Pour ce faire, + il est possible d'utiliser la fonction <strong>ldap</strong>.</p> + +<pre class="prettyprint lang-config"><LocationMatch ^/dav/(?<SITENAME>[^/]+)/> + Require ldap-filter (memberOf=cn=%{ldap:%{unescape:%{env:MATCH_SITENAME}},ou=Websites,o=Example) +</LocationMatch></pre> + + </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> @@ -717,12 +727,11 @@ Require valid-user</pre> connexion</a></h2> <p>Au cours du processus d'<em>authentification</em>, les attributs LDAP - spĂ©cifiĂ©s par la directive <code class="directive"><a href="#authldapurl">authldapurl</a></code> sont enregistrĂ©s - dans des variables d'environnement prĂ©fixĂ©es par la chaĂ®ne - "AUTHENTICATE_".</p> + spĂ©cifiĂ©s par la directive <code class="directive"><a href="#authldapurl">AuthLDAPURL</a></code> sont enregistrĂ©s dans des + variables d'environnement prĂ©fixĂ©es par la chaĂ®ne "AUTHENTICATE_".</p> <p>Au cours du processus d'<em>autorisation</em>, les attributs LDAP - spĂ©cifiĂ©s par la directive <code class="directive"><a href="#authldapurl">authldapurl</a></code> sont enregistrĂ©s + spĂ©cifiĂ©s par la directive <code class="directive"><a href="#authldapurl">AuthLDAPURL</a></code> sont enregistrĂ©s dans des variables d'environnement prĂ©fixĂ©es par la chaĂ®ne "AUTHORIZE_".</p> @@ -1098,7 +1107,7 @@ alias</td></tr> <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>L'attribut LDAP utilisĂ© pour vĂ©rifier l'appartenance d'un utilisateur Ă un groupe.</td></tr> <tr><th><a href="directive-dict.html#Syntax">Syntaxe:</a></th><td><code>AuthLDAPGroupAttribute <em>attribut</em></code></td></tr> -<tr><th><a href="directive-dict.html#Default">DĂ©faut:</a></th><td><code>AuthLDAPGroupAttribute member uniquemember</code></td></tr> +<tr><th><a href="directive-dict.html#Default">DĂ©faut:</a></th><td><code>AuthLDAPGroupAttribute member uniqueMember</code></td></tr> <tr><th><a href="directive-dict.html#Context">Contexte:</a></th><td>rĂ©pertoire, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">Surcharges autorisĂ©es:</a></th><td>AuthConfig</td></tr> <tr><th><a href="directive-dict.html#Status">Statut:</a></th><td>Extension</td></tr> @@ -1109,7 +1118,7 @@ utilisateur Ă un groupe.</td></tr> groupe. On peut spĂ©cifier plusieurs attributs en rĂ©pĂ©tant cette directive plusieurs fois. Si la directive n'est pas dĂ©finie, <code class="module"><a href="../mod/mod_authnz_ldap.html">mod_authnz_ldap</a></code> utilise les attributs - <code>member</code> et <code>uniquemember</code>.</p> + <code>member</code> et <code>uniqueMember</code>.</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> @@ -1285,15 +1294,15 @@ d'environnement REMOTE_USER</td></tr> <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_authnz_ldap</td></tr> </table> <p>Lorsque cette directive est dĂ©finie, la variable d'environnement - <code>REMOTE_USER</code> sera dĂ©finie Ă la valeur de l'attribut - spĂ©cifiĂ©. Assurez-vous que cet attribut soit bien inclus dans la - liste d'attributs spĂ©cifiĂ©s dans la dĂ©finition de AuthLDAPUrl ; dans - le cas contraire, cette directive n'aurait aucun effet. Si elle est - prĂ©sente, cette directive l'emporte sur <code class="directive"><a href="#authldapremoteuserisdn">AuthLDAPRemoteUserIsDN</a></code>. Elle - peut s'avĂ©rer utile par exemple, si vous souhaitez que les - utilisateurs se connectent Ă un site web en utilisant leur adresse - email, alors qu'une application sous-jacente nĂ©cessite un nom - d'utilisateur comme identifiant.</p> + <code>REMOTE_USER</code> sera dĂ©finie Ă la valeur de l'attribut spĂ©cifiĂ©. + Assurez-vous que cet attribut soit bien inclus dans la liste d'attributs + spĂ©cifiĂ©s dans la dĂ©finition de <code class="directive"><a href="#authldapurl">AuthLDAPURL</a></code> ; dans le cas contraire, + cette directive n'aurait aucun effet. Si elle est prĂ©sente, cette directive + l'emporte sur <code class="directive"><a href="#authldapremoteuserisdn">AuthLDAPRemoteUserIsDN</a></code>. Elle peut + s'avĂ©rer utile par exemple, si vous souhaitez que les utilisateurs se + connectent Ă un site web en utilisant leur adresse email, alors qu'une + application sous-jacente nĂ©cessite un nom d'utilisateur comme + identifiant.</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> @@ -1362,7 +1371,7 @@ pour la recherche des autorisations</td></tr> pour diffĂ©rencier les membres du groupe courant qui sont eux-mĂŞmes des groupes.</td></tr> <tr><th><a href="directive-dict.html#Syntax">Syntaxe:</a></th><td><code>AuthLDAPSubGroupAttribute <em>attribut</em></code></td></tr> -<tr><th><a href="directive-dict.html#Default">DĂ©faut:</a></th><td><code>AuthLDAPSubgroupAttribute member uniquemember</code></td></tr> +<tr><th><a href="directive-dict.html#Default">DĂ©faut:</a></th><td><code>AuthLDAPSubgroupAttribute member uniqueMember</code></td></tr> <tr><th><a href="directive-dict.html#Context">Contexte:</a></th><td>rĂ©pertoire, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">Surcharges autorisĂ©es:</a></th><td>AuthConfig</td></tr> <tr><th><a href="directive-dict.html#Status">Statut:</a></th><td>Extension</td></tr> @@ -1415,153 +1424,22 @@ Apache</td></tr> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> -<div class="directive-section"><h2><a name="authldapurl" id="authldapurl">Directive</a> <a name="AuthLDAPUrl" id="AuthLDAPUrl">AuthLDAPUrl</a></h2> +<div class="directive-section"><h2><a name="authldapurl" id="authldapurl">Directive</a> <a name="AuthLDAPURL" id="AuthLDAPURL">AuthLDAPURL</a></h2> <table class="directive"> -<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>L'URL permettant de spĂ©cifier les paramètres de la -recherche LDAP</td></tr> -<tr><th><a href="directive-dict.html#Syntax">Syntaxe:</a></th><td><code>AuthLDAPUrl <em>url [NONE|SSL|TLS|STARTTLS]</em></code></td></tr> +<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>URL specifying the LDAP search parameters</td></tr> +<tr><th><a href="directive-dict.html#Syntax">Syntaxe:</a></th><td><code>AuthLDAPURL <em>url</em> [NONE|SSL|TLS|STARTTLS]</code></td></tr> <tr><th><a href="directive-dict.html#Context">Contexte:</a></th><td>rĂ©pertoire, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">Surcharges autorisĂ©es:</a></th><td>AuthConfig</td></tr> <tr><th><a href="directive-dict.html#Status">Statut:</a></th><td>Extension</td></tr> <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_authnz_ldap</td></tr> -</table> - <p>Une URL conforme Ă la RFC 2255 qui permet de spĂ©cifier les - paramètres Ă utiliser pour la recherche dans l'annuaire LDAP. La - syntaxe de l'URL est :</p> -<div class="example"><p><code>ldap://hĂ´te:port/DN-de-base?attribut?portĂ©e?filtre</code></p></div> - <p>Si vous souhaitez mettre Ă la disposition d'Apache plusieurs URLs - LDAP, la syntaxe sera :</p> -<pre class="prettyprint lang-config">AuthLDAPUrl "ldap://ldap1.example.com ldap2.example.com/dc=..."</pre> - -<p><em><strong>Mise en garde : </strong>Si vous spĂ©cifiez plusieurs -serveurs, vous devez en entourer la liste avec des guillemets ; dans le -cas contraire, vous gĂ©nĂ©rerez une erreur : "AuthLDAPURL takes one -argument, URL to define LDAP connection..".</em> Vous pouvez bien -entendu ajouter des paramètres de recherche Ă chacun des serveurs -spĂ©cifiĂ©s.</p> - -<dl> -<dt>ldap</dt> - - <dd>Pour ldap non sĂ©curisĂ©, utilisez la chaĂ®ne - <code>ldap</code>. Pour ldap sĂ©curisĂ©, utilisez Ă la place la - chaĂ®ne <code>ldaps</code>. LDAP sĂ©curisĂ© n'est disponible que si - Apache a Ă©tĂ© liĂ© avec une bibliothèque LDAP supportant SSL.</dd> - -<dt>hĂ´te:port</dt> - - <dd> - <p>Il s'agit du nom/port du serveur ldap - (dont la valeur par dĂ©faut est - <code>localhost:389</code> pour <code>ldap</code>, et - <code>localhost:636</code> pour <code>ldaps</code>). Pour - spĂ©cifier plusieurs serveurs LDAP redondants, indiquez - simplement leur liste en les sĂ©parant par des espaces. - <code class="module"><a href="../mod/mod_authnz_ldap.html">mod_authnz_ldap</a></code> tentera alors de se connecter - Ă chacun des serveurs jusqu'Ă ce qu'il parvienne Ă se - connecter avec succès. Notez qu'en cas de multiples serveurs - LDAP, l'ensemble de l'URL LDAP doit ĂŞtre entourĂ©e de - guillemets.</p> - - <p>lorsqu'une connection a Ă©tĂ© Ă©tablie avec un serveur, elle - reste active pendant toute la durĂ©e de vie du processus - <code class="program"><a href="../programs/httpd.html">httpd</a></code>, ou jusqu'Ă ce que le serveur LDAP - cesse de fonctionner.</p> - - <p>Si le serveur LDAP cesse de fonctionner, et ainsi - interrompt une - connexion existante, <code class="module"><a href="../mod/mod_authnz_ldap.html">mod_authnz_ldap</a></code> tentera - de se reconnecter en commençant par le premier serveur de la - liste, et ainsi de suite avec les serveurs redondants - suivants. Notez que ce processus n'a rien Ă voir avec une - vĂ©ritable recherche de type round-robin.</p> - </dd> - -<dt>DN-de-base</dt> - <dd>Le DN de la branche de l'annuaire Ă partir de laquelle - toutes les recherches seront lancĂ©es. Il doit au moins - correspondre Ă la racine de votre annuaire, mais vous pouvez - aussi indiquer une branche plus spĂ©cifique.</dd> - -<dt>attribut</dt> - - <dd>Il s'agit de l'attribut Ă utiliser pour la recherche. - Bien que la RFC - 2255 autorise une liste d'attributs sĂ©parĂ©s par des virgules, - seul le premier sera retenu, sans tenir compte des autres - attributs fournis. Si aucun attribut n'est fourni, l'attribut - par dĂ©faut est <code>uid</code>. Il est judicieux de choisir un - attribut dont la valeur sera unique parmi toutes les entrĂ©es de - la branche de l'annuaire que vous aurez dĂ©finie. Tous les - attributs spĂ©cifiĂ©s seront enregistrĂ©s dans des variables - d'environnement avec le prĂ©fixe AUTHENTICATE_, afin de pouvoir - ĂŞtre utilisĂ©s par d'autres modules.</dd> - -<dt>portĂ©e</dt> - - <dd>Il s'agit de la portĂ©e de la recherche. Elle peut prendre - les valeurs <code>one</code> ou <code>sub</code>. Notez que la - RFC 2255 supporte aussi une portĂ©e de valeur <code>base</code>, - mais cette dernière n'est pas supportĂ©e par le module. Si la - portĂ©e n'est pas dĂ©finie, ou si elle est dĂ©finie Ă - <code>base</code>, c'est la valeur de portĂ©e par dĂ©faut - <code>sub</code> qui sera utilisĂ©e.</dd> - -<dt>filtre</dt> - - <dd>Il s'agit d'un filtre de recherche LDAP valide. Si aucun - filtre n'est spĂ©cifiĂ©, le filtre par dĂ©faut - <code>(objectClass=*)</code> sera utilisĂ©, ce qui corrspond Ă - une recherche de tous les types d'objets de l'arborescence. La - taille des filtres est limitĂ©e Ă environ 8000 caractères (valeur - de la macro <code>MAX_STRING_LEN</code> dans le code source - d'Apache), ce qui s'avère plus que suffisant pour la plupart des - applications. Depuis la version 2.4.10, il est possible - d'utiliser le paramètre <code>none</code> pour spĂ©cifier qu'aucun filtre - n'est activĂ© ; ce paramètre est obligatoire avec certains - serveurs LDAP primitifs.</dd> -</dl> - - <p>Pour une recherche, les attribut, filtre et nom d'utilisateur - fournis par le client HTTP sont combinĂ©s pour crĂ©er un filtre de - recherche du style : - <code>(&(<em>filtre</em>)(<em>attribut</em> - =<em>nom-utilisateur</em>))</code>.</p> - - <p>Par exemple, considĂ©rons l'URL - <code>ldap://ldap.example.com/o=Example?cn?sub?(posixid=*)</code>. - Lorsqu'un client tentera de se connecter en utilisant le nom - d'utilisateur <code>Babs Jenson</code>, le filtre de recherche sera - : <code>(&(posixid=*)(cn=Babs Jenson))</code>.</p> - - <p>On peut encore ajouter un paramètre optionnel pour permettre Ă - l'URL LDAP de surcharger le type de connexion. Ce paramètre peut - prendre l'une des valeurs suivantes :</p> - -<dl> - <dt>NONE</dt> - <dd>Établit une connexion non sĂ©curisĂ©e sur le port LDAP par - dĂ©faut, ce qui est Ă©quivalent Ă <code>ldap://</code> sur le port - 389.</dd> - <dt>SSL</dt> - <dd>Établit une connexion sĂ©curisĂ©e sur le port LDAP sĂ©curisĂ© - par dĂ©faut, ce qui est Ă©quivalent Ă <code>ldaps://</code>.</dd> - <dt>TLS | STARTTLS</dt> - <dd>Établit une connexion sĂ©curisĂ©e par Ă©lĂ©vation de niveau sur - le port LDAP par dĂ©faut. Cette connexion sera initialisĂ©e sur le - port 389 par dĂ©faut, puis Ă©levĂ©e Ă un niveau de connexion - sĂ©curisĂ©e sur le mĂŞme port.</dd> -</dl> - - <p>Voir plus haut pour des exemples d'URLs dĂ©finies par la directive - <code class="directive"><a href="#authldapurl">AuthLDAPUrl</a></code>.</p> - -</div> +</table><p>La documentation de cette directive + n'a pas encore t traduite. Veuillez vous reporter la version + en langue anglaise.</p></div> </div> <div class="bottomlang"> <p><span>Langues Disponibles: </span><a href="../en/mod/mod_authnz_ldap.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../fr/mod/mod_authnz_ldap.html" title="Français"> fr </a></p> -</div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Commentaires</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> +</div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Commentaires</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Libera.chat, or sent to our <a href="https://httpd.apache.org/lists.html">mailing lists</a>.</div> <script type="text/javascript"><!--//--><![CDATA[//><!-- var comments_shortname = 'httpd'; var comments_identifier = 'http://httpd.apache.org/docs/2.4/mod/mod_authnz_ldap.html'; @@ -1579,7 +1457,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/2.4/mod/mod_authnz_ldap. } })(window, document); //--><!]]></script></div><div id="footer"> -<p class="apache">Copyright 2019 The Apache Software Foundation.<br />AutorisĂ© sous <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="apache">Copyright 2024 The Apache Software Foundation.<br />AutorisĂ© sous <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossaire</a> | <a href="../sitemap.html">Plan du site</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- if (typeof(prettyPrint) !== 'undefined') { prettyPrint(); |