Installation on Debian/Ubuntu with packages

Get the packages

If you run Debian lenny (testing) or sid (unstable), the LemonLDAP::NG packages are directly installable:

# apt-cache search lemonldap-ng

Else you will have to download them first, from this location: http://packages.debian.org/search?keywords=lemonldap-ng.

For example:

Install packages (Debian testing/unstable)

# apt-get install apache2 lemonldap-ng

Install packages (Other)

Before installing the packages, install dependencies:

# 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

Then:

# dpkg -i liblemonldap-ng-* lemonldap-ng*

File location

  • All configuration is in /etc/lemonldap-ng
  • All Perl modules are in /usr/share/perl5/Lemonldap/NG/
  • All Perl scripts/pages are in /var/lib/lemonldap-ng/