Prerequisites and dependencies
- Apache
- Perl
- Other
- Install dependencies on your system
- Link between LemonLDAP::NG versions and CPAN modules versions
Apache
To use Lemonldap::NG, you have to run a LDAP server and of course an Apache server compiled with mod-perl (version 1.3 or 2.x). Generaly, the version of Apache proposed with your Linux distribution match, but some distributions used an experimental version of mod_perl with Apache2 (mod_perl-1.99) which does not work with Lemonldap::NG. With such distributions (like Debian-3.1), you have to use Apache-1.3 or to use a mod_perl backport (www.backports.org package for Debian works fine). For Apache2, you can use both mpm-worker and mpm-prefork. Mpm-worker works faster and Lemonldap::NG use the thread system for best performance. If you have to use mpm-prefork (for example if you use PHP), Lemonldap::NG will work anyway. You can use Lemonldap::NG in an heterogene world: the authentication portal and the manager can work in any version of Apache 1.3 or more even if mod_perl is not compiled, with ModPerl::Registry or not… Only the handler (site protector) need mod_perl. The different handlers can run on different servers with different versions of Apache/mod_perl.Perl
Mandatory
- Apache::Session
- Net::LDAP
- MIME::Base64
- CGI
- LWP::UserAgent
- Cache::Cache
- DBI
- XML::Simple
- CGI::Session
- Regexp::Assemble
- XML::LibXML
- Crypt::Rijndael
- IO::String
- XML::LibXSLT
- HTML::Template
- SOAP::Lite
Reset Password by Mail
- String::Random
- MIME::Lite
- Email::Date::Format
Extras
- Lasso (see http://lasso.entrouvert.org/)
- CAS (see http://sourcesup.cru.fr/projects/perlcas/)
- Test::POD
Other
- Jquery is included in tarball and RPMs, but is a dependency on Debian
Install dependencies on your system
APT-GET
# apt-get install apache2 libapache2-mod-perl2 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 libregexp-assemble-perl libjs-jquery libxml-libxml-perl libcrypt-rijndael-perl libio-string-perl libxml-libxslt-perl # apt-get install libstring-random-perl libemail-date-format-perl libmime-lite-perl
YUM
Some Perl dependencies are hosted in RPMForge repository, you can activate this repository: https://rpmrepo.org/RPMforge/Using
# yum install httpd mod_perl perl-Apache-Session perl-LDAP perl-XML-SAX perl-XML-NamespaceSupport perl-HTML-Template perl-Regexp-Assemble perl-Error perl-IPC-ShareLite perl-Cache-Cache perl-FreezeThaw perl-XML-Simple perl-version perl-CGI-Session perl-DBD-Pg perl-XML-LibXML-Common perl-BSD-Resource perl-XML-LibXML perl-Crypt-Rijndael perl-IO-String perl-XML-LibXSLT perl-SOAP-Lite
Link between LemonLDAP::NG versions and CPAN modules versions
All lemonLDAP::NG Perl modules are published on CPAN. Here is the correspondance between LemonLDAP::NG version and CPAN versions:
LemonLDAP::NG | Common | Handler | Manager | Portal |
---|---|---|---|---|
0.9.3 | 0.91 | 0.90 | 0.87 | 0.86 |
0.9.4 | 0.94 | 0.91 | 0.90 | 0.89 |