Upgrade from 0.9.4 to 1.0
- What's new
- Apache configuration
- LemonLDAP::NG configuration files
- Customized scripts parameters
- Liberty Alliance portal
What's new
LemonLDAP::NG 1.0 come with some brand new features:- More authentication backends (DBI, proxy, SAML, ...)
- Manager with Ajax
- Unified configuration in a central ini file
- Split Apache configuration for Portal/Manager/Handler
- ...
Apache configuration
Now LemonLDAP::NG is shipped with 3 Apache configuration files:- portal-apache2.conf: portal virtual host
- manager-apache2.conf: manager virtual host
- handler-apache2.conf: handler declaration and protected application virtual hosts
LemonLDAP::NG configuration files
LemonLDAP::NG 0.9.4 used local files for some settings:- apply.conf: URI used by Manager to apply changes
- storage.cong: Configuration location and Cache settings
- apps-list.xml: Application menu
- --dir,-d: path to main configuration directory (default: /etc/lemonldap-ng)
- --storage,-s: path to storage.conf (if not stored in conf dir)
- --apply,-a: path to apply.conf (if not stored in conf dir)
- --menuxml,-m: path to apps-list.xml (if not stored in conf dir)
- --ini,-i: path to lemonldap-ng.ini (if not stored in conf dir)
- --preserve,-p: do not erase old files after import
- --help,-h: show this message
- --verbose,-v: let me tell you my life
$ sudo /usr/local/lemonldap-ng/bin/lmMigrateConfFiles2ini -d /usr/local/lemonldap-ng/etc -v -p
Remove the -p options if you want to delete old files.
Customized scripts parameters
Before 1.0, we used to override some configuration parameters by editing perl scripts (like portal/index.pl) and setting values like this :
my $portal = Lemonldap::NG::Portal::SharedConf->new( {
portal => 'auth.example.com',
cookieName => 'lemonldap',
ldapPort => '390',
…
} );
# cp portal/index.pl portal/indexcustom.pl
And declare your custom file in Apache configuration
DirectoryIndex indexcustom.pl
This will prevent your local modifications to be dropped when you will update your LemonLDAP::NG version.
Liberty Alliance portal
Liberty Alliance portal is no more installed by default. Indeed, LemonLDAP::NG has now SAML2 authentication backend!
If you still want the Liberty Alliance portal, use this in install command:
$ sudo make install WITHLA=1