environments/ppa-mbqj77/deployments/1
Xavier Guimard 8 years ago
parent 671459ff78
commit 289930e2ad
  1. 4
      doc/pages/documentation/current/applications/img/icons.png
  2. 4
      doc/pages/documentation/current/applications/img/loader.gif
  3. 2
      doc/pages/documentation/current/authcombination.html
  4. 8
      doc/pages/documentation/current/authsaml.html
  5. 77
      doc/pages/documentation/current/browseablesessionbackend.html
  6. 2
      doc/pages/documentation/current/customfunctions.html
  7. 8
      doc/pages/documentation/current/exportedvars.html
  8. 80
      doc/pages/documentation/current/extendedfunctions.html
  9. 115
      doc/pages/documentation/current/performances.html
  10. 4
      doc/pages/documentation/current/restserverplugin
  11. 18
      doc/pages/documentation/current/sqlsessionbackend.html
  12. 2
      doc/pages/documentation/current/upgrade.html
  13. 2
      doc/pages/documentation/current/writingrulesand_headers.html
  14. 214
      omegat.files/fr/fr-level1.tmx
  15. 214
      omegat.files/fr/fr-level2.tmx
  16. 214
      omegat.files/fr/fr-omegat.tmx
  17. 24
      omegat.files/fr/omegat/project_stats.txt
  18. 4
      po-doc/fr/pages/documentation/current/applications/img/icons.png
  19. 4
      po-doc/fr/pages/documentation/current/applications/img/loader.gif
  20. 2
      po-doc/fr/pages/documentation/current/authcombination.html
  21. 10
      po-doc/fr/pages/documentation/current/authsaml.html
  22. 85
      po-doc/fr/pages/documentation/current/browseablesessionbackend.html
  23. 2
      po-doc/fr/pages/documentation/current/customfunctions.html
  24. 8
      po-doc/fr/pages/documentation/current/exportedvars.html
  25. 80
      po-doc/fr/pages/documentation/current/extendedfunctions.html
  26. 121
      po-doc/fr/pages/documentation/current/performances.html
  27. 4
      po-doc/fr/pages/documentation/current/restserverplugin
  28. 20
      po-doc/fr/pages/documentation/current/sqlsessionbackend.html
  29. 2
      po-doc/fr/pages/documentation/current/upgrade.html
  30. 2
      po-doc/fr/pages/documentation/current/writingrulesand_headers.html

@ -90,7 +90,7 @@
<form action="/start" accept-charset="utf-8" class="search" id="dw__search" method="get" role="search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" class="edit" title="[F]" /><input type="submit" value="Search" class="button" title="Search" /><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
<ul class="nav navbar-nav">
<li><a href="/documentation/2.0/applications/img/icons.png?do=login&amp;sectok=62a29c35a267f658799e362598e991b4" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
<li><a href="/documentation/2.0/applications/img/icons.png?do=login&amp;sectok=d85714290cf235b49a654de9f78398ef" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
</div>
@ -204,7 +204,7 @@ You&#039;ve followed a link to a topic that doesn&#039;t exist yet. If permissio
</div><!-- /site -->
<div class="no"><img src="/lib/exe/indexer.php?id=documentation%3A2.0%3Aapplications%3Aimg%3Aicons.png&amp;1490850178" width="2" height="1" alt="" /></div>
<div class="no"><img src="/lib/exe/indexer.php?id=documentation%3A2.0%3Aapplications%3Aimg%3Aicons.png&amp;1491283164" width="2" height="1" alt="" /></div>
<div id="screen__mode" class="no">
<span class="visible-xs"></span>
<span class="visible-sm"></span>

