How to change configuration backend

LemonLDAP::NG provides a script to change configuration backend easily keeping history. It is set in LemonLDAP::NG utilities directory (convertConfig).

The convertConfig utility reads 2 LL::NG configuration files (lemonldap-ng.ini):

  • Current: to extract all configuration history
  • New: to write all configuration history
  • Prepare your new lemonldap-ng.ini file
  • Configure your new backend (create SQL database,…)
  • Launch that:
convertConfig --current=/etc/lemonldap-ng/lemonldap-ng.ini --new=/new/lemonldap-ng.ini
  • Install the new lemonldap-ng.ini file in all LL::NG components
  • Restart all your Apache servers

Documentation is available for configuration backends :