You can install Lemonldap::NG using packages (rpm or deb) or by hand as described below.
LemonLDAP::NG is written in Perl and requires a lot of Perl dependencies. You must install them first.
Get the tarball on download page and follow next steps (or install using RPM or Debian packages):
tar zxvf lemonldap-ng-*.tar.gz cd lemonldap-ng-*
make make test
sudo make install
sudo make install LDAPSUFFIX=mysuffix
You can also change the host and port with options LDAPHOST and LDAPPORT.
Update your /etc/hosts to map SSO URLs to localhost:
sudo make postconf
Include LemonLDAP::NG configuration in your main Apache configuration:
include /usr/local/lemonldap-ng/etc/portal-apache2.conf include /usr/local/lemonldap-ng/etc/handler-apache2.conf include /usr/local/lemonldap-ng/etc/manager-apache2.conf
Restart Apache:
sudo apachectl configtest sudo apachectl restart
Go on http://auth.example.com and log with LDAP user account.