Commit 0e066a1f authored by Xavier Guimard's avatar Xavier Guimard

LEMONLDAP::NG : documentation update (issued from "make documentation")

parent c2739e5a
......@@ -9,6 +9,48 @@
<title>Lemonldap::NG documentation: advanced-access-rules.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<style type="text/css">
/*<![CDATA[*/
body{
background: #ddd;
font-family: sans-serif;
font-size: 11pt;
padding: 0 50px;
}
div.main-content{
padding: 10px;
background: #fff;
border: 2px #ccc solid;
}
a{
text-decoration: none;
}
p.footer{
text-align: center;
margin: 5px 0 0 0;
}
.heading-1{
text-align: center;
color: orange;
font-variant: small-caps;
font-size: 20pt;
}
.heading-1-1{
color: orange;
font-size: 14pt;
border-bottom: 2px #ccc solid;
}
pre{
background: #eee;
border: 2px #ccc solid;
padding: 5px;
border-left: 10px #ccc solid;
}
ul.star li{
list-style-type: square;
}
/*]]>*/
</style>
</head>
<body>
......@@ -216,10 +258,17 @@ objectClass ( SSOOID:2:1
a value inside the entry of the users.
<h4 class="heading-1-1-1"><span id=
"HHabilitationbasedonadate">Habilitation based on a date</span></h4>
"HHabilitationbasedonadate">Habilitation based on a date</span></h4><br />
<br />
If the user has got ssoStartDate and/or ssoEndDate, you can configure
rules to compare the current date to the start/end dates.
<h4 class="heading-1-1-1"><span id=
"HHabilitationbasedonaperiod">Habilitation based on a period</span></h4>
"HHabilitationbasedonaperiod">Habilitation based on a
period</span></h4><br />
<br />
If the user has got ssoTimeProfile, you can configure rules to compare the
current time and compare it to the time profile.
<h4 class="heading-1-1-1"><span id=
"HSendaroletoaprotectedapplication">Send a role to a protected
......@@ -365,5 +414,7 @@ Auth-Roles =&gt; $bbbRoles
Now the protected application can read in the header HTTP_AUTH_ROLES the
role of the user.
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>
......@@ -9,6 +9,48 @@
<title>Lemonldap::NG documentation: advanced-install.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<style type="text/css">
/*<![CDATA[*/
body{
background: #ddd;
font-family: sans-serif;
font-size: 11pt;
padding: 0 50px;
}
div.main-content{
padding: 10px;
background: #fff;
border: 2px #ccc solid;
}
a{
text-decoration: none;
}
p.footer{
text-align: center;
margin: 5px 0 0 0;
}
.heading-1{
text-align: center;
color: orange;
font-variant: small-caps;
font-size: 20pt;
}
.heading-1-1{
color: orange;
font-size: 14pt;
border-bottom: 2px #ccc solid;
}
pre{
background: #eee;
border: 2px #ccc solid;
padding: 5px;
border-left: 10px #ccc solid;
}
ul.star li{
list-style-type: square;
}
/*]]>*/
</style>
</head>
<body>
......@@ -369,5 +411,7 @@ SSLEngine On
</li>
</ul>
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
<head>
<meta name="generator" content=
"HTML Tidy for Linux/x86 (vers 6 November 2007), see www.w3.org" />
<title>Lemonldap::NG documentation: contacts.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<style type="text/css">
/*<![CDATA[*/
body{
background: #ddd;
font-family: sans-serif;
font-size: 11pt;
padding: 0 50px;
}
div.main-content{
padding: 10px;
background: #fff;
border: 2px #ccc solid;
}
a{
text-decoration: none;
}
p.footer{
text-align: center;
margin: 5px 0 0 0;
}
.heading-1{
text-align: center;
color: orange;
font-variant: small-caps;
font-size: 20pt;
}
.heading-1-1{
color: orange;
font-size: 14pt;
border-bottom: 2px #ccc solid;
}
pre{
background: #eee;
border: 2px #ccc solid;
padding: 5px;
border-left: 10px #ccc solid;
}
ul.star li{
list-style-type: square;
}
/*]]>*/
</style>
</head>
<body>
<div class="main-content">
<h2 class="heading-1"><span id="HContacts">Contacts</span></h2>
<h3 class="heading-1-1"><span id="HLemonLDAP">LemonLDAP</span></h3>
<h4 class="heading-1-1-1"><span id="HMailinglists">Mailing
lists</span></h4>
<ul class="star">
<li>Devel: lemonldap-dev AT ow2.org (<span class=
"wikiexternallink"><a href=
"http://mail-archive.ow2.org/lemonldap-dev/index.html">Archives</a></span>)</li>
</ul>
<h4 class="heading-1-1-1"><span id="HCoreteam">Core team</span></h4>
<ul class="star">
<li>Eric German, germanlinux AT yahoo.com: Leader</li>
<li>Habib ZITOUNI zitouni.habib AT gmail.com (version 3)</li>
<li>Hamza AISSAT asthamza AT hotmail.fr (version 3)</li>
<li>Casimir ANTUNES (webmin)</li>
</ul>
<h4 class="heading-1-1-1"><span id=
"HContributors">Contributors</span></h4>
<ul class="star">
<li>Sebastien DIAZ: sebastien.diaz AT gmail.com module pour sympa
pluglemonsympa (liste de discussion)</li>
<li>Apache::Authenlemonldap: module CPAN &agrave; installer sur un
serveur apache qui permet de d&eacute;coder les en-t&ecirc;tes
envoy&eacute;es par lemonldap.</li>
<li>Lemonldap::Cluster::Status: module CPAN qui permet de superviser un
cluster de serveurs lemonldap de la m&ecirc;me mani&egrave;re qu'un
server-status individuel.</li>
<li>Valve lemonldap pour Tomcat: valve java a installer sur un serveur
Tomcat qui permet de d&eacute;coder les entetes envoy&eacute;es par
lemonldap. Auteurs : Itin avec : BOIREAU Oliver CHECCO Jean-Thomas GZADY
Mounir RIVIERE Daniel</li>
</ul>
<h3 class="heading-1-1"><span id=
"HLemonLDAP3A3ANG">LemonLDAP::NG</span></h3>
<h4 class="heading-1-1-1"><span id="HMailinglists">Mailing
lists</span></h4>
<ul class="star">
<li>Devel: lemonldap-ng-dev AT ow2.org (<span class=
"wikiexternallink"><a href=
"http://mail-archive.ow2.org/lemonldap-ng-dev/index.html">Archives</a></span>)</li>
<li>Users: lemonldap-ng-users AT ow2.org (<span class=
"wikiexternallink"><a href=
"http://mail.ow2.org/wws/arc/lemonldap-ng-users">Archives</a></span>)</li>
</ul>
<h4 class="heading-1-1-1"><span id="HCoreteam">Core team</span></h4>
<ul class="star">
<li>Xavier Guimard, x.guimard AT free.fr: Leader</li>
<li>Thomas Chemineau: Developer</li>
<li>Cl&eacute;ment Oudot: Graphics, documentation, tests</li>
</ul>
<h4 class="heading-1-1-1"><span id=
"HContributors">Contributors</span></h4>
<ul class="star">
<li>Erwan Legall: <span class="wikilink"><a href=
"/xwiki/bin/view/NG/DocAppDokuwiki">Dokuwiki pugin</a></span></li>
<li>Pascal Pejac: <span class="wikilink"><a href=
"/xwiki/bin/view/NG/DocAppTomcatValve">Tomcat valve</a></span></li>
</ul>
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
<head>
<meta name="generator" content=
"HTML Tidy for Linux/x86 (vers 6 November 2007), see www.w3.org" />
<title>Lemonldap::NG documentation: debian-packages-install.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<style type="text/css">
/*<![CDATA[*/
body{
background: #ddd;
font-family: sans-serif;
font-size: 11pt;
padding: 0 50px;
}
div.main-content{
padding: 10px;
background: #fff;
border: 2px #ccc solid;
}
a{
text-decoration: none;
}
p.footer{
text-align: center;
margin: 5px 0 0 0;
}
.heading-1{
text-align: center;
color: orange;
font-variant: small-caps;
font-size: 20pt;
}
.heading-1-1{
color: orange;
font-size: 14pt;
border-bottom: 2px #ccc solid;
}
pre{
background: #eee;
border: 2px #ccc solid;
padding: 5px;
border-left: 10px #ccc solid;
}
ul.star li{
list-style-type: square;
}
/*]]>*/
</style>
</head>
<body>
<div class="main-content">
<h2 class="heading-1"><span id=
"HInstallationonDebian2FUbuntuwithpackages">Installation on Debian/Ubuntu
with packages</span></h2>
<p class="paragraph"></p>
<ul>
<li><a href="#HGetthepackages">Get the packages</a></li>
<li><a href="#HInstallpackages28Debiantesting2Funstable29">Install
packages (Debian testing/unstable)</a></li>
<li><a href="#HInstallpackages28Other29">Install packages
(Other)</a></li>
<li><a href="#HFilelocation">File location</a></li>
</ul>
<h3 class="heading-1-1"><span id="HGetthepackages">Get the
packages</span></h3>
<p class="paragraph"></p>If you run Debian lenny (testing) or sid
(unstable), the LemonLDAP::NG packages are directly installable:
<div class="code">
<pre>
# apt-cache search lemonldap-ng
</pre>
</div><br />
<br />
Else you will have to download them first, from this location:
<span class="wikiexternallink"><a href=
"http://packages.debian.org/search?keywords=lemonldap-ng">http://packages.debian.org/search?keywords=lemonldap-ng</a></span>.<br />
<br />
For example:
<div class="code">
<pre>
# wget <span class="nobr"><a href=
"http://ftp.de.debian.org/debian/pool/main/l/lemonldap&amp;#45;ng/lemonldap&amp;#45;ng_0.9.2&amp;#45;1_all.deb">http://ftp.de.debian.org/debian/pool/main/l/lemonldap-ng/lemonldap-ng_0.9.2-1_all.deb</a></span>
# wget <span class="nobr"><a href=
"http://ftp.de.debian.org/debian/pool/main/l/lemonldap&amp;#45;ng/liblemonldap&amp;#45;ng&amp;#45;conf&amp;#45;perl_0.9.2&amp;#45;1_all.deb">http://ftp.de.debian.org/debian/pool/main/l/lemonldap-ng/liblemonldap-ng-conf-perl_0.9.2-1_all.deb</a></span>
# wget <span class="nobr"><a href=
"http://ftp.de.debian.org/debian/pool/main/l/lemonldap&amp;#45;ng/liblemonldap&amp;#45;ng&amp;#45;portal&amp;#45;perl_0.9.2&amp;#45;1_all.deb">http://ftp.de.debian.org/debian/pool/main/l/lemonldap-ng/liblemonldap-ng-portal-perl_0.9.2-1_all.deb</a></span>
# wget <span class="nobr"><a href=
"http://ftp.de.debian.org/debian/pool/main/l/lemonldap&amp;#45;ng/liblemonldap&amp;#45;ng&amp;#45;handler&amp;#45;perl_0.9.2&amp;#45;1_all.deb">http://ftp.de.debian.org/debian/pool/main/l/lemonldap-ng/liblemonldap-ng-handler-perl_0.9.2-1_all.deb</a></span>
# wget <span class="nobr"><a href=
"http://ftp.de.debian.org/debian/pool/main/l/lemonldap&amp;#45;ng/liblemonldap&amp;#45;ng&amp;#45;manager&amp;#45;perl_0.9.2&amp;#45;1_all.deb">http://ftp.de.debian.org/debian/pool/main/l/lemonldap-ng/liblemonldap-ng-manager-perl_0.9.2-1_all.deb</a></span>
</pre>
</div>
<h3 class="heading-1-1"><span id=
"HInstallpackages28Debiantesting2Funstable29">Install packages (Debian
testing/unstable)</span></h3><br />
<br />
<div class="code">
<pre>
# apt-get install apache2 lemonldap-ng
</pre>
</div>
<h3 class="heading-1-1"><span id="HInstallpackages28Other29">Install
packages (Other)</span></h3><br />
<br />
Before installing the packages, install dependencies:
<div class="code">
<pre>
# apt-get install apache2 libapache-session-perl libnet-ldap-perl libcache-cache-perl libdbi-perl perl-modules libwww-perl libcache-cache-perl libxml-simple-perl libsoap-lite-perl libhtml-template-perl
</pre>
</div><br />
<br />
Then:
<div class="code">
<pre>
# dpkg -i liblemonldap-ng-* lemonldap-ng*
</pre>
</div>
<h3 class="heading-1-1"><span id="HFilelocation">File location</span></h3>
<ul class="star">
<li>All configuration is in /etc/lemonldap-ng</li>
<li>All Perl modules are in /usr/share/perl5/Lemonldap/NG/</li>
<li>All Perl scripts/pages are in /var/lib/lemonldap-ng/</li>
</ul>
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
<head>
<meta name="generator" content=
"HTML Tidy for Linux/x86 (vers 6 November 2007), see www.w3.org" />
<title>Lemonldap::NG documentation: dokuwiki.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<style type="text/css">
/*<![CDATA[*/
body{
background: #ddd;
font-family: sans-serif;
font-size: 11pt;
padding: 0 50px;
}
div.main-content{
padding: 10px;
background: #fff;
border: 2px #ccc solid;
}
a{
text-decoration: none;
}
p.footer{
text-align: center;
margin: 5px 0 0 0;
}
.heading-1{
text-align: center;
color: orange;
font-variant: small-caps;
font-size: 20pt;
}
.heading-1-1{
color: orange;
font-size: 14pt;
border-bottom: 2px #ccc solid;
}
pre{
background: #eee;
border: 2px #ccc solid;
padding: 5px;
border-left: 10px #ccc solid;
}
ul.star li{
list-style-type: square;
}
/*]]>*/
</style>
</head>
<body>
<div class="main-content">
<h2 class="heading-1"><span id="HLemonLDAPSSOwithDokuwiki">LemonLDAP SSO
with Dokuwiki</span></h2>
<p class="paragraph"></p>
<ul>
<li><a href="#HInstallation">Installation</a></li>
<li><a href="#HConfiguration">Configuration</a></li>
<li><a href="#HLemonLDAP2Fdokuwiki2FApache2VHostexample">LemonLDAP /
dokuwiki / Apache2 VHost example</a></li>
</ul>This plugin was provided by Erwan Legall (LINAGORA). See the
<span class="wikiexternallink"><a href=
"http://wiki.splitbrain.org/wiki:auth:lemonldap">original
article</a></span>.
<h3 class="heading-1-1"><span id="HInstallation">Installation</span></h3>
<p class="paragraph"></p>Simply unpack the LemonLDAP::NG Dokuwiki plugin
(see download section) and copy the lemonldap.class.php and
lemonldapuserdatabackend.class.php in your inc/auth/ directory.
<p class="paragraph"></p>Note: The Dokuwiki must be provided by the http
server wheris the lemonLDAP handler.
<h3 class="heading-1-1"><span id=
"HConfiguration">Configuration</span></h3><br />
<br />
Very simple too, the only thing you have to change is the conf/local.php
to add this line:<br />
<br />
<div class="code">
<pre>
$conf[authtype] = lemonldap;
</pre>
</div><br />
<br />
That's it!
<h3 class="heading-1-1"><span id=
"HLemonLDAP2Fdokuwiki2FApache2VHostexample">LemonLDAP / dokuwiki / Apache2
VHost example</span></h3><br />
<br />
There is an example of an apache2 vhost which prvide an LemonLDAP
authentified dokuwiki:<br />
<br />
For information, this can be an Apache2 lemon/doku config file:<br />
<br />
<div class="code">
<pre>
PerlRequire /<span class=
"java-keyword">var</span>/lib/lemonldap-ng/handler/MyHandler.pm<br /><br />&lt;VirtualHost *&gt;
ServerName dokuwiki.sso-lemonldap.com
PerlOptions +GlobalRequest
PerlHeaderParserHandler MyHandler<br /><br /> &lt;Files *.pl&gt;
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlSendHeader On
&lt;/Files&gt;<br /><br /> # DocumentRoot
DocumentRoot /<span class=
"java-keyword">var</span>/www/dokuwiki.sso-lemonldap.com<br /><br /> &lt;Directory /<span class="java-keyword">var</span>/www/dokuwiki.sso-lemonldap.com&gt;
Order deny,allow
#Deny from all
Allow from all
Options -Indexes +FollowSymLinks +MultiViews
&lt;/Directory&gt;<br /><br /> &lt;IfModule mod_dir.c&gt;
DirectoryIndex index.pl index.php index.html
&lt;/IfModule&gt;<br /><br /> # Logs
LogLevel warn
ErrorLog /<span class=
"java-keyword">var</span>/log/apache2/dokuwikisso-lemonldap.com-error.log
CustomLog /<span class=
"java-keyword">var</span>/log/apache2/dokuwikisso-lemonldap.com-access.log combined<br /><br />&lt;/VirtualHost&gt;
</pre>
</div>
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>
......@@ -9,6 +9,48 @@
<title>Lemonldap::NG documentation: errors-fr.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<style type="text/css">
/*<![CDATA[*/
body{
background: #ddd;
font-family: sans-serif;
font-size: 11pt;
padding: 0 50px;
}
div.main-content{
padding: 10px;
background: #fff;
border: 2px #ccc solid;
}
a{
text-decoration: none;
}
p.footer{
text-align: center;
margin: 5px 0 0 0;
}
.heading-1{
text-align: center;
color: orange;
font-variant: small-caps;
font-size: 20pt;
}
.heading-1-1{
color: orange;
font-size: 14pt;
border-bottom: 2px #ccc solid;
}
pre{
background: #eee;
border: 2px #ccc solid;
padding: 5px;
border-left: 10px #ccc solid;
}
ul.star li{
list-style-type: square;
}
/*]]>*/
</style>
</head>
<body>
......@@ -196,5 +238,7 @@
<p class="paragraph"></p>
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>
......@@ -9,6 +9,48 @@
<title>Lemonldap::NG documentation: errors.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<style type="text/css">
/*<![CDATA[*/
body{
background: #ddd;
font-family: sans-serif;
font-size: 11pt;
padding: 0 50px;
}
div.main-content{
padding: 10px;
background: #fff;
border: 2px #ccc solid;
}
a{
text-decoration: none;
}
p.footer{
text-align: center;
margin: 5px 0 0 0;
}
.heading-1{
text-align: center;
color: orange;
font-variant: small-caps;
font-size: 20pt;
}
.heading-1-1{
color: orange;
font-size: 14pt;
border-bottom: 2px #ccc solid;
}
pre{
background: #eee;
border: 2px #ccc solid;
padding: 5px;
border-left: 10px #ccc solid;
}
ul.star li{
list-style-type: square;
}
/*]]>*/
</style>
</head>
<body>
......@@ -183,5 +225,7 @@
<p class="paragraph"></p>This message appears when an handler can not
access to session database. The real error is reported.
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>
......@@ -9,6 +9,48 @@
<title>Lemonldap::NG documentation: faq-fr.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<style type="text/css">
/*<![CDATA[*/
body{
background: #ddd;
font-family: sans-serif;
font-size: 11pt;
padding: 0 50px;
}
div.main-content{
padding: 10px;
background: #fff;
border: 2px #ccc solid;
}
a{
text-decoration: none;
}
p.footer{
text-align: center;
margin: 5px 0 0 0;
}
.heading-1{
text-align: center;
color: orange;
font-variant: small-caps;
font-size: 20pt;
}
.heading-1-1{
color: orange;
font-size: 14pt;
border-bottom: 2px #ccc solid;
}
pre{
background: #eee;
border: 2px #ccc solid;
padding: 5px;
border-left: 10px #ccc solid;
}
ul.star li{