+

Upgrade from 0.9.4 to + 1.0

+ +

+ + + +

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
  • + +
  • ...
  • +
All these changes require to take a look at following paragraphs if + you want to migrate your LemonLDAP::NG 0.9.4 installation. + +

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
  • +
Note: If you are still using Apache + 1, those files are named portal-apache.conf, *manager-apache.conf*, + handler-apache.conf. + +

With LemonLDAP::NG, you should only have on file + (apache2.conf). So you need to report all + your Apache customization in those 3 files, and include them in the main + Apache configuration file (httpd.conf). + +

Local + LemonLDAP::NG settings

+ +

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
  • +
Those file are not used anymore, and merged into lemonldap-ng.ini. + +

There is a script in the bin/ directory called + lmMigrateConfFiles2ini designed to parse + old configuration files and copy parameters in the new file. + +

Script options: + +
    +
  • --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
  • +
Here is how you can use it, if you installed LemonLDAP::NG from the + tarball in the /usr/local/lemonldap-ng directory: + +
+
+$ 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. + +

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
+
+
+