File configuration backend

This is the default configuration backend. Configuration is stored as JSON.


This configuration storage can be shared between different hosts using:


You just have to configure a directory writable by Apache user and set it in [configuration] section in your lemonldap-ng.ini file:

type  = File
dirName = /var/lib/lemonldap-ng/conf
prettyPrint = 1


  • dirName: directory under which the configuration files will be stored. It must be writable by your webserver account
  • prettyPrint: store files in a readable. Set it to 0 to get a small performance increase when loading/saving configuration