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
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 include /usr/local/lemonldap-ng/etc/test-apache2.conf
Restart Apache:
sudo apachectl configtest sudo apachectl restart
Since LemonLDAP::NG 1.2, the demonstration backend is configured by default. Demonstration backend has hard coded user accounts:
Login | Password | Role |
---|---|---|
rtyler | rtyler | user |
msmith | msmith | user |
dwho | dwho | administrator |
Go on http://auth.example.com and log with one of the demonstration account.
Log with the dwho account and go on http://manager.example.com