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

This commit is contained in:
Xavier Guimard 2008-08-30 07:59:02 +00:00
parent c2739e5af8
commit 0e066a1f85
25 changed files with 1921 additions and 15 deletions

View File

@ -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>

View File

@ -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>

View File

@ -0,0 +1,144 @@
<?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>

View File

@ -0,0 +1,153 @@
<?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>

View File

@ -0,0 +1,140 @@
<?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>

View File

@ -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>

View File

@ -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>

View File

@ -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{
list-style-type: square;
}
/*]]>*/
</style>
</head>
<body>
@ -209,9 +251,8 @@
par une simple connexion HTTP(S). Le serveur SOAP acc&egrave;de lui
&agrave; la configuration par un des syst&egrave;mes
pr&eacute;c&eacute;dents (File ou DBI). Pour plus d'informations, voir
la page <span class="wikilink"><a href=
"/xwiki/bin/view/NG/DocSOAP">Utilisation des Web
Services</a></span>.</li>
la page <span class="wikilink"><a href="soap-fr.html">Utilisation des
Web Services</a></span>.</li>
</ul>
<h4 class="heading-1-1-1"><span id=
@ -494,5 +535,7 @@ my $portal = Lemonldap::NG::Portal::SharedConf-&gt;new(
"errors-fr.html">Erreurs</a></span> r&eacute;f&eacute;rence ces messages
d'erreur et de d&eacute;bogage.
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>

View File

@ -9,6 +9,48 @@
<title>Lemonldap::NG documentation: faq.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>
@ -410,5 +452,7 @@ my $portal = Lemonldap::NG::Portal::SharedConf-&gt;new(
<p class="paragraph"></p>Those messages are described <span class=
"wikilink"><a href="errors.html">here</a></span>.
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>

View File

@ -0,0 +1,77 @@
<!DOCTYPE html PUBLIC "XHTML 1.0 Strict"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
<head>
<title>Lemonldap::NG documentation: index</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css">
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">LemonLDAP::NG documentation</h2>
<ul class="star">
<li><a href="phpldapadmin.html">Phpldapadmin</a></li>
<li><a href="advanced-access-rules.html">Advanced access rules</a></li>
<li><a href="liberty-alliance-fr.html">Liberty alliance (FR)</a></li>
<li><a href="dokuwiki.html">Dokuwiki</a></li>
<li><a href="overview-fr.html">Overview (FR)</a></li>
<li><a href="overview.html">Overview</a></li>
<li><a href="contacts.html">Contacts</a></li>
<li><a href="sympa.html">Sympa</a></li>
<li><a href="faq.html">Faq</a></li>
<li><a href="advanced-install.html">Advanced install</a></li>
<li><a href="errors.html">Errors</a></li>
<li><a href="errors-fr.html">Errors (FR)</a></li>
<li><a href="debian-packages-install.html">Debian packages install</a></li>
<li><a href="soap-fr.html">Soap (FR)</a></li>
<li><a href="tomcat-valve.html">Tomcat valve</a></li>
<li><a href="roadmap.html">Roadmap</a></li>
<li><a href="faq-fr.html">Faq (FR)</a></li>
<li><a href="password-policy.html">Password policy</a></li>
<li><a href="install.html">Install</a></li>
<li><a href="references.html">References</a></li>
<li><a href="install-fr.html">Install (FR)</a></li>
</ul>
</div>
<p class="footer">Find the latest version of the documentation on <a href="http://wiki.lemonldap.objectweb.org/xwiki/bin/view/NG/Presentation">LemonLDAP::NG Wiki</a> !</p>
</body>
</html>

View File

@ -9,6 +9,48 @@
<title>Lemonldap::NG documentation: install-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>
@ -76,8 +118,8 @@
#apt-get install libapache-session-perl libnet-ldap-perl libcache-cache-perl libdbi-perl perl-modules libwww-perl libcache-cache-perl libxml-simple-perl
</pre>
</div>Et si vous souhaitez utiliser les fonctionnalit&eacute;s SOAP du
manager (cf. <span class="wikilink"><a href=
"/xwiki/bin/view/NG/DocSOAP">Utilisation des modules SOAP</a></span>) :
manager (cf. <span class="wikilink"><a href="soap-fr.html">Utilisation des
modules SOAP</a></span>) :
<div class="code">
<pre>
@ -205,5 +247,7 @@ ln -s /usr/share/doc/lemonldap-ng/example/apache2.conf /etc/apache2/sites-enable
redirig&eacute;s vers auth.example.com. Connectez-vous avec un compte
valide et la page prot&eacute;g&eacute;e appara&icirc;tra.
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>

View File

@ -9,6 +9,48 @@
<title>Lemonldap::NG documentation: 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>
@ -188,5 +230,7 @@ ln -s /usr/share/doc/lemonldap-ng/example/apache2.conf /etc/apache2/sites-enable
redirect to auth.example.com. Try to authenticate yourself with a valid
account and the protected page will appear.
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>

View File

@ -9,6 +9,48 @@
<title>Lemonldap::NG documentation: liberty-alliance-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>
@ -533,5 +575,7 @@ my $var_dir = <span class="java-quote">"/<span class=
depuis le site du projet FederID : <span class="wikiexternallink"><a href=
"http://federid.objectweb.org/xwiki/bin/view/Main/Demonstration">http://federid.objectweb.org/xwiki/bin/view/Main/Demonstration</a></span>
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -1,6 +1,6 @@
<?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">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
<head>
@ -9,6 +9,53 @@
<title>Lemonldap::NG documentation: overview-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>
<style type="text/css">
/*<![CDATA[*/
div.c1 {text-align: center}
/*]]>*/
</style>
</head>
<body>
@ -16,8 +63,10 @@
<h2 class="heading-1"><span id=
"HLemonLDAP3A3ANG">LemonLDAP::NG</span></h2>
<p class="paragraph"></p><img src="logo_lemonldap-ng.png" alt=
"logo_lemonldap-ng.png" />
<p class="paragraph"></p>
<div class="c1"><img src="logo_lemonldap-ng_400px.png" alt=
"logo_lemonldap-ng_400px.png" /></div>
<p class="paragraph"></p>Lemonldap::NG est un <span class=
"wikilink"><a href=
@ -489,5 +538,7 @@ Remote-IP =&gt; $ip
lui-m&ecirc;me en version 5.8.4 ou &agrave; votre guise en version Perl 5
sup&eacute;rieure.
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>

View File

@ -1,6 +1,6 @@
<?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">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
<head>
@ -9,6 +9,53 @@
<title>Lemonldap::NG documentation: overview.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>
<style type="text/css">
/*<![CDATA[*/
div.c1 {text-align: center}
/*]]>*/
</style>
</head>
<body>
@ -16,8 +63,10 @@
<h2 class="heading-1"><span id=
"HLemonLDAP3A3ANG">LemonLDAP::NG</span></h2>
<p class="paragraph"></p><img src="logo_lemonldap-ng.png" alt=
"logo_lemonldap-ng.png" />
<p class="paragraph"></p>
<div class="c1"><img src="logo_lemonldap-ng_400px.png" alt=
"logo_lemonldap-ng_400px.png" /></div>
<p class="paragraph"></p>Lemonldap::NG is a modular Web-SSO based on
Apache::Session modules. It simplifies the build of a protected area with
@ -421,5 +470,7 @@ Remote-IP =&gt; $ip
either Perl version 5.8.4 or, at your option, any later version of Perl 5
you may have available.
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>

View File

@ -9,6 +9,48 @@
<title>Lemonldap::NG documentation: password-policy.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>
@ -102,5 +144,7 @@
</pre>
</div>
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>

View File

@ -0,0 +1,195 @@
<?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: phpldapadmin.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="HphpLDAPadmin">phpLDAPadmin</span></h2>
<p class="paragraph"></p>
<ul>
<li><a href="#HPresentation">Presentation</a></li>
<li>
<a href="#HSimpleintegration">Simple integration</a>
<ul>
<li><a href="#HphpLDAPadminconfiguration">phpLDAPadmin
configuration</a></li>
<li><a href="#HApacheconfiguration">Apache configuration</a></li>
<li><a href="#HLemonLDAP3A3ANGconfiguration">LemonLDAP::NG
configuration</a></li>
</ul>
</li>
<li><a href="#HComplexintegration">Complex integration</a></li>
</ul>
<h3 class="heading-1-1"><span id="HPresentation">Presentation</span></h3>
<p class="paragraph"></p>phpLDAPadmin is an LDAP administration tool
written in PHP. See <span class="wikiexternallink"><a href=
"http://phpldapadmin.sourceforge.net/">http://phpldapadmin.sourceforge.net/</a></span>
for more informations.
<h3 class="heading-1-1"><span id="HSimpleintegration">Simple
integration</span></h3>
<p class="paragraph"></p>This integration is easy: phpLDAPadmin will
connect to the directory with a static DN and password, and so will not
request authentication anymore. The access to phpLDAPadmin will be
protected by LemonLDAP::NG with specific access rules.
<p class="paragraph"></p>Warning: phpLDAPadmin will have no idea of the
user connected to the WebSSO. So a simple user can have admin rights on
the LDAP directory if your access rules are too lazy.
<h4 class="heading-1-1-1"><span id=
"HphpLDAPadminconfiguration">phpLDAPadmin configuration</span></h4>
<p class="paragraph"></p>Just set the authentication type to 'config' and
indicate DN and password inside the file config.php:
<p class="paragraph"></p>
<div class="code">
<pre>
$ldapservers-&gt;SetValue($i,'server','auth_type','config');
$ldapservers-&gt;SetValue($i,'login','dn','cn=Manager,dc=example,dc=com');
$ldapservers-&gt;SetValue($i,'login','pass','secret');
</pre>
</div>
<p class="paragraph"></p>Save and close.
<h4 class="heading-1-1-1"><span id="HApacheconfiguration">Apache
configuration</span></h4>
<p class="paragraph"></p>We recommend to create a virtualhost for
phpLDAPadmin (eg. <span class="nobr"><a href=
"http://pla.example.com">http://pla.example.com</a></span>). Then
configure this virtualhost in your existing Apache configuration:
<p class="paragraph"></p>
<div class="code">
<pre>
# The following lines must be set once <span class=
"java-keyword">for</span> all virtualhosts
NameVirtualHost *<br /><br />PerlRequire /opt/lemonldap-ng/handler/Handler.pm
PerlOptions +GlobalRequest
&lt;Files ~ <span class="java-quote">".(pl)$"</span>&gt;
SetHandler perl-script
PerlHandler ModPerl::Registry
PerlSendHeader On
&lt;/Files&gt;<br /><br /># Define here all <span class=
"java-keyword">protected</span> virtualhosts<br /><br />&lt;VirtualHost *&gt;
ServerName pla.example.com
ServerSignature Off<br /><br /> DocumentRoot /opt/phpldapadmin
DirectoryIndex index.php<br /><br /> PerlHeaderParserHandler Handler<br /><br /> &lt;Location /refresh&gt;
PerlHeaderParserHandler Handler-&gt;refresh
&lt;/Location&gt;<br /><br /> LogLevel warn
ErrorLog /<span class=
"java-keyword">var</span>/log/httpd/phpldapadmin-error.log
CustomLog /<span class=
"java-keyword">var</span>/log/httpd/phphldapadmin-access.log combined
&lt;/VirtualHost&gt;
</pre>
</div>
<h4 class="heading-1-1-1"><span id=
"HLemonLDAP3A3ANGconfiguration">LemonLDAP::NG
configuration</span></h4><br />
<br />
Go to the manager and create a new virtual host:<br />
<br />
<div class="code">
<pre>
pla.example.com
</pre>
</div><br />
<br />
Then create the access rule. Some examples:<br />
<br />
<div class="code">
<pre>
<span class="java-keyword">default</span> =&gt; accept
</pre>
</div><br />
<br />
<div class="code">
<pre>
<span class="java-keyword">default</span> =&gt; $groups ~= \badmin\b
</pre>
</div><br />
<br />
Remove all HTTP_HEADERS, because they are not used!
<h3 class="heading-1-1"><span id="HComplexintegration">Complex
integration</span></h3><br />
<br />
This is a feature request: <span class="wikiexternallink"><a href=
"https://sourceforge.net/tracker/index.php?func=detail&amp;aid=2073323&amp;group_id=61828&amp;atid=498549">
https://sourceforge.net/tracker/index.php?func=detail&amp;aid=2073323&amp;group_id=61828&amp;atid=498549</a></span>
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>

View File

@ -0,0 +1,97 @@
<?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: references.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="HReferences">References</span></h2>
<p class="paragraph"></p>
<ul>
<li><a href="#HGendarmerieNationale">Gendarmerie Nationale</a></li>
<li><a href=
"#HBibliothC3A8quePubliqued27Information">Biblioth&egrave;que Publique
d'Information</a></li>
</ul>They use LemonLDAP::NG:
<h3 class="heading-1-1"><span id="HGendarmerieNationale">Gendarmerie
Nationale</span></h3>
<p class="paragraph"></p><img src="logo_gendarmerie_nationale.png" alt=
"logo_gendarmerie_nationale.png" />
<ul class="star">
<li>Nb users:</li>
<li>Nb protected applications:</li>
</ul>
<h3 class="heading-1-1"><span id=
"HBibliothC3A8quePubliqued27Information">Biblioth&egrave;que Publique
d'Information</span></h3>
<p class="paragraph"></p><img src="logo_bpi.png" alt="logo_bpi.png" />
<ul class="star">
<li>Nb users: ~500</li>
<li>Nb protected applications: ~10</li>
</ul>
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>

View File

@ -0,0 +1,126 @@
<?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: roadmap.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="HRoadmapforLemonLDAP3A3ANG">Roadmap for
LemonLDAP::NG</span></h2>
<p class="paragraph"></p>
<ul>
<li><a href="#HVersion0928200829">Version 0.9 (2008)</a></li>
<li><a href="#HVersion1028end200829">Version 1.0 (end 2008)</a></li>
<li><a href="#HVersion2028201029">Version 2.0 (2010)</a></li>
</ul>
<h3 class="heading-1-1"><span id="HVersion0928200829">Version 0.9
(2008)</span></h3>
<ul class="star">
<li>Liberty Alliance authentication module</li>
<li>Skins for Manager and Portal</li>
<li>SOAP access to configuration and sessions</li>
</ul>
<h3 class="heading-1-1"><span id="HVersion1028end200829">Version 1.0 (end
2008)</span></h3>
<ul class="star">
<li>Dissociate authentication and user backend capabilities (for
example, to choose LDAP for authentication, and MySQL for reading user's
information).</li>
<li>Add a Menu.pm to portal modules, to provide an enhanced application
menu and password modification form</li>
<li>i18n (internationalization) for modules, scripts and HTML
templates</li>
<li>Production installation script</li>
<li>Packages for Debian/Ubuntu, RedHat/CentOS</li>
<li>Date and time parameters in access rules</li>
<li>Monitoring scripts (MRTG, Cacti, Nagios)</li>
<li>Sessions explorer</li>
<li>Handler POST functionnalities, to fill authentication forms with
login/password</li>
</ul>
<h3 class="heading-1-1"><span id="HVersion2028201029">Version 2.0
(2010)</span></h3>
<ul class="star">
<li>Manage Apache virtualhost configuration through LDAP backend</li>
<li>SAML2 authentication and user backend</li>
<li>SNMP extensions for monitoring</li>
<li>Local password policy</li>
</ul>
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>

View File

@ -9,6 +9,48 @@
<title>Lemonldap::NG documentation: soap-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>
@ -492,5 +534,7 @@ configStorage =&gt; {
<p class="paragraph"></p>
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>

View File

@ -0,0 +1,212 @@
<?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: sympa.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="HSympa">Sympa</span></h2>
<p class="paragraph"></p>
<ul>
<li><a href="#HPresentation">Presentation</a></li>
<li>
<a href="#HIntegrationwithLemonLDAP3A3ANG">Integration with
LemonLDAP::NG</a>
<ul>
<li><a href="#HPresentation-1">Presentation</a></li>
<li><a href="#HSympaconfiguration">Sympa configuration</a></li>
<li><a href="#HApacheconfiguration">Apache configuration</a></li>
<li><a href="#HLemonLDAP3A3ANGconfiguration">LemonLDAP::NG
configuration</a></li>
</ul>
</li>
</ul>
<h3 class="heading-1-1"><span id="HPresentation">Presentation</span></h3>
<p class="paragraph"></p>Sympa is a mailing list manager. See <span class=
"wikiexternallink"><a href=
"http://www.sympa.org">http://www.sympa.org</a></span> for more
informations.
<h3 class="heading-1-1"><span id=
"HIntegrationwithLemonLDAP3A3ANG">Integration with
LemonLDAP::NG</span></h3>
<h4 class="heading-1-1-1"><span id=
"HPresentation">Presentation</span></h4>
<p class="paragraph"></p>Sympa provide a magic authentication mecanism,
which display a special button on the interface. When the user click on
it, if he has already an SSO session, he is directly authenticated.
<p class="paragraph"></p>This works for CAS, Shibboleth and LemonLDAP::NG.
<h4 class="heading-1-1-1"><span id="HSympaconfiguration">Sympa
configuration</span></h4><br />
<br />
Edit the file "auth.conf", for example:<br />
<br />
<div class="code">
<pre>
# vi /etc/sympa/auth.conf
</pre>
</div><br />
<br />
And fill it (replace all "example" elements):
<div class="code">
<pre>
generic_sso
service_name LemonLDAP::NG
service_id lemonldapng
http_header_prefix HTTP
email_http_header HTTP_EMAIL
netid_http_header HTTP_AUTH-USER
internal_email_by_netid 1
logout_url <span class="nobr"><a href=
"http://sympa.example.com/wws/logout">http://sympa.example.com/wws/logout</a></span><br /><br />ldap
host localhost:389
timeout 20
bind_dn cn=admin,dc=example,dc=com
bind_password secret
suffix dc=example,dc=com
get_dn_by_uid_filter (uid=[sender])
get_dn_by_email_filter (|(mail=[sender])(n2atraliasmail=[sender]))
alternative_email_attribute n2atrmaildrop
email_attribute mail
scope sub
authentication_info_url <span class="nobr"><a href=
"http://sympa.example.com">http://sympa.example.com</a></span>
</pre>
</div>
<h4 class="heading-1-1-1"><span id="HApacheconfiguration">Apache
configuration</span></h4>
<p class="paragraph"></p>We recommend to create a virtualhost for
Sympa(eg. <span class="nobr"><a href=
"http://sympa.example.com">http://sympa.example.com</a></span>). Then
configure this virtualhost in your existing Apache configuration:
<p class="paragraph"></p>
<div class="code">
<pre>
# The following lines must be set once <span class=
"java-keyword">for</span> all virtualhosts
NameVirtualHost *<br /><br />PerlRequire /opt/lemonldap-ng/handler/Handler.pm
PerlOptions +GlobalRequest
&lt;Files ~ <span class="java-quote">".(pl)$"</span>&gt;
SetHandler perl-script
PerlHandler ModPerl::Registry
PerlSendHeader On
&lt;/Files&gt;<br /><br /># Define here all <span class=
"java-keyword">protected</span> virtualhosts
&lt;VirtualHost *&gt;
ServerName sympa.example.com<br /><br /> # WebSSO protection
&lt;Location /wws/sso_login/lemonldapng&gt;
PerlHeaderParserHandler Handler
&lt;/Location&gt;<br /><br /> &lt;Location /reload&gt;
PerlHeaderParserHandler Handler-&gt;reload
&lt;/Location&gt;<br /><br /> RedirectMatch ^/$ /wws
Alias /wwsicons /usr/share/sympa/icons
ScriptAlias /wws /usr/lib/cgi-bin/sympa/wwsympa.fcgi<br /><br /> LogLevel warn
ErrorLog /<span class=
"java-keyword">var</span>/log/apache2/sympa-error.log
CustomLog /<span class=
"java-keyword">var</span>/log/apache2/sympa-access.log combined
&lt;/VirtualHost&gt;
</pre>
</div>
<h4 class="heading-1-1-1"><span id=
"HLemonLDAP3A3ANGconfiguration">LemonLDAP::NG configuration</span></h4>
<p class="paragraph"></p>Go to the manager and create a new virtual host:
<div class="code">
<pre>
pla.example.com
</pre>
</div><br />
<br />
Then create the access rule:
<div class="code">
<pre>
<span class="java-keyword">default</span> =&gt; accept
</pre>
</div><br />
<br />
And set the correct HTTP headers:
<div class="code">
<pre>
Auth-User =&gt; $uid
email =&gt; $email
</pre>
</div>
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>

View File

@ -0,0 +1,170 @@
<?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: tomcat-valve.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="HTomcatvalve">Tomcat valve</span></h2>
<p class="paragraph"></p>
<ul>
<li><a href="#HCompilation">Compilation</a></li>
<li><a href="#HInstallation">Installation</a></li>
<li><a href="#HQuicktestanddebuggingtips">Quick test and debugging
tips</a></li>
</ul>The Tomcat valve was provided by Pascal Pejac.
<p class="paragraph"></p>This valve is only available for tomcat 5.5 or
greater.
<h3 class="heading-1-1"><span id="HCompilation">Compilation</span></h3>
<p class="paragraph"></p>Note: source and compiled valve can be found in
the download area.
<p class="paragraph"></p>Required :
<ul class="star">
<li>ant</li>
<li>jre &gt; 1.4</li>
<li>tomcat &gt;= 5.5</li>
</ul>Configure your tomcat home in build.properties files.<br />
<br />
Note: be crareful for windosw user, path must contains "/".<br />
<br />
Exemple:
<div class="code">
<pre>
c:/my hardisk/tomcat/
</pre>
</div><br />
<br />
Next run ant command:
<div class="code">
<pre>
ant
</pre>
</div><br />
<br />
ValveLemonLDAPNG.jar is created under /dist directory.
<h3 class="heading-1-1"><span id=
"HInstallation">Installation</span></h3><br />
<br />
Copy ValveLemonLDAPNG.jar on &lt;TOMCAT_HOME&gt;/server/lib<br />
<br />
Add on your server.xml file a new valve entry like this (in host
section):<br />
<br />
<div class="code">
<pre>
&lt;Valve className=<span class=
"java-quote">"org.lemonLDAPNG.SSOValve"</span> userKey=<span class=
"java-quote">"AUTH-USER"</span> roleKey=<span class=
"java-quote">"AUTH-ROLE"</span> roleSeparator=<span class=
"java-quote">","</span> allows=<span class=
"java-quote">"127.0.0.1"</span>/&gt;
</pre>
</div><br />
<br />
Configure attributes:
<ul class="star">
<li>userKey: key in the http header send by lemonLDAP in order to store
user login.</li>
<li>roleKey: key in the http header send by lemonLDAP in order to store
roles. If lemonLDAP send some roles split by some commas, use
roleSeparator.</li>
<li>roleSeparator (optional): see above.</li>
<li>allows (optional): filter remote IP. IP defined in this attribute
are allowed (use "," separator for multiple IP). Just set the
LemonLDAP::NG handler IP on this attribute in order to add more
security. If this attribute is missed all hosts are allowed.</li>
</ul>
<h3 class="heading-1-1"><span id="HQuicktestanddebuggingtips">Quick test
and debugging tips</span></h3><br />
<br />
Download for exemple probe application (great administration tool for
tomcat): <span class="wikiexternallink"><a href=
"http://www.lambdaprobe.org">http://www.lambdaprobe.org</a></span>.<br />
<br />
Install valve and configure it.<br />
<br />
Send via LemonLDAP::NG user with role = probeuser or other user with role
= manager.<br />
<br />
Probe doesn't ask authentification, you're logged...<br />
<br />
For debugging, this valve can print some helpfull information in debug
level. Configure logging in tomcat (see <span class=
"wikiexternallink"><a href=
"http://tomcat.apache.org/tomcat-5.5-doc/logging.html">http://tomcat.apache.org/tomcat-5.5-doc/logging.html</a></span>)
.
</div>
<p class="footer"><a href="index.html">Index</a></p>
</body>
</html>