@ -90,7 +90,7 @@
<form action="/start" accept-charset="utf-8" class="search" id="dw__search" method="get" role="search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" class="edit" title="[F]" /><input type="submit" value="Search" class="button" title="Search" /><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
<ul class="nav navbar-nav">
<li><a href="/documentation/2.0/applications/img/loader.gif?do=login&amp;sectok=62a29c35a267f658799e362598e991b4" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
<li><a href="/documentation/2.0/applications/img/loader.gif?do=login&amp;sectok=d85714290cf235b49a654de9f78398ef" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
</div>
@ -204,7 +204,7 @@ You&#039;ve followed a link to a topic that doesn&#039;t exist yet. If permissio
</div><!-- /site -->
<div class="no"><img src="/lib/exe/indexer.php?id=documentation%3A2.0%3Aapplications%3Aimg%3Aloader.gif&amp;1490850178" width="2" height="1" alt="" /></div>
<div class="no"><img src="/lib/exe/indexer.php?id=documentation%3A2.0%3Aapplications%3Aimg%3Aloader.gif&amp;1491283164" width="2" height="1" alt="" /></div>
<div id="screen__mode" class="no">
<span class="visible-xs"></span>
<span class="visible-sm"></span>

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>documentation:2.0:authcombination</title>
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="robots" content="index,follow"/>
<meta name="keywords" content="documentation,2.0,authcombination"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="authcombination.html"/>

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>documentation:2.0:authsaml</title>
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="index,follow"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="keywords" content="documentation,2.0,authsaml"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="authsaml.html"/>
@ -199,14 +199,14 @@ For each attribute, you can set:
<h5 id="general_options">General options</h5>
<div class="level5">
<ul>
<li class="level1"><div class="li"> <strong>Resolution Rule</strong>: rule that will be applied to preselect an IDP for a user. You have access to all environment variable, like user <abbr title="Internet Protocol">IP</abbr> address.</div>
<li class="level1"><div class="li"> <strong>Resolution Rule</strong>: rule that will be applied to preselect an IDP for a user. You have access to all environment variable <em>(like user <abbr title="Internet Protocol">IP</abbr> address)</em> and all session keys.</div>
</li>
</ul>
<p>
For example, to preselect this IDP for users coming from 129.168.0.0/16 network:
For example, to preselect this IDP for users coming from 129.168.0.0/16 network and member of “admin” group:
</p>
<pre class="code">$ENV{REMOTE_ADDR} =~ /^192\.168/</pre>
<pre class="code">$ENV{REMOTE_ADDR} =~ /^192\.168/ and $groups =~ /\badmin\b/</pre>
</div>

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>documentation:2.0:browseablesessionbackend</title>
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="index,follow"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="keywords" content="documentation,2.0,browseablesessionbackend"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="browseablesessionbackend.html"/>
@ -91,30 +91,28 @@ The following table list fields to index depending on the feature you want to in
</tr>
</thead>
<tr class="row1 rowodd">
<td class="col0"> Session explorer </td><td class="col1 centeralign"> ipAddr <em>WHATTOTRACE</em> </td>
<td class="col0"> Database cleaup <em>(cron)</em> </td><td class="col1 centeralign"> _session_kind _utime </td>
</tr>
<tr class="row2 roweven">
<td class="col0"> Session explorer (persistent sessions) </td><td class="col1 centeralign"> _session_uid </td>
<td class="col0"> Session explorer </td><td class="col1 centeralign"> _session_kind ipAddr <em>WHATTOTRACE</em> </td>
</tr>
<tr class="row3 rowodd">
<td class="col0"> Session restrictions </td><td class="col1 centeralign"> ipAddr <em>WHATTOTRACE</em> </td>
<td class="col0"> Session explorer (persistent sessions) </td><td class="col1 centeralign"> _session_kind _session_uid </td>
</tr>
<tr class="row4 roweven">
<td class="col0"> <abbr title="Security Assertion Markup Language">SAML</abbr> authentication and issuer </td><td class="col1 centeralign"> _saml_id ProxyID _nameID _assert_id _art_id _session_id </td>
</tr>
<tr class="row5 rowodd">
<td class="col0 leftalign"> <abbr title="Central Authentication Service">CAS</abbr> issuer </td><td class="col1 centeralign"> _cas_id </td>
</tr>
<tr class="row6 roweven">
<td class="col0 leftalign"> Password reset </td><td class="col1 centeralign"> user </td>
<td class="col0"> Session restrictions </td><td class="col1 centeralign"> _session_kind ipAddr <em>WHATTOTRACE</em> </td>
</tr>
</table></div>
<!-- EDIT3 TABLE [877-1222] --><div class="noteimportant"><em>WHATTOTRACE</em> must be replaced by the attribute or macro configured in the What To Trace parameter (REMOTE_USER)
<!-- EDIT3 TABLE [877-1168] -->
<p>
See Apache::Session::Browseable::* man page to see how use indexes.
</p>
<div class="noteimportant"><em>WHATTOTRACE</em> must be replaced by the attribute or macro configured in the What To Trace parameter (REMOTE_USER). By default: <strong>_whatToTrace</strong>
</div><div class="notetip">It is advised to use separate session backends for standard sessions, <abbr title="Security Assertion Markup Language">SAML</abbr> sessions and <abbr title="Central Authentication Service">CAS</abbr> sessions, in order to manage index separately.
</div><div class="noteclassic">Documentation below explains how set index on ipAddr and _whatToTrace. Adapt it to configure the index you need.
</div>
</div>
<!-- EDIT2 SECTION "Presentation" [43-1646] -->
<!-- EDIT2 SECTION "Presentation" [43-1691] -->
<h2 class="sectionedit4" id="browseable_nosql">Browseable NoSQL</h2>
<div class="level2">
@ -141,33 +139,44 @@ You then just have to add the <code>Index</code> parameter in <code>General par
<td class="col0 centeralign"> <strong>Index</strong> </td><td class="col1"> Index </td><td class="col2"> _whatToTrace ipAddr </td>
</tr>
</table></div>
<!-- EDIT5 TABLE [1934-2091] -->
<!-- EDIT5 TABLE [1979-2136] -->
</div>
<!-- EDIT4 SECTION "Browseable NoSQL" [1647-2092] -->
<!-- EDIT4 SECTION "Browseable NoSQL" [1692-2137] -->
<h2 class="sectionedit6" id="browseable_sql">Browseable SQL</h2>
<div class="level2">
<div class="noteclassic">This documentation concerns MySQL. Some adaptations are needed with other databases.
<div class="noteclassic">This documentation concerns PostgreSQL. Some adaptations are needed with other databases.
</div>
</div>
<!-- EDIT6 SECTION "Browseable SQL" [2093-2219] -->
<!-- EDIT6 SECTION "Browseable SQL" [2138-2269] -->
<h3 class="sectionedit7" id="prepare_database">Prepare database</h3>
<div class="level3">
<p>
Database must be prepared exactly like in <a href="sqlsessionbackend.html#prepare_the_database" class="wikilink1" title="documentation:2.0:sqlsessionbackend">SQL session backend</a> except that a field must be added for each data to index.
</p>
<pre class="code file sql"><span class="kw1">CREATE</span> <span class="kw1">TABLE</span> sessions <span class="br0">&#40;</span>
id <span class="kw1">CHAR</span><span class="br0">&#40;</span><span class="nu0">32</span><span class="br0">&#41;</span> <span class="kw1">NOT</span> <span class="kw1">NULL</span> <span class="kw1">PRIMARY</span> <span class="kw1">KEY</span><span class="sy0">,</span>
a_session <span class="kw1">BLOB</span><span class="sy0">,</span>
_whatToTrace <span class="kw1">VARCHAR</span><span class="br0">&#40;</span><span class="nu0">255</span><span class="br0">&#41;</span><span class="sy0">,</span>
ipAddr <span class="kw1">VARCHAR</span><span class="br0">&#40;</span><span class="nu0">15</span><span class="br0">&#41;</span><span class="sy0">,</span>
<span class="kw1">KEY</span> _whatToTrace <span class="br0">&#40;</span>_whatToTrace<span class="br0">&#41;</span><span class="sy0">,</span>
<span class="kw1">KEY</span> ipAddr <span class="br0">&#40;</span>ipAddr<span class="br0">&#41;</span>
<span class="br0">&#41;</span>;</pre>
<div class="noteimportant">Change char(32) by char(64) if you use the now recommended SHA256 hash algorithm. See <a href="documentation/latest/sessions.html" class="wikilink1" title="documentation:latest:sessions">Sessions</a> for more details
<pre class="code file sql"> Apache::<span class="kw1">SESSION</span>::Browseable::Postgres example:
<span class="sy0">&lt;</span>code sql<span class="sy0">&gt;</span>
<span class="kw1">CREATE</span> UNLOGGED <span class="kw1">TABLE</span> sessions <span class="br0">&#40;</span>
id <span class="kw1">VARCHAR</span><span class="br0">&#40;</span><span class="nu0">64</span><span class="br0">&#41;</span> <span class="kw1">NOT</span> <span class="kw1">NULL</span> <span class="kw1">PRIMARY</span> <span class="kw1">KEY</span><span class="sy0">,</span>
a_session text<span class="sy0">,</span>
_whatToTrace text<span class="sy0">,</span>
_session_kind text<span class="sy0">,</span>
_utime <span class="kw1">BIGINT</span><span class="sy0">,</span>
ipAddr text
<span class="br0">&#41;</span>;
<span class="kw1">CREATE</span> <span class="kw1">INDEX</span> uid1 <span class="kw1">ON</span> sessions <span class="kw1">USING</span> BTREE <span class="br0">&#40;</span>_whatToTrace<span class="br0">&#41;</span>;
<span class="kw1">CREATE</span> <span class="kw1">INDEX</span> s1 <span class="kw1">ON</span> sessions <span class="br0">&#40;</span>_session_kind<span class="br0">&#41;</span>;
<span class="kw1">CREATE</span> <span class="kw1">INDEX</span> u1 <span class="kw1">ON</span> sessions <span class="br0">&#40;</span>_utime<span class="br0">&#41;</span>;
<span class="kw1">CREATE</span> <span class="kw1">INDEX</span> ip1 <span class="kw1">ON</span> sessions <span class="kw1">USING</span> BTREE <span class="br0">&#40;</span>ipAddr<span class="br0">&#41;</span>;</pre>
<div class="noteimportant">For Session Explorer and one-off sessions, it is recommended to use BTREE or any index method that indexes partial content.
</div>
<p>
“id” fieds is set to <code>varchar(64)</code> (instead of char(32)) to use the now recommended SHA256 hash algorithm. See <a href="documentation/latest/sessions.html" class="wikilink1" title="documentation:latest:sessions">Sessions</a> for more details.
</p>
<div class="notetip">With new Apache::Session::Browseable::<strong>PgHstore</strong> and <strong>PgJSON</strong>, you don&#039;t need to declare indexes in <code>CREATE TABLE</code> since “json” and “hstore” type are browseable. You should anyway add some indexes <em>(see manpage)</em>.
</div>
<!-- EDIT7 SECTION "Prepare database" [2220-2806] -->
</div>
<!-- EDIT7 SECTION "Prepare database" [2270-3479] -->
<h3 class="sectionedit8" id="manager">Manager</h3>
<div class="level3">
@ -184,7 +193,7 @@ Go in the Manager and set the session module (<a href="http://search.cpan.org/pe
</tr>
</thead>
<tr class="row2 roweven">
<td class="col0 centeralign"> <strong>DataSource</strong> </td><td class="col1"> The <a href="http://search.cpan.org/perldoc?DBI" class="urlextern" title="http://search.cpan.org/perldoc?DBI" rel="nofollow">DBI</a> string </td><td class="col2"> dbi:mysql:dbname=sessions </td>
<td class="col0 centeralign"> <strong>DataSource</strong> </td><td class="col1"> The <a href="http://search.cpan.org/perldoc?DBI" class="urlextern" title="http://search.cpan.org/perldoc?DBI" rel="nofollow">DBI</a> string </td><td class="col2"> dbi:Pg:database=sessions </td>
</tr>
<tr class="row3 rowodd">
<td class="col0 centeralign"> <strong>UserName</strong> </td><td class="col1"> The database username </td><td class="col2"> lemonldapng </td>
@ -193,17 +202,17 @@ Go in the Manager and set the session module (<a href="http://search.cpan.org/pe
<td class="col0 centeralign"> <strong>Password</strong> </td><td class="col1"> The database password </td><td class="col2"> mysuperpassword </td>
</tr>
<tr class="row5 rowodd">
<td class="col0 centeralign"> <strong>Index</strong> </td><td class="col1"> Index </td><td class="col2"> _whatToTrace ipAddr </td>
<td class="col0 centeralign"> <strong>Index</strong> </td><td class="col1"> Index </td><td class="col2"> _whatToTrace ipAddr _session_kind _utime </td>
</tr>
</table></div>
<!-- EDIT9 TABLE [3135-3466] --><div class="notetip">Apache::Session::Browseable::MySQL doesn&#039;t use locks so performances are keeped.
<!-- EDIT9 TABLE [3808-4159] --><div class="notetip">Apache::Session::Browseable::MySQL doesn&#039;t use locks so performances are keeped.
<p>
For databases like PostgreSQL, don&#039;t forget to add “Commit” with a value of 1
</p>
</div>
</div>
<!-- EDIT8 SECTION "Manager" [2807-3645] -->
<!-- EDIT8 SECTION "Manager" [3480-4338] -->
<h2 class="sectionedit10" id="browseable_ldap">Browseable LDAP</h2>
<div class="level2">
@ -257,9 +266,9 @@ You need to add the <code>Index</code> field and can also configure the <code>ld
<td class="col0 centeralign"> <strong>ldapAttributeIndex</strong> </td><td class="col1"> Attribute storing index </td><td class="col2"> ou </td>
</tr>
</table></div>
<!-- EDIT11 TABLE [3997-4731] -->
<!-- EDIT11 TABLE [4690-5424] -->
</div>
<!-- EDIT10 SECTION "Browseable LDAP" [3646-4732] -->
<!-- EDIT10 SECTION "Browseable LDAP" [4339-5425] -->
<h2 class="sectionedit12" id="security">Security</h2>
<div class="level2">
@ -272,6 +281,6 @@ You can also use different user/password for your servers by overriding paramete
</p>
</div>
<!-- EDIT12 SECTION "Security" [4733-] --></div>
<!-- EDIT12 SECTION "Security" [5426-] --></div>
</body>
</html>

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>documentation:2.0:customfunctions</title>
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="robots" content="index,follow"/>
<meta name="keywords" content="documentation,2.0,customfunctions"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="customfunctions.html"/>

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>documentation:2.0:exportedvars</title>
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="index,follow"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="keywords" content="documentation,2.0,exportedvars"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="exportedvars.html"/>
@ -90,7 +90,7 @@ You can define exported variables for each module in the module configuration it
<div class="notetip">You can define environment variables in <code>Exported variables</code>, this allows one to populate user session with some environment values. Environment variables will not be queried in users database.
</div>
</div>
<!-- EDIT2 SECTION "Presentation" [35-1270] -->
<!-- EDIT2 SECTION "Presentation" [35-1271] -->
<h2 class="sectionedit4" id="extend_variables_using_macros_and_groups">Extend variables using macros and groups</h2>
<div class="level2">
@ -104,6 +104,8 @@ Macros and groups are calculated during authentication process by the portal:
<ul>
<li class="level1"><div class="li"> macros are used to extend (or rewrite) <span class="curid"><a href="exportedvars.html" class="wikilink1" title="documentation:2.0:exportedvars">exported variables</a></span>. A macro is stored as attributes: it can contain boolean results or any string</div>
</li>
<li class="level1"><div class="li"> macros can also be used to import environment variables <em>(these variables are in CGI format)</em>. Example: <code>$ENV{HTTP_COOKIE}</code></div>
</li>
<li class="level1"><div class="li"> groups are stored as space-separated strings in the special attribute “groups”: it contains the names of groups whose rules were returned true for the current user</div>
</li>
<li class="level1"><div class="li"> You can also get groups in <code>$hGroups</code> which is a Hash Reference of this form:</div>
@ -157,6 +159,6 @@ admin <span class="sy0">-&gt;</span> <span class="re0">$uid</span> <span class="
<div class="level2">
</div>
<!-- EDIT4 SECTION "Extend variables using macros and groups" [1271-] --></div>
<!-- EDIT4 SECTION "Extend variables using macros and groups" [1272-] --></div>
</body>
</html>

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>documentation:2.0:extendedfunctions</title>
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="index,follow"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="keywords" content="documentation,2.0,extendedfunctions"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="extendedfunctions.html"/>
@ -50,7 +50,6 @@
<ul class="toc">
<li class="level1"><div class="li"><a href="#presentation">Presentation</a></div></li>
<li class="level1"><div class="li"><a href="#request_information">Request information</a></div></li>
<li class="level1"><div class="li"><a href="#extended_functions_list">Extended Functions List</a></div>
<ul class="toc">
<li class="level2"><div class="li"><a href="#date">date</a></div></li>
@ -101,14 +100,14 @@ This is also true for:
Inside this jail, you can access to:
</p>
<ul>
<li class="level1"><div class="li"> all session values and CGI environment variables <em>(through $ENV{&lt;HTTP_NAME&gt;})</em></div>
</li>
<li class="level1"><div class="li"> Core Perl subroutines (split, pop, map, etc.)</div>
</li>
<li class="level1"><div class="li"> <a href="customfunctions.html" class="wikilink1" title="documentation:2.0:customfunctions">Custom functions</a></div>
</li>
<li class="level1"><div class="li"> The <a href="http://perldoc.perl.org/MIME/Base64.html" class="urlextern" title="http://perldoc.perl.org/MIME/Base64.html" rel="nofollow">encode_base64</a> subroutine</div>
</li>
<li class="level1"><div class="li"> Environment variables, in some cases (through %ENV). <em>(NB: with Apache handlers it is generally empty, so unusable for rules/headers)</em> </div>
</li>
<li class="level1"><div class="li"> <a href="#request_information" title="documentation:2.0:extendedfunctions ↵" class="wikilink1">Information about current request</a></div>
</li>
<li class="level1"><div class="li"> <a href="#extended_functions_list" title="documentation:2.0:extendedfunctions ↵" class="wikilink1">Extended functions</a>:</div>
@ -139,40 +138,13 @@ Inside this jail, you can access to:
<div class="notetip">To know more about the jail, check <a href="http://perldoc.perl.org/Safe.html" class="urlextern" title="http://perldoc.perl.org/Safe.html" rel="nofollow">Safe module documentation</a>.
</div>
</div>
<!-- EDIT2 SECTION "Presentation" [35-1271] -->
<h2 class="sectionedit3" id="request_information">Request information</h2>
<div class="level2">
<p>
The following data about the current request are available through functions :
</p>
<ul>
<li class="level1"><div class="li"> hostname</div>
</li>
<li class="level1"><div class="li"> remote_ip: the client <abbr title="Internet Protocol">IP</abbr> address</div>
</li>
<li class="level1"><div class="li"> uri: <abbr title="Uniform Resource Locator">URL</abbr> path</div>
</li>
<li class="level1"><div class="li"> uri_with_args: <abbr title="Uniform Resource Locator">URL</abbr> path with query string</div>
</li>
<li class="level1"><div class="li"> unparsed_uri: <abbr title="Uniform Resource Locator">URL</abbr> path, before <abbr title="Uniform Resource Locator">URL</abbr> decoding</div>
</li>
<li class="level1"><div class="li"> args: the query string</div>
</li>
<li class="level1"><div class="li"> method: the request method (GET, POST etc.)</div>
</li>
<li class="level1"><div class="li"> header_in(“Your-Request-Header”): any request header</div>
</li>
</ul>
</div>
<!-- EDIT3 SECTION "Request information" [1272-1677] -->
<h2 class="sectionedit4" id="extended_functions_list">Extended Functions List</h2>
<!-- EDIT2 SECTION "Presentation" [35-1215] -->
<h2 class="sectionedit3" id="extended_functions_list">Extended Functions List</h2>
<div class="level2">
</div>
<!-- EDIT4 SECTION "Extended Functions List" [1678-1714] -->
<h3 class="sectionedit5" id="date">date</h3>
<!-- EDIT3 SECTION "Extended Functions List" [1216-1252] -->
<h3 class="sectionedit4" id="date">date</h3>
<div class="level3">
<p>
@ -181,8 +153,8 @@ Returns the date, in format YYYYMMDDHHMMSS, local time by default, GMT by callin
<pre class="code">date(1)</pre>
</div>
<!-- EDIT5 SECTION "date" [1715-1834] -->
<h3 class="sectionedit6" id="checklogonhours">checkLogonHours</h3>
<!-- EDIT4 SECTION "date" [1253-1372] -->
<h3 class="sectionedit5" id="checklogonhours">checkLogonHours</h3>
<div class="level3">
<p>
@ -238,8 +210,8 @@ You can modify the default behavior for people without value in ssoLogonHours. I
<pre class="code">checkLogonHours($ssoLogonHours, &#039;&#039;, &#039;&#039;, &#039;1&#039;)</pre>
</div>
<!-- EDIT6 SECTION "checkLogonHours" [1835-3772] -->
<h3 class="sectionedit7" id="checkdate">checkDate</h3>
<!-- EDIT5 SECTION "checkLogonHours" [1373-3310] -->
<h3 class="sectionedit6" id="checkdate">checkDate</h3>
<div class="level3">
<p>
@ -270,8 +242,8 @@ Simple usage example:
<pre class="code">checkDate($ssoStartDate, $ssoEndDate)</pre>
</div>
<!-- EDIT7 SECTION "checkDate" [3773-4400] -->
<h3 class="sectionedit8" id="basic">basic</h3>
<!-- EDIT6 SECTION "checkDate" [3311-3938] -->
<h3 class="sectionedit7" id="basic">basic</h3>
<div class="level3">
<div class="noteimportant">This function is not compliant with <a href="safejail.html" class="wikilink1" title="documentation:2.0:safejail">Safe jail</a>, you will need to disable the jail to use it.
</div>
@ -295,8 +267,8 @@ Simple usage example:
<pre class="code">basic($uid,$_password)</pre>
</div>
<!-- EDIT8 SECTION "basic" [4401-4863] -->
<h3 class="sectionedit9" id="unicode2iso">unicode2iso</h3>
<!-- EDIT7 SECTION "basic" [3939-4401] -->
<h3 class="sectionedit8" id="unicode2iso">unicode2iso</h3>
<div class="level3">
<div class="noteimportant">This function is not compliant with <a href="safejail.html" class="wikilink1" title="documentation:2.0:safejail">Safe jail</a>, you will need to disable the jail to use it.
</div>
@ -318,8 +290,8 @@ Simple usage example:
<pre class="code">unicode2iso($name)</pre>
</div>
<!-- EDIT9 SECTION "unicode2iso" [4864-5168] -->
<h3 class="sectionedit10" id="iso2unicode">iso2unicode</h3>
<!-- EDIT8 SECTION "unicode2iso" [4402-4706] -->
<h3 class="sectionedit9" id="iso2unicode">iso2unicode</h3>
<div class="level3">
<div class="noteimportant">This function is not compliant with <a href="safejail.html" class="wikilink1" title="documentation:2.0:safejail">Safe jail</a>, you will need to disable the jail to use it.
</div>
@ -341,8 +313,8 @@ Simple usage example:
<pre class="code">iso2unicode($name)</pre>
</div>
<!-- EDIT10 SECTION "iso2unicode" [5169-5473] -->
<h3 class="sectionedit11" id="groupmatch">groupMatch</h3>
<!-- EDIT9 SECTION "iso2unicode" [4707-5011] -->
<h3 class="sectionedit10" id="groupmatch">groupMatch</h3>
<div class="level3">
<p>
@ -367,8 +339,8 @@ Simple usage example:
<pre class="code">groupMatch($hGroups, &#039;description&#039;, &#039;Service 1&#039;)</pre>
</div>
<!-- EDIT11 SECTION "groupMatch" [5474-5832] -->
<h3 class="sectionedit12" id="encrypt">encrypt</h3>
<!-- EDIT10 SECTION "groupMatch" [5012-5370] -->
<h3 class="sectionedit11" id="encrypt">encrypt</h3>
<div class="level3">
<div class="notetip">Since version 2.0, this function is now compliant with <a href="safejail.html" class="wikilink1" title="documentation:2.0:safejail">Safe jail</a>.
</div>
@ -378,8 +350,8 @@ This function uses the secret key of LLNG configuration to crypt a data. This ca
<pre class="code">encrypt($_whatToTrace)</pre>
</div>
<!-- EDIT12 SECTION "encrypt" [5833-6138] -->
<h3 class="sectionedit13" id="token">token</h3>
<!-- EDIT11 SECTION "encrypt" [5371-5676] -->
<h3 class="sectionedit12" id="token">token</h3>
<div class="level3">
<p>
@ -388,8 +360,8 @@ This function generates token used to <a href="servertoserver.html" class="wikil
<pre class="code">token($_session_id,&#039;webapp1.example.com&#039;,&#039;webapp2.example.com&#039;)</pre>
</div>
<!-- EDIT13 SECTION "token" [6139-6343] -->
<h3 class="sectionedit14" id="isinnet6">isInNet6</h3>
<!-- EDIT12 SECTION "token" [5677-5881] -->
<h3 class="sectionedit13" id="isinnet6">isInNet6</h3>
<div class="level3">
<p>
@ -398,6 +370,6 @@ Function to check if an IPv6 address is in a subnet. Example <em>check if <abbr
<pre class="code perl">isInNet6<span class="br0">&#40;</span><span class="re0">$ipAddr</span><span class="sy0">,</span> <span class="st_h">'fe80::/10'</span><span class="br0">&#41;</span></pre>
</div>
<!-- EDIT14 SECTION "isInNet6" [6344-] --></div>
<!-- EDIT13 SECTION "isInNet6" [5882-] --></div>
</body>
</html>

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>documentation:2.0:performances</title>
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="index,follow"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="keywords" content="documentation,2.0,performances"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="performances.html"/>
@ -63,6 +63,7 @@
<ul class="toc">
<li class="level3"><div class="li"><a href="#replace_mysql_by_apachesessionflex">Replace MySQL by Apache::Session::Flex</a></div></li>
<li class="level3"><div class="li"><a href="#use_apachesessionbrowseable">Use Apache::Session::Browseable</a></div></li>
<li class="level3"><div class="li"><a href="#performance_test">Performance test</a></div></li>
</ul>
</li>
<li class="level2"><div class="li"><a href="#ldap_performances">LDAP performances</a></div></li>
@ -128,6 +129,8 @@ Macros and groups are calculated during authentication process by the portal:
<ul>
<li class="level1"><div class="li"> macros are used to extend (or rewrite) <a href="exportedvars.html" class="wikilink1" title="documentation:2.0:exportedvars">exported variables</a>. A macro is stored as attributes: it can contain boolean results or any string</div>
</li>
<li class="level1"><div class="li"> macros can also be used to import environment variables <em>(these variables are in CGI format)</em>. Example: <code>$ENV{HTTP_COOKIE}</code></div>
</li>
<li class="level1"><div class="li"> groups are stored as space-separated strings in the special attribute “groups”: it contains the names of groups whose rules were returned true for the current user</div>
</li>
<li class="level1"><div class="li"> You can also get groups in <code>$hGroups</code> which is a Hash Reference of this form:</div>
@ -177,7 +180,7 @@ admin <span class="sy0">-&gt;</span> <span class="re0">$uid</span> <span class="
</div><div class="noteimportant">Macros and groups are computed in alphanumeric order, that is, in the order they are displayed in the manager. For example, macro “macro1” will be computed before macro “macro2”: so, expression of macro2 may involve value of macro1. As same for groups: a group rule may involve another, previously computed group.
</div>
</div>
<!-- EDIT4 SECTION "Macros and groups" [987-2949] -->
<!-- EDIT4 SECTION "Macros and groups" [987-3081] -->
<h3 class="sectionedit5" id="local_macros">Local macros</h3>
<div class="level3">
@ -191,12 +194,12 @@ Display<span class="sy0">-</span>Name <span class="sy0">-&gt;</span> <span class
<div class="notetip">Note that this feature is interesting only for the Lemonldap::NG systems protecting a high number of applications
</div>
</div>
<!-- EDIT5 SECTION "Local macros" [2950-3611] -->
<!-- EDIT5 SECTION "Local macros" [3082-3743] -->
<h2 class="sectionedit6" id="portal_performances">Portal performances</h2>
<div class="level2">
</div>
<!-- EDIT6 SECTION "Portal performances" [3612-3644] -->
<!-- EDIT6 SECTION "Portal performances" [3744-3776] -->
<h3 class="sectionedit7" id="general_performances">General performances</h3>
<div class="level3">
@ -219,7 +222,7 @@ By default it uses local storage to store its tokens. If you have more than 1 po
</div>
</div>
<!-- EDIT7 SECTION "General performances" [3645-4511] -->
<!-- EDIT7 SECTION "General performances" [3777-4643] -->
<h3 class="sectionedit8" id="apachesession_performances">Apache::Session performances</h3>
<div class="level3">
@ -232,7 +235,8 @@ Lemonldap::NG handlers use a local cache to store sessions (for 10 minutes). So
<li class="level1"><div class="li"> Since MySQL does not have always transaction feature, Apache::Session::MySQL has been designed to use MySQL locks. Since MySQL performances are very bad using this, if you want to store sessions in a MySQL database, prefer one of the following</div>
</li>
</ol>
<div class="notetip">Since 1.9.6, LLNG portal and handler check if session is valid at each access, so purgeCentralCache cron no longer needs to be launched every 10 minutes: one or two times per day is enough.
</div>
</div>
<h4 id="replace_mysql_by_apachesessionflex">Replace MySQL by Apache::Session::Flex</h4>
@ -256,9 +260,9 @@ Password -&gt; ...</pre>
<div class="level4">
<p>
<a href="https://metacpan.org/module/Apache::Session::Browseable" class="urlextern" title="https://metacpan.org/module/Apache::Session::Browseable" rel="nofollow">Apache::Session::Browseable</a> is a wrapper for other Apache::Session modules that add the capability to manage indexes. To use it (with MySQL for example), choose “Apache::Session::Browseable::MySQL” as “Apache::Session module” and use the following parameters:
<a href="https://metacpan.org/module/Apache::Session::Browseable" class="urlextern" title="https://metacpan.org/module/Apache::Session::Browseable" rel="nofollow">Apache::Session::Browseable</a> is a wrapper for other Apache::Session modules that add the capability to manage indexes. Prefer versions ≥ 1.2.5 to have better performances in DB cleaning. To use it (with PostgreSQL for example), choose “Apache::Session::Browseable::Postgres” as “Apache::Session module” and use the following parameters:
</p>
<pre class="code">DataSource -&gt; dbi:mysql:sessions;host=...
<pre class="code">DataSource -&gt; dbi:Pg:database=sessions;host=...
UserName -&gt; user
Password -&gt; password
Index -&gt; ipAddr uid</pre>
@ -266,12 +270,85 @@ Index -&gt; ipAddr uid</pre>
<p>
Note that Apache::Session::Browseable::MySQL doesn&#039;t use MySQL locks.
</p>
<div class="notetip">A <a href="https://metacpan.org/module/Apache::Session::Browseable::Redis" class="urlextern" title="https://metacpan.org/module/Apache::Session::Browseable::Redis" rel="nofollow">Apache::Session::Browseable::Redis</a> has been created, it is the faster (except for session explorer, defeated by Apache::Session::Browseable::<a href="https://metacpan.org/module/Apache::Session::Browseable" class="urlextern" title="https://metacpan.org/module/Apache::Session::Browseable" rel="nofollow">DBI</a>/<a href="https://metacpan.org/module/Apache::Session::Browseable::LDAP" class="urlextern" title="https://metacpan.org/module/Apache::Session::Browseable::LDAP" rel="nofollow">LDAP</a> ≥ 1.0)
</div><div class="noteimportant">Some Apache::Session module are not fully usable by Lemonldap::NG such as Apache::Session::Memcached since this modules do not offer capability to browse sessions. They does not allow one to use sessions explorer neither manage one-off sessions.
<p>
Look at <a href="browseablesessionbackend.html" class="wikilink1" title="documentation:2.0:browseablesessionbackend">Browseable session backend</a> to known which index to choose.
</p>
<div class="noteimportant">Some Apache::Session module are not fully usable by Lemonldap::NG such as Apache::Session::Memcached since these modules do not offer capability to browse sessions. They does not allow one to use sessions explorer neither manage one-off sessions.
</div>
</div>
<h4 id="performance_test">Performance test</h4>
<div class="level4">
<div class="notetip">A <a href="https://metacpan.org/module/Apache::Session::Browseable::Redis" class="urlextern" title="https://metacpan.org/module/Apache::Session::Browseable::Redis" rel="nofollow">Apache::Session::Browseable::Redis</a> has been created, it is the faster (except for session explorer, defeated by Apache::Session::Browseable::<a href="https://metacpan.org/module/Apache::Session::Browseable" class="urlextern" title="https://metacpan.org/module/Apache::Session::Browseable" rel="nofollow">DBI</a>/<a href="https://metacpan.org/module/Apache::Session::Browseable::LDAP" class="urlextern" title="https://metacpan.org/module/Apache::Session::Browseable::LDAP" rel="nofollow">LDAP</a>])
</div>
<p>
This test isn&#039;t a “only-backend” test but embed some LLNG methods, so real differences between engines are mitigate here.
</p>
<div class="table sectionedit9"><table class="inline table table-bordered table-striped">
<thead>
<tr class="row0 roweven">
<th class="col0 centeralign" colspan="2"> Backend </th><th class="col2 centeralign" colspan="3"> Portal and handlers </th><th class="col5 centeralign" colspan="3"> Session explorer and one-off sessions </th>
</tr>
<tr class="row1 rowodd">
<th class="col0 centeralign"> Name </th><th class="col1 centeralign"> Configuration </th><th class="col2 centeralign"> Insert 1000 </th><th class="col3 centeralign"> Search 1 </th><th class="col4 centeralign"> Purge 500 </th><th class="col5 centeralign"> Parse all </th><th class="col6 centeralign"> Search by substring </th><th class="col7 centeralign"> Search by UID </th>
</tr>
</thead>
<tr class="row2 roweven">
<td class="col0 leftalign"> Apache::Session::<strong>Browseable::LDAP</strong> </td><td class="col1 leftalign"> mdb </td><td class="col2 centeralign"> 159.66 </td><td class="col3 centeralign"> 0.0120 </td><td class="col4 centeralign"> 49.22 </td><td class="col5 centeralign"> 0.1110 </td><td class="col6 centeralign"> 0.0076 </td><td class="col7 centeralign"> 0.0050 </td>
</tr>
<tr class="row3 rowodd">
<td class="col0 leftalign"> Apache::Session::<strong>MySQL</strong> </td><td class="col1"> No lock </td><td class="col2 centeralign"> 87.20 </td><td class="col3 centeralign"> <strong>0.0039</strong> </td><td class="col4 centeralign"> 23.14 </td><td class="col5 centeralign"> 0.0281 </td><td class="col6 centeralign"> 0.0252 </td><td class="col7 centeralign"> 0.0235 </td>
</tr>
<tr class="row4 roweven">
<td class="col0"> Apache::Session::<strong>Browseable::MySQL</strong> </td><td class="col1 leftalign"> </td><td class="col2 centeralign"> 91.79 </td><td class="col3 centeralign"> <strong>0.0039</strong> </td><td class="col4 centeralign"> <strong>0.139</strong> (*) </td><td class="col5 centeralign"> 0.0272 </td><td class="col6 centeralign"> <strong>0.0036</strong> </td><td class="col7 centeralign"> <strong>0.0026</strong> </td>
</tr>
<tr class="row5 rowodd">
<td class="col0 leftalign"> Apache::Session::<strong>Postgres</strong> </td><td class="col1 leftalign"> </td><td class="col2 centeralign"> 18.31 </td><td class="col3 centeralign"> 0.0095 </td><td class="col4 centeralign"> 13.40 </td><td class="col5 centeralign"> 0.0323 </td><td class="col6 centeralign"> 0.0277 </td><td class="col7 centeralign"> 0.0264 </td>
</tr>
<tr class="row6 roweven">
<td class="col0"> Apache::Session::<strong>Postgres</strong> </td><td class="col1"> Unlogged table </td><td class="col2 centeralign"> 9.16 </td><td class="col3 centeralign"> 0.0095 </td><td class="col4 centeralign"> 7.91 </td><td class="col5 centeralign"> 0.0318 </td><td class="col6 centeralign"> 0.0270 </td><td class="col7 centeralign"> 0.0254 </td>
</tr>
<tr class="row7 rowodd">
<td class="col0 leftalign"> Apache::Session::<strong>Browseable::Postgres</strong> </td><td class="col1"> Unlogged table with indexes </td><td class="col2 centeralign"> 9.24 </td><td class="col3 centeralign"> 0.0094 </td><td class="col4 centeralign"> <strong>0.103</strong> (*) </td><td class="col5 centeralign"> 0.0301 </td><td class="col6 centeralign"> <strong>0.0037</strong> </td><td class="col7 centeralign"> <strong>0.0028</strong> </td>
</tr>
<tr class="row8 roweven">
<td class="col0 leftalign"> Apache::Session::<strong>Browseable::PgJSON</strong> </td><td class="col1"> Unlogged table, json field </td><td class="col2 centeralign"> 9.25 </td><td class="col3 centeralign"> 0.0091 </td><td class="col4 centeralign"> <strong>0.108</strong> (*) </td><td class="col5 centeralign"> 0.0247 </td><td class="col6 centeralign"> 0.0061 </td><td class="col7 centeralign"> <strong>0.0029</strong> </td>
</tr>
<tr class="row9 rowodd">
<td class="col0 leftalign"> Apache::Session::<strong>Browseable::PgHstore</strong> </td><td class="col1"> Unlogged table, hstore field </td><td class="col2 centeralign"> 9.62 </td><td class="col3 centeralign"> 0.0111 </td><td class="col4 centeralign"> <strong>0.105</strong> (*) </td><td class="col5 centeralign"> <strong>0.0125</strong> </td><td class="col6 centeralign"> <strong>0.0031</strong> </td><td class="col7 centeralign"> <strong>0.0029</strong> </td>
</tr>
<tr class="row10 roweven">
<td class="col0 leftalign"> Apache::Session::<strong>Redis</strong> </td><td class="col1 leftalign"> </td><td class="col2 centeralign"> <strong>2.13</strong> </td><td class="col3 centeralign"> <strong>0.0033</strong> </td><td class="col4 centeralign"> 1.158 </td><td class="col5 centeralign"> 0.0623 </td><td class="col6 centeralign"> 0.0570 </td><td class="col7 centeralign"> 0.0550 </td>
</tr>
<tr class="row11 rowodd">
<td class="col0 leftalign"> Apache::Session::<strong>Browseable::Redis</strong> </td><td class="col1 leftalign"> </td><td class="col2 centeralign"> <strong>2.36</strong> </td><td class="col3 centeralign"> <strong>0.0033</strong> </td><td class="col4 centeralign"> 1.154 </td><td class="col5 centeralign"> 0.0643 </td><td class="col6 centeralign"> 0.1048 </td><td class="col7 centeralign"> 0.0024 </td>
</tr>
</table></div>
<!-- EDIT9 TABLE [7534-9034] -->
<p>
<em><strong>(*) :</strong> “purge” test is done with Apache::Session::Browseable-1.2.5 and LLG-2.0. Earlier results are not so good.</em>
</p>
<p>
Analysis:
</p>
<ul>
<li class="level1"><div class="li"> LDAP servers are “write-once-read-many”, so write performances are very bad. Don&#039;t use this on heavy load if “Session activity timeout” is enabled <em>(if set, handler “write” sessions)</em></div>
</li>
<li class="level1"><div class="li"> MySQL/MariaDB is better to read than to write. Prefer PostgreSQL if you use “Session activity timeout”</div>
</li>
<li class="level1"><div class="li"> Logged tables decrease a lot insert performances with PostgreSQL, so use unlogged tables for sessions except for persistent sessions</div>
</li>
<li class="level1"><div class="li"> Redis is the best for main usage</div>
</li>
<li class="level1"><div class="li"> Browseable::Postgres/PgHstore/PgJSON are the best SQL solutions on average</div>
</li>
</ul>
</div>
<!-- EDIT8 SECTION "Apache::Session performances" [4512-6869] -->
<h3 class="sectionedit9" id="ldap_performances">LDAP performances</h3>
<!-- EDIT8 SECTION "Apache::Session performances" [4644-9717] -->
<h3 class="sectionedit10" id="ldap_performances">LDAP performances</h3>
<div class="level3">
<p>
@ -307,13 +384,13 @@ Now ldapgroups contains “admin su”
</div>
</div>
<!-- EDIT9 SECTION "LDAP performances" [6870-7999] -->
<h2 class="sectionedit10" id="manager_performances">Manager performances</h2>
<!-- EDIT10 SECTION "LDAP performances" [9718-10847] -->
<h2 class="sectionedit11" id="manager_performances">Manager performances</h2>
<div class="level2">
</div>
<!-- EDIT10 SECTION "Manager performances" [8000-8033] -->
<h3 class="sectionedit11" id="disable_unused_modules">Disable unused modules</h3>
<!-- EDIT11 SECTION "Manager performances" [10848-10881] -->
<h3 class="sectionedit12" id="disable_unused_modules">Disable unused modules</h3>
<div class="level3">
<p>
@ -323,8 +400,8 @@ In lemonldap-ng.ini, set only modules that you will use. By default, configurati
<span class="re1">enabledModules</span> <span class="sy0">=</span><span class="re2"> conf, sessions</span></pre>
</div>
<!-- EDIT11 SECTION "Disable unused modules" [8034-8280] -->
<h3 class="sectionedit12" id="use_static_html_files">Use static HTML files</h3>
<!-- EDIT12 SECTION "Disable unused modules" [10882-11128] -->
<h3 class="sectionedit13" id="use_static_html_files">Use static HTML files</h3>
<div class="level3">
<p>
@ -350,6 +427,6 @@ So manager <abbr title="HyperText Markup Language">HTML</abbr> templates will be
</p>
</div>
<!-- EDIT12 SECTION "Use static HTML files" [8281-] --></div>
<!-- EDIT13 SECTION "Use static HTML files" [11129-] --></div>
</body>
</html>

@ -90,7 +90,7 @@
<form action="/start" accept-charset="utf-8" class="search" id="dw__search" method="get" role="search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" class="edit" title="[F]" /><input type="submit" value="Search" class="button" title="Search" /><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
<ul class="nav navbar-nav">
<li><a href="/documentation/2.0/restserverplugin?do=login&amp;sectok=62a29c35a267f658799e362598e991b4" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
<li><a href="/documentation/2.0/restserverplugin?do=login&amp;sectok=d85714290cf235b49a654de9f78398ef" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
</div>
@ -204,7 +204,7 @@ You&#039;ve followed a link to a topic that doesn&#039;t exist yet. If permissio
</div><!-- /site -->
<div class="no"><img src="/lib/exe/indexer.php?id=documentation%3A2.0%3Arestserverplugin&amp;1490850194" width="2" height="1" alt="" /></div>
<div class="no"><img src="/lib/exe/indexer.php?id=documentation%3A2.0%3Arestserverplugin&amp;1491283180" width="2" height="1" alt="" /></div>
<div id="screen__mode" class="no">
<span class="visible-xs"></span>
<span class="visible-sm"></span>

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>documentation:2.0:sqlsessionbackend</title>
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="index,follow"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="keywords" content="documentation,2.0,sqlsessionbackend"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="sqlsessionbackend.html"/>
@ -120,7 +120,7 @@ Create sessions table:
id <span class="kw1">CHAR</span><span class="br0">&#40;</span><span class="nu0">32</span><span class="br0">&#41;</span> <span class="kw1">NOT</span> <span class="kw1">NULL</span> <span class="kw1">PRIMARY</span> <span class="kw1">KEY</span><span class="sy0">,</span>
a_session text
<span class="br0">&#41;</span>;</pre>
<div class="noteimportant">Change char(32) by char(64) if you use the now recommended SHA256 hash algorithm. See <a href="documentation/latest/sessions.html" class="wikilink1" title="documentation:latest:sessions">Sessions</a> for more details
<div class="noteimportant">Change <code>char(32)</code> by <code>varchar(64)</code> if you use the now recommended SHA256 hash algorithm. See <a href="documentation/latest/sessions.html" class="wikilink1" title="documentation:latest:sessions">Sessions</a> for more details
</div><div class="notetip">You can change table name <code>sessions</code> to whatever you want, just adapt the parameter <code>TableName</code> in module options.
</div>
</div>
@ -150,12 +150,12 @@ Create table:
<pre class="code">psql -h 127.0.0.1 -U lemonldap-ng -W lemonldap-ng</pre>
<pre class="code">Mot de passe pour l&#039;utilisateur lemonldap-ng :
[...]
lemonldap-ng=&gt; create table sessions ( id char(32) not null primary key, a_session text );
lemonldap-ng=&gt; create unlogged table sessions ( id char(32) not null primary key, a_session text );
lemonldap-ng=&gt; q</pre>
<div class="noteimportant">Change char(32) by char(64) if you use the now recommended SHA256 hash algorithm. See <a href="documentation/latest/sessions.html" class="wikilink1" title="documentation:latest:sessions">Sessions</a> for more details
<div class="noteimportant">Change <code>char(32)</code> by <code>varchar(64)</code> if you use the now recommended SHA256 hash algorithm. See <a href="documentation/latest/sessions.html" class="wikilink1" title="documentation:latest:sessions">Sessions</a> for more details
</div>
</div>
<!-- EDIT3 SECTION "Prepare the database" [488-2206] -->
<!-- EDIT3 SECTION "Prepare the database" [488-2237] -->
<h3 class="sectionedit4" id="manager">Manager</h3>
<div class="level3">
@ -184,10 +184,10 @@ Go in the Manager and set the session module (for example <a href="http://search
<td class="col0 centeralign"> <strong>Commit</strong> </td><td class="col1"> Required for PostgreSQL </td><td class="col2"> 1 </td>
</tr>
<tr class="row6 roweven">
<td class="col0 centeralign"> <strong>TableName</strong> </td><td class="col1"> Name of the table </td><td class="col2"> sessions </td>
<td class="col0 centeralign"> <strong>TableName</strong> </td><td class="col1"> <em>(Optional)</em> Name of the table </td><td class="col2"> sessions </td>
</tr>
</table></div>
<!-- EDIT5 TABLE [2535-2929] -->
<!-- EDIT5 TABLE [2566-2975] -->
<p>
You must read the man page corresponding to your database (<a href="http://search.cpan.org/perldoc?Apache::Session::MySQL" class="urlextern" title="http://search.cpan.org/perldoc?Apache::Session::MySQL" rel="nofollow">Apache::Session::MySQL</a>, …) to learn more about parameters. You must also install the database connector (<a href="http://search.cpan.org/perldoc?DBD::Oracle" class="urlextern" title="http://search.cpan.org/perldoc?DBD::Oracle" rel="nofollow">DBD::Oracle</a>, <a href="http://search.cpan.org/perldoc?DBD::Pg" class="urlextern" title="http://search.cpan.org/perldoc?DBD::Pg" rel="nofollow">DBD::Pg</a>,…)
</p>
@ -206,7 +206,7 @@ If you choose to use MySQL, read <a href="performances.html#apachesession_perfor
</p>
</div>
<!-- EDIT4 SECTION "Manager" [2207-3508] -->
<!-- EDIT4 SECTION "Manager" [2238-3554] -->
<h2 class="sectionedit6" id="security">Security</h2>
<div class="level2">
@ -219,6 +219,6 @@ You can also use different user/password for your servers by overriding paramete
</p>
</div>
<!-- EDIT6 SECTION "Security" [3509-] --></div>
<!-- EDIT6 SECTION "Security" [3555-] --></div>
</body>
</html>

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>documentation:2.0:upgrade</title>
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="robots" content="index,follow"/>
<meta name="keywords" content="documentation,2.0,upgrade"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="upgrade.html"/>

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>documentation:2.0:writingrulesand_headers</title>
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="robots" content="index,follow"/>
<meta name="keywords" content="documentation,2.0,writingrulesand_headers"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="writingrulesand_headers.html"/>

@ -1984,14 +1984,6 @@ Le nouveau rôle doit-il être autorisé à créer des bases de données ?</seg>
<seg>_user</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>The following data about the current request are available through functions :</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T162017Z" changeid="xavier">
<seg>Les données suivantes concernant la requête courante sont disponibles via les fonctions :</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>To use custom files, delete links and copy them into your skin folder:</seg>
@ -2614,14 +2606,6 @@ make debian-packages</seg>
<seg>msmith@badwolf.org</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>To use it (with MySQL for example), choose “Apache::Session::Browseable::MySQL” as “Apache::Session module” and use the following parameters:</seg>
</tuv>
<tuv lang="FR-FR" changedate="20120419T071256Z" changeid="guimard">
<seg>Pour l'utiliser (avec MySQL par exemple), choisissez “Apache::Session::Browseable::MySQL” comme “Module Apache::Session” et utilisez les paramètres suivants :</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>In the &lt;endpoint&gt;, change &lt;connector-id&gt; value to alfrescoHeader and change the &lt;userHeader&gt; value to Auth-User:</seg>
@ -6586,20 +6570,6 @@ cda = 1</seg>
<seg>Aller dans le Manager et créer un fournisseur OpenID-Connect.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Mot de passe pour l'utilisateur lemonldap-ng :
[...]
lemonldap-ng=&gt; create table sessions ( id char(32) not null primary key, a_session text );
lemonldap-ng=&gt; q</seg>
</tuv>
<tuv lang="FR-FR" changedate="20120423T204926Z" changeid="xavier">
<seg>Mot de passe pour l'utilisateur lemonldap-ng :
[...]
lemonldap-ng=&gt; create table sessions ( id char(32) not null primary key, a_session text );
lemonldap-ng=&gt; q</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Extra claims definition</seg>
@ -7480,14 +7450,6 @@ else {</seg>
<seg>L'ajouter à trustedDomains (ou mettre * dans trustedDomains pour tout accepter).</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>header_in(“Your-Request-Header”): any request header</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T162216Z" changeid="xavier">
<seg>header_in(“Your-Request-Header”) : n'importe quel en-tête de la requête</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>The common domain is used by SAML SP to find an Identity Provider for the user, and by SAML IDP to register itself in user's IDP list.</seg>
@ -8526,14 +8488,6 @@ else {</seg>
<seg>Signature des messages SSO : signe les messages SSO</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>DataSource -&gt; dbi:mysql:sessions;host=...</seg>
</tuv>
<tuv lang="FR-FR">
<seg>DataSource -&gt; dbi:mysql:sessions;host=...</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>#compilation</seg>
@ -9444,14 +9398,6 @@ description: {whatToTrace}'$uid'
<seg>Pour en savoir plus :</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>CAS issuer</seg>
</tuv>
<tuv lang="FR-FR" changedate="20130203T113818Z" changeid="xavier">
<seg>Fourniture d'identité CAS</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>etc.</seg>
@ -11776,14 +11722,6 @@ else {</seg>
<seg>dbiUser : utilisateur DBI.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>uri_with_args: URL path with query string</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T162104Z" changeid="xavier">
<seg>uri_with_args : l'URL complète (y compris les arguments GET)</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>$uid eq “root”</seg>
@ -12670,14 +12608,6 @@ portalSkin = dark</seg>
<seg>On peut également construire les paquets à partir de l'archive LemonLDAP::NG :</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Change char(32) by char(64) if you use the now recommended SHA256 hash algorithm.</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T055611Z" changeid="xavier">
<seg>Changer char(32) en char(64) pour utiliser l'algorithme de hashage SHA256 (recommandé).</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>In LDAP filters, $user is replaced by user login, and $mail by user email.</seg>
@ -13134,14 +13064,6 @@ portalSkin = dark</seg>
<seg>Alfresco est un logiciel ECM/BPM.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>_cas_id</seg>
</tuv>
<tuv lang="FR-FR" changedate="20130203T113819Z" changeid="xavier">
<seg>_cas_id</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>http://auth.example.com</seg>
@ -15108,14 +15030,6 @@ server {</seg>
<seg>Redirection pour les erreurs : utilise 302 au lieu de 500 ou 503</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>ipAddr WHATTOTRACE</seg>
</tuv>
<tuv lang="FR-FR" changedate="20130203T113734Z" changeid="xavier">
<seg>ipAddr WHATTOTRACE</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Known problems</seg>
@ -15404,14 +15318,6 @@ server {</seg>
<seg>Pour les utilisateurs de Debian testing ou unstable, les paquets sont directement installables :</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>You have access to all environment variable, like user IP address.</seg>
</tuv>
<tuv lang="FR-FR" changedate="20120221T060222Z" changeid="xavier">
<seg>Toutes les variables d'environnement sont disponibles, telle l'adresse IP de l'utilisateur.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Single Sign On cookie, domain and portal URL</seg>
@ -16950,14 +16856,6 @@ dbiTable = mytablename</seg>
<seg>//&quot;userobm_email_nomade&quot; =&gt; ,</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>method: the request method (GET, POST etc.)</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T162200Z" changeid="xavier">
<seg>method : la méthode de la requête (GET, POST, etc…)</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Search base: DN of groups branch.</seg>
@ -20202,14 +20100,6 @@ Le nouveau rôle est-il un super-utilisateur ?</seg>
<seg>Configurer l'hôte virtuel LimeSurvey comme n'importe quel autre hôte virtuel protégé.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Some Apache::Session module are not fully usable by Lemonldap::NG such as Apache::Session::Memcached since this modules do not offer capability to browse sessions.</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160302T062842Z" changeid="xavier">
<seg>Certains modules Apache::Session ne sont pas utilisables par Lemonldap::NG tel Apache::Session::Memcached, car ce module n'offre pas de dispositif de parcours des sessions</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>a2ensite manager-apache2.conf
@ -20802,14 +20692,6 @@ notification = 1</seg>
<seg>Il est également possible de créer ces macros pour gérer le compte administrateur OBM (Variables » Macros):</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>uri: URL path</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T162044Z" changeid="xavier">
<seg>uri : l'URL</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Session backend</seg>
@ -21442,14 +21324,6 @@ $lemonldap_config = Array(</seg>
<seg>Le connecteur Django est disponible sur GitHub : https://github.com/9h37/django-lemonldap</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>remote_ip: the client IP address</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T162031Z" changeid="xavier">
<seg>remote_ip : l'adresse IP cliente</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>You have to run this command on Active Directory:</seg>
@ -22608,14 +22482,6 @@ tpl_myparam = world</seg>
<seg>À la réception de la requête, le contexte d'authentification réel est traduit en un niveau d'authentification interne (voir comment configurer la translation), utilisable pour accorder ou non la création de session.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>$ENV{REMOTE_ADDR} =~ /^192\.168/</seg>
</tuv>
<tuv lang="FR-FR" changedate="20120221T060310Z" changeid="xavier">
<seg>$ENV{REMOTE_ADDR} =~ /^192\.168/</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>LL::NG Portal can be used under a FastCGI system very easily.</seg>
@ -23564,14 +23430,6 @@ globalStorageOptions = { 'Directory' =&gt; '/var/lib/lemonldap-ng/sessions/', 'L
<seg>Configurer le nom de compte et le mot-de-passe</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>SAML authentication and issuer</seg>
</tuv>
<tuv lang="FR-FR" changedate="20130203T113759Z" changeid="xavier">
<seg>Authentification ou fourniture d'identité SAML</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>SSO binding: force binding to use for SSO (http-redirect, http-post, etc.)</seg>
@ -24492,14 +24350,6 @@ globalStorageOptions = { 'Directory' =&gt; '/var/lib/lemonldap-ng/sessions/', 'L
<seg>Il est préférable d'utiliser des bases de sessions séparées pour les sessions standard, SAML et CAS afin de gérer séparemment les index.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>WHATTOTRACE must be replaced by the attribute or macro configured in the What To Trace parameter (REMOTE_USER)</seg>
</tuv>
<tuv lang="FR-FR" changedate="20130203T113955Z" changeid="xavier">
<seg>WHATTOTRACE doit être remplacé par l'attribut ou la macro configurée dans le paramètre indiquant le champ utilisateur à stocker dans les journaux (REMOTE_USER)</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>New Service Provider</seg>
@ -27010,14 +26860,6 @@ protection = manager</seg>
<seg>Application hébergée</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Password reset</seg>
</tuv>
<tuv lang="FR-FR" changedate="20130203T113832Z" changeid="xavier">
<seg>Réinitialisation de mots-de-passe</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Please always try to find another solution to protect your application with LL::NG.</seg>
@ -28020,14 +27862,6 @@ protection = manager</seg>
<seg>&lt;user username=&quot;tomcat&quot; password=&quot;tomcat&quot; roles=&quot;tomcat&quot;/&gt;</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>args: the query string</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T162141Z" changeid="xavier">
<seg>args : la chaîne de requête</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Change password: update password column in authentication table matching user</seg>
@ -29236,14 +29070,6 @@ failregex = Lemonldap\:\:NG \: .* was not found in LDAP directory \(&lt;HOST&gt;
<seg>Après redirection, authentification normale sur le portail distant (celui de son organisation)</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>dbi:mysql:dbname=sessions</seg>
</tuv>
<tuv lang="FR-FR" changedate="20120221T072312Z" changeid="xavier">
<seg>dbi:mysql:dbname=sessions</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Local groups</seg>
@ -30246,14 +30072,6 @@ CUSTOM_FUNCTIONS_FILE=/root/SSOExtensions.pm</seg>
<seg>Il est destiné aux équipes de développeurs, groupes de travail ou petites entreprises.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>This documentation concerns MySQL.</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T055501Z" changeid="xavier">
<seg>Cette documentation est construite autour de MySQL.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Django</seg>
@ -31992,22 +31810,6 @@ maxretry = 3</seg>
<seg>Pour activer le composant d'authentification LL::NG, aller dans /etc/obm/obm_conf.inc:</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>_saml_id ProxyID _nameID _assert_id _art_id _session_id</seg>
</tuv>
<tuv lang="FR-FR" changedate="20131025T064525Z" changeid="xavier">
<seg>_saml_id ProxyID _nameID _assert_id _art_id _session_id</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>For example, to preselect this IDP for users coming from 129.168.0.0/16 network:</seg>
</tuv>
<tuv lang="FR-FR" changedate="20120221T060308Z" changeid="xavier">
<seg>Par exemple, pour pré-sélectionner cet IDP pour les utilisateurs provenant dui réseau 129.168.0.0/16 :</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Password: Connection password</seg>
@ -32822,14 +32624,6 @@ maxretry = 3</seg>
<seg>Affiche les sessions effacées</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>See Sessions for more details</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T055627Z" changeid="xavier">
<seg>Voir Sessions pour plus de détails</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>To view a configuration parameter, for example portal URL:</seg>
@ -32942,14 +32736,6 @@ maxretry = 3</seg>
<seg>Voir le README pour l'installer et le configurer.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>unparsed_uri: URL path, before URL decoding</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T162125Z" changeid="xavier">
<seg>unparsed_uri : l'URL avant décodage</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>&lt;/Location&gt;

@ -1984,14 +1984,6 @@ Le nouveau rôle doit-il être autorisé à créer des bases de données ?</seg>
<seg>_user</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>The following data about the current request are available through functions :</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20160301T162017Z" changeid="xavier">
<seg>Les données suivantes concernant la requête courante sont disponibles via les fonctions :</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>To use custom files, delete links and copy them into your skin folder:</seg>
@ -2614,14 +2606,6 @@ make debian-packages</seg>
<seg>msmith@badwolf.org</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>To use it (with MySQL for example), choose “Apache::Session::Browseable::MySQL” as “Apache::Session module” and use the following parameters:</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20120419T071256Z" changeid="guimard">
<seg>Pour l'utiliser (avec MySQL par exemple), choisissez “Apache::Session::Browseable::MySQL” comme “Module Apache::Session” et utilisez les paramètres suivants :</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>In the <bpt i='1' x='1'>&lt;c1&gt;</bpt>&lt;endpoint&gt;<ept i='1'>&lt;/c1&gt;</ept>, change <bpt i='2' x='2'>&lt;c2&gt;</bpt>&lt;connector-id&gt;<ept i='2'>&lt;/c2&gt;</ept> value to <bpt i='3' x='3'>&lt;c3&gt;</bpt>alfrescoHeader<ept i='3'>&lt;/c3&gt;</ept> and change the <bpt i='4' x='4'>&lt;c4&gt;</bpt>&lt;userHeader&gt;<ept i='4'>&lt;/c4&gt;</ept> value to <bpt i='5' x='5'>&lt;c5&gt;</bpt>Auth-User<ept i='5'>&lt;/c5&gt;</ept>:</seg>
@ -6586,20 +6570,6 @@ DataSource -&gt; dbi:mysql:sessions;host=...</seg>
<seg>Aller dans le Manager et créer un fournisseur OpenID-Connect.</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>Mot de passe pour l'utilisateur lemonldap-ng :
[...]
lemonldap-ng=&gt; create table sessions ( id char(32) not null primary key, a_session text );
lemonldap-ng=&gt; q</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20120423T204926Z" changeid="xavier">
<seg>Mot de passe pour l'utilisateur lemonldap-ng :
[...]
lemonldap-ng=&gt; create table sessions ( id char(32) not null primary key, a_session text );
lemonldap-ng=&gt; q</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>Extra claims definition</seg>
@ -7480,14 +7450,6 @@ lemonldap-ng=&gt; q</seg>
<seg>L'ajouter à trustedDomains (ou mettre <bpt i='0' x='0'>&lt;c0&gt;</bpt>*<ept i='0'>&lt;/c0&gt;</ept> dans trustedDomains pour tout accepter).</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>header_in(“Your-Request-Header”): any request header</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20160301T162216Z" changeid="xavier">
<seg>header_in(“Your-Request-Header”) : n'importe quel en-tête de la requête</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>The common domain is used by <bpt i='0' x='0'>&lt;a0&gt;</bpt>SAML SP<ept i='0'>&lt;/a0&gt;</ept> to find an Identity Provider for the user, and by <bpt i='1' x='1'>&lt;a1&gt;</bpt>SAML IDP<ept i='1'>&lt;/a1&gt;</ept> to register itself in user's IDP list.</seg>
@ -8526,14 +8488,6 @@ lemonldap-ng=&gt; q</seg>
<seg><bpt i='0' x='0'>&lt;s0&gt;</bpt>Signature des messages <bpt i='1' x='1'>&lt;a1&gt;</bpt>SSO<ept i='1'>&lt;/a1&gt;</ept><ept i='0'>&lt;/s0&gt;</ept> : signe les messages <bpt i='2' x='2'>&lt;a2&gt;</bpt>SSO<ept i='2'>&lt;/a2&gt;</ept></seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>DataSource -&gt; dbi:mysql:sessions;host=...</seg>
</tuv>
<tuv xml:lang="FR-FR">
<seg>DataSource -&gt; dbi:mysql:sessions;host=...</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>#compilation</seg>
@ -9444,14 +9398,6 @@ description: {whatToTrace}'$uid'
<seg>Pour en savoir plus :</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg><bpt i='0' x='0'>&lt;a0&gt;</bpt>CAS<ept i='0'>&lt;/a0&gt;</ept> issuer</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20130203T113818Z" changeid="xavier">
<seg>Fourniture d'identité <bpt i='0' x='0'>&lt;a0&gt;</bpt>CAS<ept i='0'>&lt;/a0&gt;</ept></seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>etc.</seg>
@ -11776,14 +11722,6 @@ openssl x509 -req -days 3650 -in cert.csr -signkey lemonldap-ng-priv.key -out ce
<seg><bpt i='0' x='0'>&lt;s0&gt;</bpt>dbiUser<ept i='0'>&lt;/s0&gt;</ept> : utilisateur <bpt i='1' x='1'>&lt;a1&gt;</bpt>DBI<ept i='1'>&lt;/a1&gt;</ept>.</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>uri_with_args: <bpt i='0' x='0'>&lt;a0&gt;</bpt>URL<ept i='0'>&lt;/a0&gt;</ept> path with query string</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20160301T162104Z" changeid="xavier">
<seg>uri_with_args : l'<bpt i='0' x='0'>&lt;a0&gt;</bpt>URL<ept i='0'>&lt;/a0&gt;</ept> complète (y compris les arguments GET)</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>$uid eq “root”</seg>
@ -12670,14 +12608,6 @@ openssl x509 -req -days 3650 -in cert.csr -signkey lemonldap-ng-priv.key -out ce
<seg>On peut également construire les paquets à partir de l'<bpt i='0' x='0'>&lt;a0&gt;</bpt>archive LemonLDAP::NG<ept i='0'>&lt;/a0&gt;</ept> :</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>Change char(32) by char(64) if you use the now recommended SHA256 hash algorithm.</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20160301T055611Z" changeid="xavier">
<seg>Changer char(32) en char(64) pour utiliser l'algorithme de hashage SHA256 (recommandé).</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>In LDAP filters, $user is replaced by user login, and $mail by user email.</seg>
@ -13134,14 +13064,6 @@ openssl x509 -req -days 3650 -in cert.csr -signkey lemonldap-ng-priv.key -out ce
<seg><bpt i='0' x='0'>&lt;a0&gt;</bpt>Alfresco<ept i='0'>&lt;/a0&gt;</ept> est un logiciel ECM/BPM.</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>_cas_id</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20130203T113819Z" changeid="xavier">
<seg>_cas_id</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>http://auth.example.com</seg>
@ -15108,14 +15030,6 @@ server {</seg>
<seg><bpt i='0' x='0'>&lt;s0&gt;</bpt>Redirection pour les erreurs<ept i='0'>&lt;/s0&gt;</ept> : utilise 302 au lieu de 500 ou 503</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>ipAddr <bpt i='0' x='0'>&lt;e0&gt;</bpt>WHATTOTRACE<ept i='0'>&lt;/e0&gt;</ept></seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20130203T113734Z" changeid="xavier">
<seg>ipAddr <bpt i='0' x='0'>&lt;e0&gt;</bpt>WHATTOTRACE<ept i='0'>&lt;/e0&gt;</ept></seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>Known problems</seg>
@ -15404,14 +15318,6 @@ server {</seg>
<seg>Pour les utilisateurs de Debian testing ou unstable, les paquets sont directement installables :</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>You have access to all environment variable, like user <bpt i='1' x='1'>&lt;a1&gt;</bpt>IP<ept i='1'>&lt;/a1&gt;</ept> address.</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20120221T060222Z" changeid="xavier">
<seg>Toutes les variables d'environnement sont disponibles, telle l'adresse <bpt i='1' x='1'>&lt;a1&gt;</bpt>IP<ept i='1'>&lt;/a1&gt;</ept> de l'utilisateur.</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>Single Sign On cookie, domain and portal URL</seg>
@ -16950,14 +16856,6 @@ createuser lemonldap-ng -P</seg>
<seg><bpt i='147' x='147'>&lt;s147&gt;</bpt>//&quot;userobm_email_nomade&quot; =&gt; ,<ept i='147'>&lt;/s147&gt;</ept></seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>method: the request method (GET, POST etc.)</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20160301T162200Z" changeid="xavier">
<seg>method : la méthode de la requête (GET, POST, etc…)</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg><bpt i='0' x='0'>&lt;s0&gt;</bpt>Search base<ept i='0'>&lt;/s0&gt;</ept>: <bpt i='1' x='1'>&lt;a1&gt;</bpt>DN<ept i='1'>&lt;/a1&gt;</ept> of groups branch.</seg>
@ -20202,14 +20100,6 @@ Le nouveau rôle est-il un super-utilisateur ?</seg>
<seg>Configurer l'hôte virtuel LimeSurvey comme n'importe quel autre <bpt i='0' x='0'>&lt;a0&gt;</bpt>hôte virtuel protégé<ept i='0'>&lt;/a0&gt;</ept>.</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>Some Apache::Session module are not fully usable by Lemonldap::NG such as Apache::Session::Memcached since this modules do not offer capability to browse sessions.</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20160302T062842Z" changeid="xavier">
<seg>Certains modules Apache::Session ne sont pas utilisables par Lemonldap::NG tel Apache::Session::Memcached, car ce module n'offre pas de dispositif de parcours des sessions</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>a2ensite manager-apache2.conf
@ -20802,14 +20692,6 @@ a2ensite test-apache2.conf</seg>
<seg>Il est également possible de créer ces macros pour gérer le compte administrateur OBM (<bpt i='0' x='0'>&lt;c0&gt;</bpt>Variables<ept i='0'>&lt;/c0&gt;</ept> » <bpt i='1' x='1'>&lt;c1&gt;</bpt>Macros<ept i='1'>&lt;/c1&gt;</ept>):</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>uri: <bpt i='0' x='0'>&lt;a0&gt;</bpt>URL<ept i='0'>&lt;/a0&gt;</ept> path</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20160301T162044Z" changeid="xavier">
<seg>uri : l'<bpt i='0' x='0'>&lt;a0&gt;</bpt>URL<ept i='0'>&lt;/a0&gt;</ept></seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>Session backend</seg>
@ -21442,14 +21324,6 @@ a2ensite test-apache2.conf</seg>
<seg>Le connecteur Django est disponible sur GitHub : <bpt i='0' x='0'>&lt;a0&gt;</bpt>https://github.com/9h37/django-lemonldap<ept i='0'>&lt;/a0&gt;</ept></seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>remote_ip: the client <bpt i='0' x='0'>&lt;a0&gt;</bpt>IP<ept i='0'>&lt;/a0&gt;</ept> address</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20160301T162031Z" changeid="xavier">
<seg>remote_ip : l'adresse <bpt i='0' x='0'>&lt;a0&gt;</bpt>IP<ept i='0'>&lt;/a0&gt;</ept> cliente</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>You have to run this command on Active Directory:</seg>
@ -22608,14 +22482,6 @@ a2ensite test-apache2.conf</seg>
<seg>À la réception de la requête, le contexte d'authentification réel est traduit en un niveau d'authentification interne (voir <bpt i='1' x='1'>&lt;a1&gt;</bpt>comment configurer la translation<ept i='1'>&lt;/a1&gt;</ept>), utilisable pour accorder ou non la création de session.</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>$ENV{REMOTE_ADDR} =~ /^192\.168/</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20120221T060310Z" changeid="xavier">
<seg>$ENV{REMOTE_ADDR} =~ /^192\.168/</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg><bpt i='0' x='0'>&lt;a0&gt;</bpt>LL::NG<ept i='0'>&lt;/a0&gt;</ept> Portal can be used under a <bpt i='1' x='1'>&lt;a1&gt;</bpt>FastCGI system<ept i='1'>&lt;/a1&gt;</ept> very easily.</seg>
@ -23564,14 +23430,6 @@ a2ensite test-apache2.conf</seg>
<seg>Configurer le nom de compte et le mot-de-passe</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg><bpt i='0' x='0'>&lt;a0&gt;</bpt>SAML<ept i='0'>&lt;/a0&gt;</ept> authentication and issuer</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20130203T113759Z" changeid="xavier">
<seg>Authentification ou fourniture d'identité <bpt i='0' x='0'>&lt;a0&gt;</bpt>SAML<ept i='0'>&lt;/a0&gt;</ept></seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg><bpt i='0' x='0'>&lt;s0&gt;</bpt><bpt i='1' x='1'>&lt;a1&gt;</bpt>SSO<ept i='1'>&lt;/a1&gt;</ept> binding<ept i='0'>&lt;/s0&gt;</ept>: force binding to use for <bpt i='2' x='2'>&lt;a2&gt;</bpt>SSO<ept i='2'>&lt;/a2&gt;</ept> (http-redirect, http-post, etc.)</seg>
@ -24492,14 +24350,6 @@ a2ensite test-apache2.conf</seg>
<seg>Il est préférable d'utiliser des bases de sessions séparées pour les sessions standard, <bpt i='0' x='0'>&lt;a0&gt;</bpt>SAML<ept i='0'>&lt;/a0&gt;</ept> et <bpt i='1' x='1'>&lt;a1&gt;</bpt>CAS<ept i='1'>&lt;/a1&gt;</ept> afin de gérer séparemment les index.</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg><bpt i='0' x='0'>&lt;e0&gt;</bpt>WHATTOTRACE<ept i='0'>&lt;/e0&gt;</ept> must be replaced by the attribute or macro configured in the What To Trace parameter (REMOTE_USER)</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20130203T113955Z" changeid="xavier">
<seg><bpt i='0' x='0'>&lt;e0&gt;</bpt>WHATTOTRACE<ept i='0'>&lt;/e0&gt;</ept> doit être remplacé par l'attribut ou la macro configurée dans le paramètre indiquant le champ utilisateur à stocker dans les journaux (REMOTE_USER)</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>New Service Provider</seg>
@ -27010,14 +26860,6 @@ WithPeak[test.example.com]: wmy</seg>
<seg>Application hébergée</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>Password reset</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20130203T113832Z" changeid="xavier">
<seg>Réinitialisation de mots-de-passe</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>Please always try to find another solution to protect your application with <bpt i='0' x='0'>&lt;a0&gt;</bpt>LL::NG<ept i='0'>&lt;/a0&gt;</ept>.</seg>
@ -28020,14 +27862,6 @@ WithPeak[test.example.com]: wmy</seg>
<seg><bpt i='20' x='20'>&lt;s20&gt;</bpt><bpt i='21' x='21'>&lt;s21&gt;</bpt>&lt;user<ept i='21'>&lt;/s21&gt;</ept> <bpt i='22' x='22'>&lt;s22&gt;</bpt>username<ept i='22'>&lt;/s22&gt;</ept>=<bpt i='23' x='23'>&lt;s23&gt;</bpt>&quot;tomcat&quot;<ept i='23'>&lt;/s23&gt;</ept> <bpt i='24' x='24'>&lt;s24&gt;</bpt>password<ept i='24'>&lt;/s24&gt;</ept>=<bpt i='25' x='25'>&lt;s25&gt;</bpt>&quot;tomcat&quot;<ept i='25'>&lt;/s25&gt;</ept> <bpt i='26' x='26'>&lt;s26&gt;</bpt>roles<ept i='26'>&lt;/s26&gt;</ept>=<bpt i='27' x='27'>&lt;s27&gt;</bpt>&quot;tomcat&quot;<ept i='27'>&lt;/s27&gt;</ept><bpt i='28' x='28'>&lt;s28&gt;</bpt>/&gt;<ept i='28'>&lt;/s28&gt;</ept><ept i='20'>&lt;/s20&gt;</ept></seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>args: the query string</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20160301T162141Z" changeid="xavier">
<seg>args : la chaîne de requête</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>Change password: update password column in authentication table matching user</seg>
@ -29236,14 +29070,6 @@ failregex = Lemonldap\:\:NG \: .* was not found in LDAP directory \(&lt;HOST&gt;
<seg>Après redirection, authentification normale sur le portail distant (celui de son organisation)</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>dbi:mysql:dbname=sessions</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20120221T072312Z" changeid="xavier">
<seg>dbi:mysql:dbname=sessions</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>Local groups</seg>
@ -30246,14 +30072,6 @@ CUSTOM_FUNCTIONS_FILE=/root/SSOExtensions.pm</seg>
<seg>Il est destiné aux équipes de développeurs, groupes de travail ou petites entreprises.</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>This documentation concerns MySQL.</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20160301T055501Z" changeid="xavier">
<seg>Cette documentation est construite autour de MySQL.</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>Django</seg>
@ -31992,22 +31810,6 @@ maxretry = 3</seg>
<seg>Pour activer le composant d'authentification <bpt i='0' x='0'>&lt;a0&gt;</bpt>LL::NG<ept i='0'>&lt;/a0&gt;</ept>, aller dans <bpt i='1' x='1'>&lt;c1&gt;</bpt>/etc/obm/obm_conf.inc<ept i='1'>&lt;/c1&gt;</ept>:</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>_saml_id ProxyID _nameID _assert_id _art_id _session_id</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20131025T064525Z" changeid="xavier">
<seg>_saml_id ProxyID _nameID _assert_id _art_id _session_id</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>For example, to preselect this IDP for users coming from 129.168.0.0/16 network:</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20120221T060308Z" changeid="xavier">
<seg>Par exemple, pour pré-sélectionner cet IDP pour les utilisateurs provenant dui réseau 129.168.0.0/16 :</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg><bpt i='0' x='0'>&lt;s0&gt;</bpt>Password<ept i='0'>&lt;/s0&gt;</ept>: Connection password</seg>
@ -32822,14 +32624,6 @@ maxretry = 3</seg>
<seg>Affiche les sessions effacées</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>See <bpt i='0' x='0'>&lt;a0&gt;</bpt>Sessions<ept i='0'>&lt;/a0&gt;</ept> for more details</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20160301T055627Z" changeid="xavier">
<seg>Voir <bpt i='0' x='0'>&lt;a0&gt;</bpt>Sessions<ept i='0'>&lt;/a0&gt;</ept> pour plus de détails</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>To view a configuration parameter, for example portal <bpt i='0' x='0'>&lt;a0&gt;</bpt>URL<ept i='0'>&lt;/a0&gt;</ept>:</seg>
@ -32942,14 +32736,6 @@ maxretry = 3</seg>
<seg>Voir le README pour l'installer et le configurer.</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>unparsed_uri: <bpt i='0' x='0'>&lt;a0&gt;</bpt>URL<ept i='0'>&lt;/a0&gt;</ept> path, before <bpt i='1' x='1'>&lt;a1&gt;</bpt>URL<ept i='1'>&lt;/a1&gt;</ept> decoding</seg>
</tuv>
<tuv xml:lang="FR-FR" changedate="20160301T162125Z" changeid="xavier">
<seg>unparsed_uri : l'<bpt i='0' x='0'>&lt;a0&gt;</bpt>URL<ept i='0'>&lt;/a0&gt;</ept> avant décodage</seg>
</tuv>
</tu>
<tu>
<tuv xml:lang="EN-US">
<seg>&lt;/<bpt i='15' x='15'>&lt;s15&gt;</bpt>Location<ept i='15'>&lt;/s15&gt;</ept>&gt;

@ -1984,14 +1984,6 @@ Le nouveau rôle doit-il être autorisé à créer des bases de données ?</seg>
<seg>_user</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>The following data about the current request are available through functions :</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T162017Z" changeid="xavier">
<seg>Les données suivantes concernant la requête courante sont disponibles via les fonctions :</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>To use custom files, delete links and copy them into your skin folder:</seg>
@ -2614,14 +2606,6 @@ make debian-packages</seg>
<seg>msmith@badwolf.org</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>To use it (with MySQL for example), choose “Apache::Session::Browseable::MySQL” as “Apache::Session module” and use the following parameters:</seg>
</tuv>
<tuv lang="FR-FR" changedate="20120419T071256Z" changeid="guimard">
<seg>Pour l'utiliser (avec MySQL par exemple), choisissez “Apache::Session::Browseable::MySQL” comme “Module Apache::Session” et utilisez les paramètres suivants :</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>In the &lt;c1&gt;&lt;endpoint&gt;&lt;/c1&gt;, change &lt;c2&gt;&lt;connector-id&gt;&lt;/c2&gt; value to &lt;c3&gt;alfrescoHeader&lt;/c3&gt; and change the &lt;c4&gt;&lt;userHeader&gt;&lt;/c4&gt; value to &lt;c5&gt;Auth-User&lt;/c5&gt;:</seg>
@ -6586,20 +6570,6 @@ DataSource -&gt; dbi:mysql:sessions;host=...</seg>
<seg>Aller dans le Manager et créer un fournisseur OpenID-Connect.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Mot de passe pour l'utilisateur lemonldap-ng :
[...]
lemonldap-ng=&gt; create table sessions ( id char(32) not null primary key, a_session text );
lemonldap-ng=&gt; q</seg>
</tuv>
<tuv lang="FR-FR" changedate="20120423T204926Z" changeid="xavier">
<seg>Mot de passe pour l'utilisateur lemonldap-ng :
[...]
lemonldap-ng=&gt; create table sessions ( id char(32) not null primary key, a_session text );
lemonldap-ng=&gt; q</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Extra claims definition</seg>
@ -7480,14 +7450,6 @@ lemonldap-ng=&gt; q</seg>
<seg>L'ajouter à trustedDomains (ou mettre &lt;c0&gt;*&lt;/c0&gt; dans trustedDomains pour tout accepter).</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>header_in(“Your-Request-Header”): any request header</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T162216Z" changeid="xavier">
<seg>header_in(“Your-Request-Header”) : n'importe quel en-tête de la requête</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>The common domain is used by &lt;a0&gt;SAML SP&lt;/a0&gt; to find an Identity Provider for the user, and by &lt;a1&gt;SAML IDP&lt;/a1&gt; to register itself in user's IDP list.</seg>
@ -8526,14 +8488,6 @@ lemonldap-ng=&gt; q</seg>
<seg>&lt;s0&gt;Signature des messages &lt;a1&gt;SSO&lt;/a1&gt;&lt;/s0&gt; : signe les messages &lt;a2&gt;SSO&lt;/a2&gt;</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>DataSource -&gt; dbi:mysql:sessions;host=...</seg>
</tuv>
<tuv lang="FR-FR">
<seg>DataSource -&gt; dbi:mysql:sessions;host=...</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>#compilation</seg>
@ -9444,14 +9398,6 @@ description: {whatToTrace}'$uid'
<seg>Pour en savoir plus :</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>&lt;a0&gt;CAS&lt;/a0&gt; issuer</seg>
</tuv>
<tuv lang="FR-FR" changedate="20130203T113818Z" changeid="xavier">
<seg>Fourniture d'identité &lt;a0&gt;CAS&lt;/a0&gt;</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>etc.</seg>
@ -11776,14 +11722,6 @@ openssl x509 -req -days 3650 -in cert.csr -signkey lemonldap-ng-priv.key -out ce
<seg>&lt;s0&gt;dbiUser&lt;/s0&gt; : utilisateur &lt;a1&gt;DBI&lt;/a1&gt;.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>uri_with_args: &lt;a0&gt;URL&lt;/a0&gt; path with query string</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T162104Z" changeid="xavier">
<seg>uri_with_args : l'&lt;a0&gt;URL&lt;/a0&gt; complète (y compris les arguments GET)</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>$uid eq “root”</seg>
@ -12670,14 +12608,6 @@ openssl x509 -req -days 3650 -in cert.csr -signkey lemonldap-ng-priv.key -out ce
<seg>On peut également construire les paquets à partir de l'&lt;a0&gt;archive LemonLDAP::NG&lt;/a0&gt; :</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Change char(32) by char(64) if you use the now recommended SHA256 hash algorithm.</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T055611Z" changeid="xavier">
<seg>Changer char(32) en char(64) pour utiliser l'algorithme de hashage SHA256 (recommandé).</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>In LDAP filters, $user is replaced by user login, and $mail by user email.</seg>
@ -13134,14 +13064,6 @@ openssl x509 -req -days 3650 -in cert.csr -signkey lemonldap-ng-priv.key -out ce
<seg>&lt;a0&gt;Alfresco&lt;/a0&gt; est un logiciel ECM/BPM.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>_cas_id</seg>
</tuv>
<tuv lang="FR-FR" changedate="20130203T113819Z" changeid="xavier">
<seg>_cas_id</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>http://auth.example.com</seg>
@ -15108,14 +15030,6 @@ server {</seg>
<seg>&lt;s0&gt;Redirection pour les erreurs&lt;/s0&gt; : utilise 302 au lieu de 500 ou 503</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>ipAddr &lt;e0&gt;WHATTOTRACE&lt;/e0&gt;</seg>
</tuv>
<tuv lang="FR-FR" changedate="20130203T113734Z" changeid="xavier">
<seg>ipAddr &lt;e0&gt;WHATTOTRACE&lt;/e0&gt;</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Known problems</seg>
@ -15404,14 +15318,6 @@ server {</seg>
<seg>Pour les utilisateurs de Debian testing ou unstable, les paquets sont directement installables :</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>You have access to all environment variable, like user &lt;a1&gt;IP&lt;/a1&gt; address.</seg>
</tuv>
<tuv lang="FR-FR" changedate="20120221T060222Z" changeid="xavier">
<seg>Toutes les variables d'environnement sont disponibles, telle l'adresse &lt;a1&gt;IP&lt;/a1&gt; de l'utilisateur.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Single Sign On cookie, domain and portal URL</seg>
@ -16950,14 +16856,6 @@ createuser lemonldap-ng -P</seg>
<seg>&lt;s147&gt;//&quot;userobm_email_nomade&quot; =&gt; ,&lt;/s147&gt;</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>method: the request method (GET, POST etc.)</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T162200Z" changeid="xavier">
<seg>method : la méthode de la requête (GET, POST, etc…)</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>&lt;s0&gt;Search base&lt;/s0&gt;: &lt;a1&gt;DN&lt;/a1&gt; of groups branch.</seg>
@ -20202,14 +20100,6 @@ Le nouveau rôle est-il un super-utilisateur ?</seg>
<seg>Configurer l'hôte virtuel LimeSurvey comme n'importe quel autre &lt;a0&gt;hôte virtuel protégé&lt;/a0&gt;.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Some Apache::Session module are not fully usable by Lemonldap::NG such as Apache::Session::Memcached since this modules do not offer capability to browse sessions.</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160302T062842Z" changeid="xavier">
<seg>Certains modules Apache::Session ne sont pas utilisables par Lemonldap::NG tel Apache::Session::Memcached, car ce module n'offre pas de dispositif de parcours des sessions</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>a2ensite manager-apache2.conf
@ -20802,14 +20692,6 @@ a2ensite test-apache2.conf</seg>
<seg>Il est également possible de créer ces macros pour gérer le compte administrateur OBM (&lt;c0&gt;Variables&lt;/c0&gt; » &lt;c1&gt;Macros&lt;/c1&gt;):</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>uri: &lt;a0&gt;URL&lt;/a0&gt; path</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T162044Z" changeid="xavier">
<seg>uri : l'&lt;a0&gt;URL&lt;/a0&gt;</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Session backend</seg>
@ -21442,14 +21324,6 @@ a2ensite test-apache2.conf</seg>
<seg>Le connecteur Django est disponible sur GitHub : &lt;a0&gt;https://github.com/9h37/django-lemonldap&lt;/a0&gt;</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>remote_ip: the client &lt;a0&gt;IP&lt;/a0&gt; address</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T162031Z" changeid="xavier">
<seg>remote_ip : l'adresse &lt;a0&gt;IP&lt;/a0&gt; cliente</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>You have to run this command on Active Directory:</seg>
@ -22608,14 +22482,6 @@ a2ensite test-apache2.conf</seg>
<seg>À la réception de la requête, le contexte d'authentification réel est traduit en un niveau d'authentification interne (voir &lt;a1&gt;comment configurer la translation&lt;/a1&gt;), utilisable pour accorder ou non la création de session.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>$ENV{REMOTE_ADDR} =~ /^192\.168/</seg>
</tuv>
<tuv lang="FR-FR" changedate="20120221T060310Z" changeid="xavier">
<seg>$ENV{REMOTE_ADDR} =~ /^192\.168/</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>&lt;a0&gt;LL::NG&lt;/a0&gt; Portal can be used under a &lt;a1&gt;FastCGI system&lt;/a1&gt; very easily.</seg>
@ -23564,14 +23430,6 @@ a2ensite test-apache2.conf</seg>
<seg>Configurer le nom de compte et le mot-de-passe</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>&lt;a0&gt;SAML&lt;/a0&gt; authentication and issuer</seg>
</tuv>
<tuv lang="FR-FR" changedate="20130203T113759Z" changeid="xavier">
<seg>Authentification ou fourniture d'identité &lt;a0&gt;SAML&lt;/a0&gt;</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>&lt;s0&gt;&lt;a1&gt;SSO&lt;/a1&gt; binding&lt;/s0&gt;: force binding to use for &lt;a2&gt;SSO&lt;/a2&gt; (http-redirect, http-post, etc.)</seg>
@ -24492,14 +24350,6 @@ a2ensite test-apache2.conf</seg>
<seg>Il est préférable d'utiliser des bases de sessions séparées pour les sessions standard, &lt;a0&gt;SAML&lt;/a0&gt; et &lt;a1&gt;CAS&lt;/a1&gt; afin de gérer séparemment les index.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>&lt;e0&gt;WHATTOTRACE&lt;/e0&gt; must be replaced by the attribute or macro configured in the What To Trace parameter (REMOTE_USER)</seg>
</tuv>
<tuv lang="FR-FR" changedate="20130203T113955Z" changeid="xavier">
<seg>&lt;e0&gt;WHATTOTRACE&lt;/e0&gt; doit être remplacé par l'attribut ou la macro configurée dans le paramètre indiquant le champ utilisateur à stocker dans les journaux (REMOTE_USER)</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>New Service Provider</seg>
@ -27010,14 +26860,6 @@ WithPeak[test.example.com]: wmy</seg>
<seg>Application hébergée</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Password reset</seg>
</tuv>
<tuv lang="FR-FR" changedate="20130203T113832Z" changeid="xavier">
<seg>Réinitialisation de mots-de-passe</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Please always try to find another solution to protect your application with &lt;a0&gt;LL::NG&lt;/a0&gt;.</seg>
@ -28020,14 +27862,6 @@ WithPeak[test.example.com]: wmy</seg>
<seg>&lt;s20&gt;&lt;s21&gt;&lt;user&lt;/s21&gt; &lt;s22&gt;username&lt;/s22&gt;=&lt;s23&gt;&quot;tomcat&quot;&lt;/s23&gt; &lt;s24&gt;password&lt;/s24&gt;=&lt;s25&gt;&quot;tomcat&quot;&lt;/s25&gt; &lt;s26&gt;roles&lt;/s26&gt;=&lt;s27&gt;&quot;tomcat&quot;&lt;/s27&gt;&lt;s28&gt;/&gt;&lt;/s28&gt;&lt;/s20&gt;</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>args: the query string</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T162141Z" changeid="xavier">
<seg>args : la chaîne de requête</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Change password: update password column in authentication table matching user</seg>
@ -29236,14 +29070,6 @@ failregex = Lemonldap\:\:NG \: .* was not found in LDAP directory \(&lt;HOST&gt;
<seg>Après redirection, authentification normale sur le portail distant (celui de son organisation)</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>dbi:mysql:dbname=sessions</seg>
</tuv>
<tuv lang="FR-FR" changedate="20120221T072312Z" changeid="xavier">
<seg>dbi:mysql:dbname=sessions</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Local groups</seg>
@ -30246,14 +30072,6 @@ CUSTOM_FUNCTIONS_FILE=/root/SSOExtensions.pm</seg>
<seg>Il est destiné aux équipes de développeurs, groupes de travail ou petites entreprises.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>This documentation concerns MySQL.</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T055501Z" changeid="xavier">
<seg>Cette documentation est construite autour de MySQL.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>Django</seg>
@ -31992,22 +31810,6 @@ maxretry = 3</seg>
<seg>Pour activer le composant d'authentification &lt;a0&gt;LL::NG&lt;/a0&gt;, aller dans &lt;c1&gt;/etc/obm/obm_conf.inc&lt;/c1&gt;:</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>_saml_id ProxyID _nameID _assert_id _art_id _session_id</seg>
</tuv>
<tuv lang="FR-FR" changedate="20131025T064525Z" changeid="xavier">
<seg>_saml_id ProxyID _nameID _assert_id _art_id _session_id</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>For example, to preselect this IDP for users coming from 129.168.0.0/16 network:</seg>
</tuv>
<tuv lang="FR-FR" changedate="20120221T060308Z" changeid="xavier">
<seg>Par exemple, pour pré-sélectionner cet IDP pour les utilisateurs provenant dui réseau 129.168.0.0/16 :</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>&lt;s0&gt;Password&lt;/s0&gt;: Connection password</seg>
@ -32822,14 +32624,6 @@ maxretry = 3</seg>
<seg>Affiche les sessions effacées</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>See &lt;a0&gt;Sessions&lt;/a0&gt; for more details</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T055627Z" changeid="xavier">
<seg>Voir &lt;a0&gt;Sessions&lt;/a0&gt; pour plus de détails</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>To view a configuration parameter, for example portal &lt;a0&gt;URL&lt;/a0&gt;:</seg>
@ -32942,14 +32736,6 @@ maxretry = 3</seg>
<seg>Voir le README pour l'installer et le configurer.</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>unparsed_uri: &lt;a0&gt;URL&lt;/a0&gt; path, before &lt;a1&gt;URL&lt;/a1&gt; decoding</seg>
</tuv>
<tuv lang="FR-FR" changedate="20160301T162125Z" changeid="xavier">
<seg>unparsed_uri : l'&lt;a0&gt;URL&lt;/a0&gt; avant décodage</seg>
</tuv>
</tu>
<tu>
<tuv lang="EN-US">
<seg>&lt;/&lt;s15&gt;Location&lt;/s15&gt;&gt;

@ -1,11 +1,11 @@
30/03/17 07:05
04/04/17 20:04
Données du projet
Segments Mots Caractères (sans espaces) Caractères (avec espaces)
Total : 15639 68435 476795 520349
Restants : 7898 28969 235702 249175
Segments uniques : 7567 49490 320037 358280
Segments uniques restants : 3498 18523 139850 151900
Total : 15729 68819 479044 522851
Restants : 8026 29629 239590 253534
Segments uniques : 7659 49896 322373 360892
Segments uniques restants : 3616 19139 143439 155932
Statistiques par fichiers :
@ -79,13 +79,13 @@ pages/documentation/current/authproxy.html
pages/documentation/current/authradius.html 46 13 15 4 190 29 105 8 1313 279 689 92 1426 281 769 92
pages/documentation/current/authremote.html 101 31 55 11 591 85 491 41 3785 941 2927 491 4221 959 3339 507
pages/documentation/current/authrest.html 68 43 26 26 246 205 154 154 1566 1230 869 869 1709 1355 978 978
pages/documentation/current/authsaml.html 147 36 73 15 930 157 732 111 5589 1233 4090 795 6316 1323 4728 883
pages/documentation/current/authsaml.html 147 39 73 18 943 198 745 152 5653 1452 4154 1014 6393 1578 4805 1138
pages/documentation/current/authslave.html 54 13 22 5 282 61 211 41 1643 410 1123 235 1850 440 1305 265
pages/documentation/current/authssl.html 180 112 121 81 893 389 736 312 6209 3260 4989 2618 6742 3418 5483 2767
pages/documentation/current/authtwitter.html 44 9 18 3 206 23 132 7 1404 204 786 74 1532 204 886 74
pages/documentation/current/authwebid.html 70 16 30 5 304 45 188 20 2066 460 1247 250 2238 468 1372 256
pages/documentation/current/authyubikey.html 46 10 22 4 226 45 160 29 1448 298 882 168 1598 319 1008 189
pages/documentation/current/browseablesessionbackend.html 169 48 114 37 692 100 580 74 4733 1043 3838 841 5166 1066 4242 859
pages/documentation/current/browseablesessionbackend.html 167 63 116 51 781 266 678 237 5252 2047 4425 1815 5768 2209 4917 1970
pages/documentation/current/captcha.html 25 11 15 5 158 44 137 28 866 291 700 165 985 309 819 183
pages/documentation/current/cda.html 50 23 22 11 267 115 199 82 1668 760 1072 463 1848 824 1238 525
pages/documentation/current/changeconfbackend.html 48 21 32 14 170 45 135 26 1234 484 1011 333 1323 486 1094 333
@ -119,8 +119,8 @@ pages/documentation/current/documentation/remote-interoperability.png_documentat
pages/documentation/current/documentation/remote-principle.png_documentation_2.0_authremote.html 38 34 6 6 85 79 11 11 783 732 181 181 792 741 182 182
pages/documentation/current/documentation/status_standard.png_documentation_2.0_status.html 38 34 11 10 85 79 26 24 755 705 291 258 764 714 297 264
pages/documentation/current/error.html 78 17 63 10 517 53 477 34 2942 417 2655 278 3353 436 3060 295
pages/documentation/current/exportedvars.html 73 36 48 21 446 106 394 71 2670 907 2216 551 3035 969 2576 613
pages/documentation/current/extendedfunctions.html 222 104 118 41 968 291 726 165 6328 2472 4237 1139 6979 2591 4806 1244
pages/documentation/current/exportedvars.html 75 38 50 23 464 124 412 89 2773 1010 2319 654 3153 1087 2694 731
pages/documentation/current/extendedfunctions.html 204 99 107 38 891 275 666 152 5829 2362 3880 1067 6421 2470 4400 1162
pages/documentation/current/external2f.html 29 25 20 19 220 215 200 199 1222 1184 1065 1055 1396 1358 1239 1229
pages/documentation/current/fastcgi.html 30 9 18 3 161 23 132 7 973 188 757 62 1064 188 848 62
pages/documentation/current/fastcgiserver.html 40 16 23 6 239 36 204 12 1509 344 1222 134 1673 346 1381 134
@ -174,7 +174,7 @@ pages/documentation/current/openidconnectclaims.html
pages/documentation/current/openidconnectservice.html 108 83 61 58 539 494 437 433 3487 3138 2632 2591 3856 3494 2978 2936
pages/documentation/current/parameterlist.html 678 62 376 44 1080 209 861 169 8657 1429 6535 987 9223 1551 7006 1109
pages/documentation/current/passwordstore.html 38 16 14 2 186 36 142 4 1111 323 724 37 1242 325 853 37
pages/documentation/current/performances.html 176 70 103 42 1362 453 990 378 8594 3119 6146 2567 9622 3462 6932 2861
pages/documentation/current/performances.html 284 178 199 140 1701 841 1296 735 10632 5439 7929 4649 11859 6020 8898 5165
pages/documentation/current/portal.html 113 62 46 11 454 158 310 47 3254 1562 1822 365 3516 1588 2075 391
pages/documentation/current/portalcustom.html 135 67 96 52 917 440 825 407 5086 2575 4382 2286 5836 2909 5094 2616
pages/documentation/current/portalmenu.html 50 16 32 6 294 81 254 57 1855 589 1503 372 2069 636 1714 419
@ -199,9 +199,9 @@ pages/documentation/current/soapminihowto.html
pages/documentation/current/soapservices.html 66 22 30 6 342 103 235 66 2377 756 1474 363 2602 813 1654 420
pages/documentation/current/soapsessionbackend.html 56 31 18 13 386 247 265 180 2545 1653 1623 1123 2838 1840 1856 1277
pages/documentation/current/sqlconfbackend.html 69 32 44 20 319 122 258 92 2082 915 1574 639 2299 976 1776 695
pages/documentation/current/sqlsessionbackend.html 119 29 52 11 557 104 334 59 3751 747 2054 338 4057 800 2292 384
pages/documentation/current/sqlsessionbackend.html 119 34 56 15 559 167 366 109 3775 1099 2217 621 4083 1206 2481 710
pages/documentation/current/ssocookie.html 60 17 32 4 436 67 364 36 2393 502 1871 238 2740 530 2195 266
pages/documentation/current/start.html 653 380 146 84 1512 933 640 319 13237 9318 4393 2469 13762 9491 4797 2622
pages/documentation/current/start.html 653 380 145 84 1512 933 639 319 13237 9318 4386 2469 13762 9491 4790 2622
pages/documentation/current/status.html 62 21 30 7 312 71 248 41 2008 539 1486 300 2182 565 1654 324
pages/documentation/current/u2f.html 53 45 28 28 305 290 245 245 1935 1812 1439 1439 2145 2016 1639 1639
pages/documentation/current/upgrade.html 132 118 62 62 648 622 488 488 4222 3996 2727 2727 4667 4436 3135 3135

@ -90,7 +90,7 @@
<form action="/start" accept-charset="utf-8" class="search" id="dw__search" method="get" role="search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" class="edit" title="[F]" /><input type="submit" value="Search" class="button" title="Search" /><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
<ul class="nav navbar-nav">
<li><a href="/documentation/2.0/applications/img/icons.png?do=login&amp;sectok=62a29c35a267f658799e362598e991b4" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
<li><a href="/documentation/2.0/applications/img/icons.png?do=login&amp;sectok=d85714290cf235b49a654de9f78398ef" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
</div>
@ -204,7 +204,7 @@ You&#039;ve followed a link to a topic that doesn&#039;t exist yet. If permissio
</div><!-- /site -->
<div class="no"><img src="/lib/exe/indexer.php?id=documentation%3A2.0%3Aapplications%3Aimg%3Aicons.png&amp;1490850178" width="2" height="1" alt="" /></div>
<div class="no"><img src="/lib/exe/indexer.php?id=documentation%3A2.0%3Aapplications%3Aimg%3Aicons.png&amp;1491283164" width="2" height="1" alt="" /></div>
<div id="screen__mode" class="no">
<span class="visible-xs"></span>
<span class="visible-sm"></span>

@ -90,7 +90,7 @@
<form action="/start" accept-charset="utf-8" class="search" id="dw__search" method="get" role="search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" class="edit" title="[F]" /><input type="submit" value="Search" class="button" title="Search" /><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
<ul class="nav navbar-nav">
<li><a href="/documentation/2.0/applications/img/loader.gif?do=login&amp;sectok=62a29c35a267f658799e362598e991b4" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
<li><a href="/documentation/2.0/applications/img/loader.gif?do=login&amp;sectok=d85714290cf235b49a654de9f78398ef" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
</div>
@ -204,7 +204,7 @@ You&#039;ve followed a link to a topic that doesn&#039;t exist yet. If permissio
</div><!-- /site -->
<div class="no"><img src="/lib/exe/indexer.php?id=documentation%3A2.0%3Aapplications%3Aimg%3Aloader.gif&amp;1490850178" width="2" height="1" alt="" /></div>
<div class="no"><img src="/lib/exe/indexer.php?id=documentation%3A2.0%3Aapplications%3Aimg%3Aloader.gif&amp;1491283164" width="2" height="1" alt="" /></div>
<div id="screen__mode" class="no">
<span class="visible-xs"></span>
<span class="visible-sm"></span>

@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="/static/bwr/bootstrap/dist/css/bootstrap.min.css" />
//else --><!-- //endif -->
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="robots" content="index,follow"/>
<meta name="keywords" content="documentation,2.0,authcombination"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="authcombination.html"/>

@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="/static/bwr/bootstrap/dist/css/bootstrap.min.css" />
//else --><!-- //endif -->
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="index,follow"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="keywords" content="documentation,2.0,authsaml"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="authsaml.html"/>
@ -201,14 +201,16 @@ Pour chaque attribut, on peut indiquer :
<h5 id="general_options">Options générales</h5>
<div class="level5">
<ul>
<li class="level1"><div class="li"> <strong>Règle de résolution</strong> : règle à appliquer pour pré-sélectionner cet IDP. Toutes les variables d'environnement sont disponibles, telle l'adresse <abbr title="Internet Protocol">IP</abbr> de l'utilisateur.</div>
<li class="level1"><div class="li"> <strong>Règle de résolution</strong> : règle à appliquer pour pré-sélectionner cet IDP. You have access to all environment variable <em>(like user <abbr title="Internet Protocol">IP</abbr> address)</em> and all session keys.</div>
</li>
</ul>
<p>
Par exemple, pour pré-sélectionner cet IDP pour les utilisateurs provenant dui réseau 129.168.0.0/16 :
For example, to preselect this IDP for users coming from 129.168.0.0/16 network and member of “admin” group:
</p>
<pre class="code">$ENV{REMOTE_ADDR} =~ /^192\.168/</pre>
<pre class="code">$ENV{REMOTE_ADDR} =~ /^192\.168/ and $groups =~ /\badmin\b/</pre>
</div>

@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="/static/bwr/bootstrap/dist/css/bootstrap.min.css" />
//else --><!-- //endif -->
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="index,follow"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="keywords" content="documentation,2.0,browseablesessionbackend"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="browseablesessionbackend.html"/>
@ -92,29 +92,29 @@ Le tableau suivant liste les champs à indexer suivant les fonctionnalités dont
</tr>
</thead>
<tr class="row1 rowodd">
<td class="col0"> Explorateur de sessions </td><td class="col1 centeralign"> ipAddr <em>WHATTOTRACE</em> </td>
<td class="col0"> Database cleaup <em>(cron)</em> </td><td class="col1 centeralign"> _session_kind _utime </td>
</tr>
<tr class="row2 roweven">
<td class="col0"> Session explorer (persistent sessions) </td><td class="col1 centeralign"> _session_uid </td>
<td class="col0"> Explorateur de sessions </td><td class="col1 centeralign"> _session_kind ipAddr <em>WHATTOTRACE</em> </td>
</tr>
<tr class="row3 rowodd">
<td class="col0"> Resctriction d'ouverture de session </td><td class="col1 centeralign"> ipAddr <em>WHATTOTRACE</em> </td>
<td class="col0"> Session explorer (persistent sessions) </td><td class="col1 centeralign"> _session_kind _session_uid </td>
</tr>
<tr class="row4 roweven">
<td class="col0"> Authentification ou fourniture d'identité <abbr title="Security Assertion Markup Language">SAML</abbr> </td><td class="col1 centeralign"> _saml_id ProxyID _nameID _assert_id _art_id _session_id </td>
<td class="col0"> Resctriction d'ouverture de session </td><td class="col1 centeralign"> _session_kind ipAddr <em>WHATTOTRACE</em> </td>
</tr>
<tr class="row5 rowodd">
<td class="col0 leftalign"> Fourniture d'identité <abbr title="Central Authentication Service">CAS</abbr> </td><td class="col1 centeralign"> _cas_id </td>
</tr>
<tr class="row6 roweven">
<td class="col0 leftalign"> Réinitialisation de mots-de-passe </td><td class="col1 centeralign"> user </td>
</tr>
</table></div><!-- EDIT3 TABLE [877-1222] -->
<div class="noteimportant"><em>WHATTOTRACE</em> doit être remplacé par l'attribut ou la macro configurée dans le paramètre indiquant le champ utilisateur à stocker dans les journaux (REMOTE_USER)
</table></div><!-- EDIT3 TABLE [877-1168] -->
<p>
See Apache::Session::Browseable::* man page to see how use indexes.
</p>
<div class="noteimportant"><em>WHATTOTRACE</em> must be replaced by the attribute or macro configured in the What To Trace parameter (REMOTE_USER). By default: <strong>_whatToTrace</strong>
</div><div class="notetip">Il est préférable d'utiliser des bases de sessions séparées pour les sessions standard, <abbr title="Security Assertion Markup Language">SAML</abbr> et <abbr title="Central Authentication Service">CAS</abbr> afin de gérer séparemment les index.
</div><div class="noteclassic">La documentation ci-dessous explique comment fixer les index à ipAddr et _whatToTrace. À adapter pour configurer les index voulus.
</div>
</div><!-- EDIT2 SECTION "Presentation" [43-1646] -->
</div><!-- EDIT2 SECTION "Presentation" [43-1691] -->
<h2 class="sectionedit4" id="browseable_nosql">Browseable NoSQL</h2>
<div class="level2">
@ -141,15 +141,15 @@ Il suffira juste d'ajouter le paramètre <code>Index</code> dans <code>Paramètr
<tr class="row3 rowodd">
<td class="col0 centeralign"> <strong>Index</strong> </td><td class="col1"> Index </td><td class="col2"> _whatToTrace ipAddr </td>
</tr>
</table></div><!-- EDIT5 TABLE [1934-2091] -->
</table></div><!-- EDIT5 TABLE [1979-2136] -->
</div><!-- EDIT4 SECTION "Browseable NoSQL" [1647-2092] -->
</div><!-- EDIT4 SECTION "Browseable NoSQL" [1692-2137] -->
<h2 class="sectionedit6" id="browseable_sql">Browseable SQL</h2>
<div class="level2">
<div class="noteclassic">Cette documentation est construite autour de MySQL. Quelques adaptations sont nécessaires pour les autres bases de données.
<div class="noteclassic">This documentation concerns PostgreSQL. Quelques adaptations sont nécessaires pour les autres bases de données.
</div>
</div><!-- EDIT6 SECTION "Browseable SQL" [2093-2219] -->
</div><!-- EDIT6 SECTION "Browseable SQL" [2138-2269] -->
<h3 class="sectionedit7" id="prepare_database">Préparer la base de données</h3>
<div class="level3">
@ -157,17 +157,32 @@ Il suffira juste d'ajouter le paramètre <code>Index</code> dans <code>Paramètr
<p>
La base de donnée doit être préparée exactement comme celle du <a href="sqlsessionbackend.html#prepare_the_database" class="wikilink1" title="documentation:2.0:sqlsessionbackend">backend de session SQL</a> si ce n'est qu'un champ doit être ajouté pour chaque donnée à indexer.
</p>
<pre class="code file sql"><span class="kw1">CREATE</span> <span class="kw1">TABLE</span> sessions <span class="br0">(</span>
id <span class="kw1">CHAR</span><span class="br0">(</span><span class="nu0">32</span><span class="br0">)</span> <span class="kw1">NOT</span> <span class="kw1">NULL</span> <span class="kw1">PRIMARY</span> <span class="kw1">KEY</span><span class="sy0">,</span>
a_session <span class="kw1">BLOB</span><span class="sy0">,</span>
_whatToTrace <span class="kw1">VARCHAR</span><span class="br0">(</span><span class="nu0">255</span><span class="br0">)</span><span class="sy0">,</span>
ipAddr <span class="kw1">VARCHAR</span><span class="br0">(</span><span class="nu0">15</span><span class="br0">)</span><span class="sy0">,</span>
<span class="kw1">KEY</span> _whatToTrace <span class="br0">(</span>_whatToTrace<span class="br0">)</span><span class="sy0">,</span>
<span class="kw1">KEY</span> ipAddr <span class="br0">(</span>ipAddr<span class="br0">)</span>
<span class="br0">)</span>;</pre>
<div class="noteimportant">Changer char(32) en char(64) pour utiliser l'algorithme de hashage SHA256 (recommandé). Voir <a href="documentation/latest/sessions.html" class="wikilink1" title="documentation:latest:sessions">Sessions</a> pour plus de détails
<pre class="code file sql"> Apache::<span class="kw1">SESSION</span>::Browseable::Postgres example:
<span class="sy0">&lt;</span>code sql<span class="sy0">&gt;</span>
<span class="kw1">CREATE</span> UNLOGGED <span class="kw1">TABLE</span> sessions <span class="br0">(</span>
id <span class="kw1">VARCHAR</span><span class="br0">(</span><span class="nu0">64</span><span class="br0">)</span> <span class="kw1">NOT</span> <span class="kw1">NULL</span> <span class="kw1">PRIMARY</span> <span class="kw1">KEY</span><span class="sy0">,</span>
a_session text<span class="sy0">,</span>
_whatToTrace text<span class="sy0">,</span>
_session_kind text<span class="sy0">,</span>
_utime <span class="kw1">BIGINT</span><span class="sy0">,</span>
ipAddr text
<span class="br0">)</span>;
<span class="kw1">CREATE</span> <span class="kw1">INDEX</span> uid1 <span class="kw1">ON</span> sessions <span class="kw1">USING</span> BTREE <span class="br0">(</span>_whatToTrace<span class="br0">)</span>;
<span class="kw1">CREATE</span> <span class="kw1">INDEX</span> s1 <span class="kw1">ON</span> sessions <span class="br0">(</span>_session_kind<span class="br0">)</span>;
<span class="kw1">CREATE</span> <span class="kw1">INDEX</span> u1 <span class="kw1">ON</span> sessions <span class="br0">(</span>_utime<span class="br0">)</span>;
<span class="kw1">CREATE</span> <span class="kw1">INDEX</span> ip1 <span class="kw1">ON</span> sessions <span class="kw1">USING</span> BTREE <span class="br0">(</span>ipAddr<span class="br0">)</span>;</pre>
<div class="noteimportant">For Session Explorer and one-off sessions, it is recommended to use BTREE or any index method that indexes partial content.
</div>
<p>
“id” fieds is set to <code>varchar(64)</code> (instead of char(32)) to use the now recommended SHA256 hash algorithm. See <a href="documentation/latest/sessions.html" class="wikilink1" title="documentation:latest:sessions">Sessions</a> for more details.
</p>
<div class="notetip">With new Apache::Session::Browseable::<strong>PgHstore</strong> and <strong>PgJSON</strong>, you don't need to declare indexes in <code>CREATE TABLE</code> since “json” and “hstore” type are browseable. You should anyway add some indexes <em>(see manpage)</em>.
</div>
</div><!-- EDIT7 SECTION "Prepare database" [2220-2806] -->
</div><!-- EDIT7 SECTION "Prepare database" [2270-3479] -->
<h3 class="sectionedit8" id="manager">Manager</h3>
<div class="level3">
@ -185,7 +200,7 @@ Aller dans le manager et mettre le module de session (<a href="http://search.cpa
</tr>
</thead>
<tr class="row2 roweven">
<td class="col0 centeralign"> <strong>DataSource</strong> </td><td class="col1"> La chaîne <a href="http://search.cpan.org/perldoc?DBI" class="urlextern" title="http://search.cpan.org/perldoc?DBI" rel="nofollow">DBI</a> </td><td class="col2"> dbi:mysql:dbname=sessions </td>
<td class="col0 centeralign"> <strong>DataSource</strong> </td><td class="col1"> La chaîne <a href="http://search.cpan.org/perldoc?DBI" class="urlextern" title="http://search.cpan.org/perldoc?DBI" rel="nofollow">DBI</a> </td><td class="col2"> dbi:Pg:database=sessions </td>
</tr>
<tr class="row3 rowodd">
<td class="col0 centeralign"> <strong>UserName</strong> </td><td class="col1"> Le login de la base de données </td><td class="col2"> lemonldapng </td>
@ -194,16 +209,16 @@ Aller dans le manager et mettre le module de session (<a href="http://search.cpa
<td class="col0 centeralign"> <strong>Mot-de-passe</strong> </td><td class="col1"> Le mot de passe de la base de données </td><td class="col2"> mysuperpassword </td>
</tr>
<tr class="row5 rowodd">
<td class="col0 centeralign"> <strong>Index</strong> </td><td class="col1"> Index </td><td class="col2"> _whatToTrace ipAddr </td>
<td class="col0 centeralign"> <strong>Index</strong> </td><td class="col1"> Index </td><td class="col2"> _whatToTrace ipAddr _session_kind _utime </td>
</tr>
</table></div><!-- EDIT9 TABLE [3135-3466] -->
</table></div><!-- EDIT9 TABLE [3808-4159] -->
<div class="notetip">Apache::Session::Browseable::MySQL n'utilise pas les locks pour conserver les performances.
<p>
Pour les bases de données telles PostgreSQL, ne pas oublier d'ajouter “Commit” avec une valeur de 1
</p>
</div>
</div><!-- EDIT8 SECTION "Manager" [2807-3645] -->
</div><!-- EDIT8 SECTION "Manager" [3480-4338] -->
<h2 class="sectionedit10" id="browseable_ldap">Browseable LDAP</h2>
<div class="level2">
@ -257,9 +272,9 @@ Il faut ajouter le champ <code>Index</code>, on peut aussi configurer le champ <
<tr class="row12 roweven">
<td class="col0 centeralign"> <strong>ldapAttributeIndex</strong> </td><td class="col1"> Attribut où stocker les index </td><td class="col2"> ou </td>
</tr>
</table></div><!-- EDIT11 TABLE [3997-4731] -->
</table></div><!-- EDIT11 TABLE [4690-5424] -->
</div><!-- EDIT10 SECTION "Browseable LDAP" [3646-4732] -->
</div><!-- EDIT10 SECTION "Browseable LDAP" [4339-5425] -->
<h2 class="sectionedit12" id="security">Sécurité</h2>
<div class="level2">
@ -272,7 +287,7 @@ Restreindre l'accès réseau au backend.
On peut utiliser différent login/mot-de-passe pour les serveurs en surchargeant les paramètres <code>globalStorage</code> et <code>globalStorageOptions</code> dans le fichier lemonldap-ng.ini.
</p>
</div><!-- EDIT12 SECTION "Security" [4733-] -->
</div><!-- EDIT12 SECTION "Security" [5426-] -->
</div>
</body>
</html>

@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="/static/bwr/bootstrap/dist/css/bootstrap.min.css" />
//else --><!-- //endif -->
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="robots" content="index,follow"/>
<meta name="keywords" content="documentation,2.0,customfunctions"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="customfunctions.html"/>

@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="/static/bwr/bootstrap/dist/css/bootstrap.min.css" />
//else --><!-- //endif -->
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="index,follow"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="keywords" content="documentation,2.0,exportedvars"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="exportedvars.html"/>
@ -90,7 +90,7 @@ On peut définir des variables exportées pour chaque module dans sa propre conf
</p>
<div class="notetip">You can define environment variables in <code>Exported variables</code>, this allows one to populate user session with some environment values. Les variables d'environnement ne seront pas demandées à la base de données utilisateurs.
</div>
</div><!-- EDIT2 SECTION "Presentation" [35-1270] -->
</div><!-- EDIT2 SECTION "Presentation" [35-1271] -->
<h2 class="sectionedit4" id="extend_variables_using_macros_and_groups">Étendre les variables en utilisant les macros et groups</h2>
<div class="level2">
@ -105,6 +105,8 @@ Les macros et les groupes sont calculées pendant le processus d'authentificatio
<ul>
<li class="level1"><div class="li"> Les macros sont utilisées pour étendre (ou réécrire) les <span class="curid"><a href="exportedvars.html" class="wikilink1" title="documentation:2.0:exportedvars">variables exportées</a></span>. Une macro est stockée comme un attribut : elle peut contenir le résultat d'un calcul booléen ou n'importe quelle chaîne de caractères</div>
</li>
<li class="level1"><div class="li"> macros can also be used to import environment variables <em>(these variables are in CGI format)</em>. Example: <code>$ENV{HTTP_COOKIE}</code></div>
</li>
<li class="level1"><div class="li"> les groupes sont stockées en chaîne de caractères séparées par des espaces dans l'attribut spécial “groups” : il contient les noms des groupes dont la règle à retournée une valeur non nulle pour l'utilisateur courant</div>
</li>
<li class="level1"><div class="li"> On peut également définir des groupes dans <code>$hGroups</code> qui est une référence à une table de hashage de la forme :</div>
@ -157,7 +159,7 @@ admin <span class="sy0">-&gt;</span> <span class="re0">$uid</span> <span class="
</div>
<div class="level2">
</div><!-- EDIT4 SECTION "Extend variables using macros and groups" [1271-] -->
</div><!-- EDIT4 SECTION "Extend variables using macros and groups" [1272-] -->
</div>
</body>
</html>

@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="/static/bwr/bootstrap/dist/css/bootstrap.min.css" />
//else --><!-- //endif -->
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="index,follow"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="keywords" content="documentation,2.0,extendedfunctions"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="extendedfunctions.html"/>
@ -51,7 +51,6 @@
<ul class="toc">
<li class="level1"><div class="li"><a href="#presentation">Présentation</a></div></li>
<li class="level1"><div class="li"><a href="#request_information">Request information</a></div></li>
<li class="level1"><div class="li"><a href="#extended_functions_list">Liste des fonctions étendues</a></div>
<ul class="toc">
<li class="level2"><div class="li"><a href="#date">date</a></div></li>
@ -102,14 +101,14 @@ C'est disponible pour :
Dans cette cage, on peut accéder aux éléments suivants :
</p>
<ul>
<li class="level1"><div class="li"> all session values and CGI environment variables <em>(through $ENV{&lt;HTTP_NAME&gt;})</em></div>
</li>
<li class="level1"><div class="li"> Fonctions standards de Perl (split, pop, map, etc...)</div>
</li>
<li class="level1"><div class="li"> <a href="customfunctions.html" class="wikilink1" title="documentation:2.0:customfunctions">Fonctions personnalisées</a></div>
</li>
<li class="level1"><div class="li"> Fonction <a href="http://perldoc.perl.org/MIME/Base64.html" class="urlextern" title="http://perldoc.perl.org/MIME/Base64.html" rel="nofollow">encode_base64</a></div>
</li>
<li class="level1"><div class="li"> Environment variables, in some cases (through %ENV). <em>(NB: with Apache handlers it is generally empty, so unusable for rules/headers)</em> </div>
</li>
<li class="level1"><div class="li"> <a href="#request_information" title="documentation:2.0:extendedfunctions ↵" class="wikilink1">Information about current request</a></div>
</li>
<li class="level1"><div class="li"> <a href="#extended_functions_list" title="documentation:2.0:extendedfunctions ↵" class="wikilink1">Fonctions étendues</a></div>
@ -139,41 +138,14 @@ Dans cette cage, on peut accéder aux éléments suivants :
</ul>
<div class="notetip">Pour en savoir plus sur la cage, consulter la <a href="http://perldoc.perl.org/Safe.html" class="urlextern" title="http://perldoc.perl.org/Safe.html" rel="nofollow">documentation du module Safe</a>.
</div>
</div><!-- EDIT2 SECTION "Presentation" [35-1271] -->
<h2 class="sectionedit3" id="request_information">Request information</h2>
<div class="level2">
<p>
Les données suivantes concernant la requête courante sont disponibles via les fonctions :
</p>
<ul>
<li class="level1"><div class="li"> hostname</div>
</li>
<li class="level1"><div class="li"> remote_ip : l'adresse <abbr title="Internet Protocol">IP</abbr> cliente</div>
</li>
<li class="level1"><div class="li"> uri : l'<abbr title="Uniform Resource Locator">URL</abbr></div>
</li>
<li class="level1"><div class="li"> uri_with_args : l'<abbr title="Uniform Resource Locator">URL</abbr> complète (y compris les arguments GET)</div>
</li>
<li class="level1"><div class="li"> unparsed_uri : l'<abbr title="Uniform Resource Locator">URL</abbr> avant décodage</div>
</li>
<li class="level1"><div class="li"> args : la chaîne de requête</div>
</li>
<li class="level1"><div class="li"> method : la méthode de la requête (GET, POST, etc…)</div>
</li>
<li class="level1"><div class="li"> header_in(“Your-Request-Header”) : n'importe quel en-tête de la requête</div>
</li>
</ul>
</div><!-- EDIT3 SECTION "Request information" [1272-1677] -->
</div><!-- EDIT2 SECTION "Presentation" [35-1215] -->
<h2 class="sectionedit4" id="extended_functions_list">Liste des fonctions étendues</h2>
<h2 class="sectionedit3" id="extended_functions_list">Liste des fonctions étendues</h2>
<div class="level2">
</div><!-- EDIT4 SECTION "Extended Functions List" [1678-1714] -->
</div><!-- EDIT3 SECTION "Extended Functions List" [1216-1252] -->
<h3 class="sectionedit5" id="date">date</h3>
<h3 class="sectionedit4" id="date">date</h3>
<div class="level3">
<p>
@ -181,9 +153,9 @@ Retourne la date au format AAAAMMJJHHMMSS, heure locale par défaut, GMT si dema
</p>
<pre class="code">date(1)</pre>
</div><!-- EDIT5 SECTION "date" [1715-1834] -->
</div><!-- EDIT4 SECTION "date" [1253-1372] -->
<h3 class="sectionedit6" id="checklogonhours">checkLogonHours</h3>
<h3 class="sectionedit5" id="checklogonhours">checkLogonHours</h3>
<div class="level3">
<p>
@ -236,9 +208,9 @@ Il est possible de modifier le comportement par défaut pour les utilisateurs ne
</p>
<pre class="code">checkLogonHours($ssoLogonHours, '', '', '1')</pre>
</div><!-- EDIT6 SECTION "checkLogonHours" [1835-3772] -->
</div><!-- EDIT5 SECTION "checkLogonHours" [1373-3310] -->
<h3 class="sectionedit7" id="checkdate">checkDate</h3>
<h3 class="sectionedit6" id="checkdate">checkDate</h3>
<div class="level3">
<p>
@ -268,9 +240,9 @@ Exemple d'usage simple :
</p>
<pre class="code">checkDate($ssoStartDate, $ssoEndDate)</pre>
</div><!-- EDIT7 SECTION "checkDate" [3773-4400] -->
</div><!-- EDIT6 SECTION "checkDate" [3311-3938] -->
<h3 class="sectionedit8" id="basic">basic</h3>
<h3 class="sectionedit7" id="basic">basic</h3>
<div class="level3">
<div class="noteimportant">Cette fonction n'est pas compatible avec la <a href="safejail.html" class="wikilink1" title="documentation:2.0:safejail">cage saine</a>, il faut désactiver la mise en cage.
</div>
@ -293,9 +265,9 @@ Exemple d'usage simple :
</p>
<pre class="code">basic($uid,$_password)</pre>
</div><!-- EDIT8 SECTION "basic" [4401-4863] -->
</div><!-- EDIT7 SECTION "basic" [3939-4401] -->
<h3 class="sectionedit9" id="unicode2iso">unicode2iso</h3>
<h3 class="sectionedit8" id="unicode2iso">unicode2iso</h3>
<div class="level3">
<div class="noteimportant">Cette fonction n'est pas compatible avec la <a href="safejail.html" class="wikilink1" title="documentation:2.0:safejail">cage saine</a>, il faut désactiver la mise en cage.
</div>
@ -316,9 +288,9 @@ Exemple d'usage simple :
</p>
<pre class="code">unicode2iso($nom)</pre>
</div><!-- EDIT9 SECTION "unicode2iso" [4864-5168] -->
</div><!-- EDIT8 SECTION "unicode2iso" [4402-4706] -->
<h3 class="sectionedit10" id="iso2unicode">iso2unicode</h3>
<h3 class="sectionedit9" id="iso2unicode">iso2unicode</h3>
<div class="level3">
<div class="noteimportant">Cette fonction n'est pas compatible avec la <a href="safejail.html" class="wikilink1" title="documentation:2.0:safejail">cage saine</a>, il faut désactiver la mise en cage.
</div>
@ -339,9 +311,9 @@ Exemple d'usage simple :
</p>
<pre class="code">iso2unicode($name)</pre>
</div><!-- EDIT10 SECTION "iso2unicode" [5169-5473] -->
</div><!-- EDIT9 SECTION "iso2unicode" [4707-5011] -->
<h3 class="sectionedit11" id="groupmatch">groupMatch</h3>
<h3 class="sectionedit10" id="groupmatch">groupMatch</h3>
<div class="level3">
<p>
@ -367,9 +339,9 @@ Exemple d'usage simple :
</p>
<pre class="code">groupMatch($hGroups, 'description', 'Service 1')</pre>
</div><!-- EDIT11 SECTION "groupMatch" [5474-5832] -->
</div><!-- EDIT10 SECTION "groupMatch" [5012-5370] -->
<h3 class="sectionedit12" id="encrypt">encrypt</h3>
<h3 class="sectionedit11" id="encrypt">encrypt</h3>
<div class="level3">
<div class="notetip">Since version 2.0, this function is now compliant with <a href="safejail.html" class="wikilink1" title="documentation:2.0:safejail">Safe jail</a>.
@ -381,9 +353,9 @@ This function uses the secret key of LLNG configuration to crypt a data. This ca
</p>
<pre class="code">encrypt($_whatToTrace)</pre>
</div><!-- EDIT12 SECTION "encrypt" [5833-6138] -->
</div><!-- EDIT11 SECTION "encrypt" [5371-5676] -->
<h3 class="sectionedit13" id="token">token</h3>
<h3 class="sectionedit12" id="token">token</h3>
<div class="level3">
<p>
@ -393,9 +365,9 @@ This function generates token used to <a href="servertoserver.html" class="wikil
</p>
<pre class="code">token($_session_id,'webapp1.example.com','webapp2.example.com')</pre>
</div><!-- EDIT13 SECTION "token" [6139-6343] -->
</div><!-- EDIT12 SECTION "token" [5677-5881] -->
<h3 class="sectionedit14" id="isinnet6">isInNet6</h3>
<h3 class="sectionedit13" id="isinnet6">isInNet6</h3>
<div class="level3">
<p>
@ -405,7 +377,7 @@ Function to check if an IPv6 address is in a subnet. Example <em>check if <abbr
</p>
<pre class="code perl">isInNet6<span class="br0">(</span><span class="re0">$ipAddr</span><span class="sy0">,</span> <span class="st_h">'fe80::/10'</span><span class="br0">)</span></pre>
</div><!-- EDIT14 SECTION "isInNet6" [6344-] -->
</div><!-- EDIT13 SECTION "isInNet6" [5882-] -->
</div>
</body>
</html>

@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="/static/bwr/bootstrap/dist/css/bootstrap.min.css" />
//else --><!-- //endif -->
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="index,follow"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="keywords" content="documentation,2.0,performances"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="performances.html"/>
@ -64,6 +64,7 @@
<ul class="toc">
<li class="level3"><div class="li"><a href="#replace_mysql_by_apachesessionflex">Remplacer MySQL par Apache::Session::Flex</a></div></li>
<li class="level3"><div class="li"><a href="#use_apachesessionbrowseable">Utiliser Apache::Session::Browseable</a></div></li>
<li class="level3"><div class="li"><a href="#performance_test">Performance test</a></div></li>
</ul>
</li>
<li class="level2"><div class="li"><a href="#ldap_performances">Performances LDAP</a></div></li>
@ -133,6 +134,8 @@ Les macros et les groupes sont calculées pendant le processus d'authentificatio
<ul>
<li class="level1"><div class="li"> les macros sont utilisées pour étendre (ou réécrire) les <a href="exportedvars.html" class="wikilink1" title="documentation:2.0:exportedvars">variables exportées</a>. Une macro est stockée comme un attribut : elle peut contenir le résultat d'un calcul booléen ou n'importe quelle chaîne de caractères</div>
</li>
<li class="level1"><div class="li"> macros can also be used to import environment variables <em>(these variables are in CGI format)</em>. Example: <code>$ENV{HTTP_COOKIE}</code></div>
</li>
<li class="level1"><div class="li"> les groupes sont stockées en chaîne de caractères séparées par des espaces dans l'attribut spécial “groups” : il contient les noms des groupes dont la règle à retournée une valeur non nulle pour l'utilisateur courant</div>
</li>
<li class="level1"><div class="li"> On peut également définir des groupes dans <code>$hGroups</code> qui est une référence à une table de hashage de la forme :</div>
@ -181,7 +184,7 @@ admin <span class="sy0">-&gt;</span> <span class="re0">$uid</span> <span class="
<div class="noteclassic">Noter que les groupes sont calculés après les macros, donc une règle de groupe peut utiliser une valeur issue d'une macro.
</div><div class="noteimportant">Les macros et groupes sont calculés dans l'ordre alpha-numerique, c'est à dire dans l'ordre d'affichage dans le manager. Par exemple, la macro “macro1” sear calculée avant la macro “macro2” : donc l'expression de macro2 peut utiliser la valeur $macro1. De même pour les groupes : une règle de groupe peut en utiliser une autre calculée précédemment.
</div>
</div><!-- EDIT4 SECTION "Macros and groups" [987-2949] -->
</div><!-- EDIT4 SECTION "Macros and groups" [987-3081] -->
<h3 class="sectionedit5" id="local_macros">Macros locales</h3>
<div class="level3">
@ -195,12 +198,12 @@ admin <span class="sy0">-&gt;</span> <span class="re0">$admin</span> <span class
Display<span class="sy0">-</span>Name <span class="sy0">-&gt;</span> <span class="re0">$displayName</span> <span class="sy0">||=</span> <span class="re0">$givenName</span><span class="sy0">.</span><span class="st0">" "</span><span class="sy0">.</span><span class="re0">$surName</span></pre>
<div class="notetip">Notez que cette fonctionnalité n'est intéressante que pour les systèmes Lemonldap::NG protégeant un grand nombre d'applications
</div>
</div><!-- EDIT5 SECTION "Local macros" [2950-3611] -->
</div><!-- EDIT5 SECTION "Local macros" [3082-3743] -->
<h2 class="sectionedit6" id="portal_performances">Performances du portail</h2>
<div class="level2">
</div><!-- EDIT6 SECTION "Portal performances" [3612-3644] -->
</div><!-- EDIT6 SECTION "Portal performances" [3744-3776] -->
<h3 class="sectionedit7" id="general_performances">Performances générales</h3>
<div class="level3">
@ -225,7 +228,7 @@ By default it uses local storage to store its tokens. If you have more than 1 po
<div class="notetip">En environnement de production et pour de meilleures performances réseau, utiliser les versions compactées des librairies javascript et css : utiliser <code>make install <strong>PROD=yes</strong></code>. Ceci est fait par défaut avec les paquets RPM/DEB.
</div>
</div><!-- EDIT7 SECTION "General performances" [3645-4511] -->
</div><!-- EDIT7 SECTION "General performances" [3777-4643] -->
<h3 class="sectionedit8" id="apachesession_performances">Performances d'Apache::Session</h3>
<div class="level3">
@ -239,7 +242,9 @@ Les agents (handlers) Lemonldap::NG utilisent un cache local pour stocker les se
<li class="level1"><div class="li"> Comme MySQL ne dispose pas toujours de dispositif de transaction, Apache::Session::MySQL a été conçu en utilisant les verrous MySQL. Ceci dégrade fortement les performances de MySQL, si vous voulez stocker les sessions dans une base de données MySQL, utilisez l'une des solutions suivantes</div>
</li>
</ol>
<div class="notetip">Since 1.9.6, LLNG portal and handler check if session is valid at each access, so purgeCentralCache cron no longer needs to be launched every 10 minutes: one or two times per day is enough.
</div>
</div>
<h4 id="replace_mysql_by_apachesessionflex">Remplacer MySQL par Apache::Session::Flex</h4>
@ -263,9 +268,9 @@ Password -&gt; ...</pre>
<div class="level4">
<p>
<a href="https://metacpan.org/module/Apache::Session::Browseable" class="urlextern" title="https://metacpan.org/module/Apache::Session::Browseable" rel="nofollow">Apache::Session::Browseable</a> est une surcouche d'autres modules Apache::Session qui ajoute des capacités d'indexation. Pour l'utiliser (avec MySQL par exemple), choisissez “Apache::Session::Browseable::MySQL” comme “Module Apache::Session” et utilisez les paramètres suivants :
<a href="https://metacpan.org/module/Apache::Session::Browseable" class="urlextern" title="https://metacpan.org/module/Apache::Session::Browseable" rel="nofollow">Apache::Session::Browseable</a> est une surcouche d'autres modules Apache::Session qui ajoute des capacités d'indexation. Prefer versions ≥ 1.2.5 to have better performances in DB cleaning. To use it (with PostgreSQL for example), choose “Apache::Session::Browseable::Postgres” as “Apache::Session module” and use the following parameters:
</p>
<pre class="code">DataSource -&gt; dbi:mysql:sessions;host=...
<pre class="code">DataSource -&gt; dbi:Pg:database=sessions;host=...
UserName -&gt; user
Password -&gt; password
Index -&gt; ipAddr uid</pre>
@ -273,13 +278,93 @@ Index -&gt; ipAddr uid</pre>
<p>
Notez que Apache::Session::Browseable::MySQL n'utilise pas les verrous MySQL.
</p>
<div class="notetip">A <a href="https://metacpan.org/module/Apache::Session::Browseable::Redis" class="urlextern" title="https://metacpan.org/module/Apache::Session::Browseable::Redis" rel="nofollow">Apache::Session::Browseable::Redis</a> has been created, it is the faster (except for session explorer, defeated by Apache::Session::Browseable::<a href="https://metacpan.org/module/Apache::Session::Browseable" class="urlextern" title="https://metacpan.org/module/Apache::Session::Browseable" rel="nofollow">DBI</a>/<a href="https://metacpan.org/module/Apache::Session::Browseable::LDAP" class="urlextern" title="https://metacpan.org/module/Apache::Session::Browseable::LDAP" rel="nofollow">LDAP</a> ≥ 1.0)
</div><div class="noteimportant">Certains modules Apache::Session ne sont pas utilisables par Lemonldap::NG tel Apache::Session::Memcached, car ce module n'offre pas de dispositif de parcours des sessions They does not allow one to use sessions explorer neither manage one-off sessions.
<p>
Look at <a href="browseablesessionbackend.html" class="wikilink1" title="documentation:2.0:browseablesessionbackend">Browseable session backend</a> to known which index to choose.
</p>
<div class="noteimportant">Some Apache::Session module are not fully usable by Lemonldap::NG such as Apache::Session::Memcached since these modules do not offer capability to browse sessions. They does not allow one to use sessions explorer neither manage one-off sessions.
</div>
</div>
<h4 id="performance_test">Performance test</h4>
<div class="level4">
<div class="notetip">A <a href="https://metacpan.org/module/Apache::Session::Browseable::Redis" class="urlextern" title="https://metacpan.org/module/Apache::Session::Browseable::Redis" rel="nofollow">Apache::Session::Browseable::Redis</a> has been created, it is the faster (except for session explorer, defeated by Apache::Session::Browseable::<a href="https://metacpan.org/module/Apache::Session::Browseable" class="urlextern" title="https://metacpan.org/module/Apache::Session::Browseable" rel="nofollow">DBI</a>/<a href="https://metacpan.org/module/Apache::Session::Browseable::LDAP" class="urlextern" title="https://metacpan.org/module/Apache::Session::Browseable::LDAP" rel="nofollow">LDAP</a>])
</div>
</div><!-- EDIT8 SECTION "Apache::Session performances" [4512-6869] -->
<p>
This test isn't a “only-backend” test but embed some LLNG methods, so real differences between engines are mitigate here.
</p>
<div class="table sectionedit9"><table class="inline table table-bordered table-striped">
<thead>
<tr class="row0 roweven">
<th class="col0 centeralign" colspan="2"> Backend </th><th class="col2 centeralign" colspan="3"> Portal and handlers </th><th class="col5 centeralign" colspan="3"> Session explorer and one-off sessions </th>
</tr>
<tr class="row1 rowodd">
<th class="col0 centeralign"> Nom </th><th class="col1 centeralign"> Configuration </th><th class="col2 centeralign"> Insert 1000 </th><th class="col3 centeralign"> Search 1 </th><th class="col4 centeralign"> Purge 500 </th><th class="col5 centeralign"> Parse all </th><th class="col6 centeralign"> Search by substring </th><th class="col7 centeralign"> Search by UID </th>
</tr>
</thead>
<tr class="row2 roweven">
<td class="col0 leftalign"> Apache::Session::<strong>Browseable::LDAP</strong> </td><td class="col1 leftalign"> mdb </td><td class="col2 centeralign"> 159.66 </td><td class="col3 centeralign"> 0.0120 </td><td class="col4 centeralign"> 49.22 </td><td class="col5 centeralign"> 0.1110 </td><td class="col6 centeralign"> 0.0076 </td><td class="col7 centeralign"> 0.0050 </td>
</tr>
<tr class="row3 rowodd">
<td class="col0 leftalign"> Apache::Session::<strong>MySQL</strong> </td><td class="col1"> No lock </td><td class="col2 centeralign"> 87.20 </td><td class="col3 centeralign"> <strong>0.0039</strong> </td><td class="col4 centeralign"> 23.14 </td><td class="col5 centeralign"> 0.0281 </td><td class="col6 centeralign"> 0.0252 </td><td class="col7 centeralign"> 0.0235 </td>
</tr>
<tr class="row4 roweven">
<td class="col0"> Apache::Session::<strong>Browseable::MySQL</strong> </td><td class="col1 leftalign"> </td><td class="col2 centeralign"> 91.79 </td><td class="col3 centeralign"> <strong>0.0039</strong> </td><td class="col4 centeralign"> <strong>0.139</strong> (*) </td><td class="col5 centeralign"> 0.0272 </td><td class="col6 centeralign"> <strong>0.0036</strong> </td><td class="col7 centeralign"> <strong>0.0026</strong> </td>
</tr>
<tr class="row5 rowodd">
<td class="col0 leftalign"> Apache::Session::<strong>Postgres</strong> </td><td class="col1 leftalign"> </td><td class="col2 centeralign"> 18.31 </td><td class="col3 centeralign"> 0.0095 </td><td class="col4 centeralign"> 13.40 </td><td class="col5 centeralign"> 0.0323 </td><td class="col6 centeralign"> 0.0277 </td><td class="col7 centeralign"> 0.0264 </td>
</tr>
<tr class="row6 roweven">
<td class="col0"> Apache::Session::<strong>Postgres</strong> </td><td class="col1"> Unlogged table </td><td class="col2 centeralign"> 9.16 </td><td class="col3 centeralign"> 0.0095 </td><td class="col4 centeralign"> 7.91 </td><td class="col5 centeralign"> 0.0318 </td><td class="col6 centeralign"> 0.0270 </td><td class="col7 centeralign"> 0.0254 </td>
</tr>
<tr class="row7 rowodd">
<td class="col0 leftalign"> Apache::Session::<strong>Browseable::Postgres</strong> </td><td class="col1"> Unlogged table with indexes </td><td class="col2 centeralign"> 9.24 </td><td class="col3 centeralign"> 0.0094 </td><td class="col4 centeralign"> <strong>0.103</strong> (*) </td><td class="col5 centeralign"> 0.0301 </td><td class="col6 centeralign"> <strong>0.0037</strong> </td><td class="col7 centeralign"> <strong>0.0028</strong> </td>
</tr>
<tr class="row8 roweven">
<td class="col0 leftalign"> Apache::Session::<strong>Browseable::PgJSON</strong> </td><td class="col1"> Unlogged table, json field </td><td class="col2 centeralign"> 9.25 </td><td class="col3 centeralign"> 0.0091 </td><td class="col4 centeralign"> <strong>0.108</strong> (*) </td><td class="col5 centeralign"> 0.0247 </td><td class="col6 centeralign"> 0.0061 </td><td class="col7 centeralign"> <strong>0.0029</strong> </td>
</tr>
<tr class="row9 rowodd">
<td class="col0 leftalign"> Apache::Session::<strong>Browseable::PgHstore</strong> </td><td class="col1"> Unlogged table, hstore field </td><td class="col2 centeralign"> 9.62 </td><td class="col3 centeralign"> 0.0111 </td><td class="col4 centeralign"> <strong>0.105</strong> (*) </td><td class="col5 centeralign"> <strong>0.0125</strong> </td><td class="col6 centeralign"> <strong>0.0031</strong> </td><td class="col7 centeralign"> <strong>0.0029</strong> </td>
</tr>
<tr class="row10 roweven">
<td class="col0 leftalign"> Apache::Session::<strong>Redis</strong> </td><td class="col1 leftalign"> </td><td class="col2 centeralign"> <strong>2.13</strong> </td><td class="col3 centeralign"> <strong>0.0033</strong> </td><td class="col4 centeralign"> 1.158 </td><td class="col5 centeralign"> 0.0623 </td><td class="col6 centeralign"> 0.0570 </td><td class="col7 centeralign"> 0.0550 </td>
</tr>
<tr class="row11 rowodd">
<td class="col0 leftalign"> Apache::Session::<strong>Browseable::Redis</strong> </td><td class="col1 leftalign"> </td><td class="col2 centeralign"> <strong>2.36</strong> </td><td class="col3 centeralign"> <strong>0.0033</strong> </td><td class="col4 centeralign"> 1.154 </td><td class="col5 centeralign"> 0.0643 </td><td class="col6 centeralign"> 0.1048 </td><td class="col7 centeralign"> 0.0024 </td>
</tr>
</table></div><!-- EDIT9 TABLE [7534-9034] -->
<p>
<em><strong>(*) :</strong> “purge” test is done with Apache::Session::Browseable-1.2.5 and LLG-2.0. Earlier results are not so good.</em>
</p>
<p>
Analysis:
</p>
<ul>
<li class="level1"><div class="li"> LDAP servers are “write-once-read-many”, so write performances are very bad. Don't use this on heavy load if “Session activity timeout” is enabled <em>(if set, handler “write” sessions)</em></div>
</li>
<li class="level1"><div class="li"> MySQL/MariaDB is better to read than to write. Prefer PostgreSQL if you use “Session activity timeout”</div>
</li>
<li class="level1"><div class="li"> Logged tables decrease a lot insert performances with PostgreSQL, so use unlogged tables for sessions except for persistent sessions</div>
</li>
<li class="level1"><div class="li"> Redis is the best for main usage</div>
</li>
<li class="level1"><div class="li"> Browseable::Postgres/PgHstore/PgJSON are the best SQL solutions on average</div>
</li>
</ul>
</div><!-- EDIT8 SECTION "Apache::Session performances" [4644-9717] -->
<h3 class="sectionedit9" id="ldap_performances">Performances LDAP</h3>
<h3 class="sectionedit10" id="ldap_performances">Performances LDAP</h3>
<div class="level3">
<p>
@ -314,14 +399,14 @@ Maintenant, ldapgroups contient “admin su”
</p>
</div>
</div><!-- EDIT9 SECTION "LDAP performances" [6870-7999] -->
</div><!-- EDIT10 SECTION "LDAP performances" [9718-10847] -->
<h2 class="sectionedit10" id="manager_performances">Performances du Manager</h2>
<h2 class="sectionedit11" id="manager_performances">Performances du Manager</h2>
<div class="level2">
</div><!-- EDIT10 SECTION "Manager performances" [8000-8033] -->
</div><!-- EDIT11 SECTION "Manager performances" [10848-10881] -->
<h3 class="sectionedit11" id="disable_unused_modules">Désactiver les modules inutilisés</h3>
<h3 class="sectionedit12" id="disable_unused_modules">Désactiver les modules inutilisés</h3>
<div class="level3">
<p>
@ -330,9 +415,9 @@ In lemonldap-ng.ini, set only modules that you will use. By default, configurati
<pre class="code ini"><span class="re0"><span class="br0">[</span>manager<span class="br0">]</span></span>
<span class="re1">enabledModules</span> <span class="sy0">=</span><span class="re2"> conf, sessions</span></pre>
</div><!-- EDIT11 SECTION "Disable unused modules" [8034-8280] -->
</div><!-- EDIT12 SECTION "Disable unused modules" [10882-11128] -->
<h3 class="sectionedit12" id="use_static_html_files">Use static HTML files</h3>
<h3 class="sectionedit13" id="use_static_html_files">Use static HTML files</h3>
<div class="level3">
<p>
@ -363,7 +448,7 @@ So manager <abbr title="HyperText Markup Language">HTML</abbr> templates will be
</p>
</div><!-- EDIT12 SECTION "Use static HTML files" [8281-] -->
</div><!-- EDIT13 SECTION "Use static HTML files" [11129-] -->
</div>
</body>
</html>

@ -90,7 +90,7 @@
<form action="/start" accept-charset="utf-8" class="search" id="dw__search" method="get" role="search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" class="edit" title="[F]" /><input type="submit" value="Search" class="button" title="Search" /><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
<ul class="nav navbar-nav">
<li><a href="/documentation/2.0/restserverplugin?do=login&amp;sectok=62a29c35a267f658799e362598e991b4" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
<li><a href="/documentation/2.0/restserverplugin?do=login&amp;sectok=d85714290cf235b49a654de9f78398ef" class="action login" rel="nofollow" title="Login"><i class="glyphicon glyphicon-log-in"></i> Login</a></li> </ul>
</div>
@ -204,7 +204,7 @@ You&#039;ve followed a link to a topic that doesn&#039;t exist yet. If permissio
</div><!-- /site -->
<div class="no"><img src="/lib/exe/indexer.php?id=documentation%3A2.0%3Arestserverplugin&amp;1490850194" width="2" height="1" alt="" /></div>
<div class="no"><img src="/lib/exe/indexer.php?id=documentation%3A2.0%3Arestserverplugin&amp;1491283180" width="2" height="1" alt="" /></div>
<div id="screen__mode" class="no">
<span class="visible-xs"></span>
<span class="visible-sm"></span>

@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="/static/bwr/bootstrap/dist/css/bootstrap.min.css" />
//else --><!-- //endif -->
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="index,follow"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="keywords" content="documentation,2.0,sqlsessionbackend"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="sqlsessionbackend.html"/>
@ -125,7 +125,8 @@ Créer la table des sessions :
id <span class="kw1">CHAR</span><span class="br0">(</span><span class="nu0">32</span><span class="br0">)</span> <span class="kw1">NOT</span> <span class="kw1">NULL</span> <span class="kw1">PRIMARY</span> <span class="kw1">KEY</span><span class="sy0">,</span>
a_session text
<span class="br0">)</span>;</pre>
<div class="noteimportant">Changer char(32) en char(64) pour utiliser l'algorithme de hashage SHA256 (recommandé). Voir <a href="documentation/latest/sessions.html" class="wikilink1" title="documentation:latest:sessions">Sessions</a> pour plus de détails
<div class="noteimportant">Change <code>char(32)</code> by <code>varchar(64)</code> if you use the now recommended SHA256 hash algorithm. See <a href="documentation/latest/sessions.html" class="wikilink1" title="documentation:latest:sessions">Sessions</a> for more details
</div><div class="notetip">You can change table name <code>sessions</code> to whatever you want, just adapt the parameter <code>TableName</code> in module options.
</div>
@ -156,11 +157,12 @@ Créer la table:
<pre class="code">psql -h 127.0.0.1 -U lemonldap-ng -W lemonldap-ng</pre>
<pre class="code">Mot de passe pour l'utilisateur lemonldap-ng :
[...]
lemonldap-ng=&gt; create table sessions ( id char(32) not null primary key, a_session text );
lemonldap-ng=&gt; create unlogged table sessions ( id char(32) not null primary key, a_session text );
lemonldap-ng=&gt; q</pre>
<div class="noteimportant">Changer char(32) en char(64) pour utiliser l'algorithme de hashage SHA256 (recommandé). Voir <a href="documentation/latest/sessions.html" class="wikilink1" title="documentation:latest:sessions">Sessions</a> pour plus de détails
<div class="noteimportant">Change <code>char(32)</code> by <code>varchar(64)</code> if you use the now recommended SHA256 hash algorithm. See <a href="documentation/latest/sessions.html" class="wikilink1" title="documentation:latest:sessions">Sessions</a> for more details
</div>
</div><!-- EDIT3 SECTION "Prepare the database" [488-2206] -->
</div><!-- EDIT3 SECTION "Prepare the database" [488-2237] -->
<h3 class="sectionedit4" id="manager">Manager</h3>
<div class="level3">
@ -190,9 +192,9 @@ Aller dans le Manager et choisir le module de session (par exemple <a href="http
<td class="col0 centeralign"> <strong>Commit</strong> </td><td class="col1"> Requis pour PostgreSQL </td><td class="col2"> 1 </td>
</tr>
<tr class="row6 roweven">
<td class="col0 centeralign"> <strong>TableName</strong> </td><td class="col1"> Name of the table </td><td class="col2"> sessions </td>
<td class="col0 centeralign"> <strong>TableName</strong> </td><td class="col1"> <em>(Optional)</em> Name of the table </td><td class="col2"> sessions </td>
</tr>
</table></div><!-- EDIT5 TABLE [2535-2929] -->
</table></div><!-- EDIT5 TABLE [2566-2975] -->
<p>
Il faut consulter la page de manuel correspondant à la base de données (<a href="http://search.cpan.org/perldoc?Apache::Session::MySQL" class="urlextern" title="http://search.cpan.org/perldoc?Apache::Session::MySQL" rel="nofollow">Apache::Session::MySQL</a>, …) pour connaître les paramètres. Il faut également installer le connecteur à la base de données (<a href="http://search.cpan.org/perldoc?DBD::Oracle" class="urlextern" title="http://search.cpan.org/perldoc?DBD::Oracle" rel="nofollow">DBD::Oracle</a>, <a href="http://search.cpan.org/perldoc?DBD::Pg" class="urlextern" title="http://search.cpan.org/perldoc?DBD::Pg" rel="nofollow">DBD::Pg</a>,…)
@ -211,7 +213,7 @@ Il faut consulter la page de manuel correspondant à la base de données (<a hre
Si MySQL est choisi, lire <a href="performances.html#apachesession_performances" class="wikilink1" title="documentation:2.0:performances">comment augmenter les performances de MySQL</a>.
</p>
</div><!-- EDIT4 SECTION "Manager" [2207-3508] -->
</div><!-- EDIT4 SECTION "Manager" [2238-3554] -->
<h2 class="sectionedit6" id="security">Sécurité</h2>
<div class="level2">
@ -224,7 +226,7 @@ Restreindre l'accès réseau à la base de données.
On peut utiliser différent login/mot-de-passe pour les serveurs en surchargeant les paramètres <code>globalStorage</code> et <code>globalStorageOptions</code> dans le fichier lemonldap-ng.ini.
</p>
</div><!-- EDIT6 SECTION "Security" [3509-] -->
</div><!-- EDIT6 SECTION "Security" [3555-] -->
</div>
</body>
</html>

@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="/static/bwr/bootstrap/dist/css/bootstrap.min.css" />
//else --><!-- //endif -->
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="robots" content="index,follow"/>
<meta name="keywords" content="documentation,2.0,upgrade"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="upgrade.html"/>

@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="/static/bwr/bootstrap/dist/css/bootstrap.min.css" />
//else --><!-- //endif -->
<meta name="generator" content="DokuWiki"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="robots" content="index,follow"/>
<meta name="keywords" content="documentation,2.0,writingrulesand_headers"/>
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
<link rel="start" href="writingrulesand_headers.html"/>

Loading…
Cancel
Save