lemonldap-ng/doc/sources/admin/fileconfbackend.rst

37 lines
892 B
ReStructuredText
Raw Normal View History

2020-05-14 23:29:41 +02:00
File configuration backend
==========================
This is the default configuration backend. Configuration is stored as
JSON.
2020-05-18 09:56:39 +02:00
.. tip::
2020-05-14 23:29:41 +02:00
This configuration storage can be shared between different
hosts using:
2020-05-18 09:56:39 +02:00
2020-05-14 23:29:41 +02:00
- :doc:`SOAP configuration backend proxy<soapconfbackend>`
- any files sharing system (NFS, NAS, SAN,...)
2020-05-18 09:56:39 +02:00
2020-05-14 23:29:41 +02:00
Configuration
-------------
You just have to configure a directory writable by Apache user and set
it in [configuration] section in your lemonldap-ng.ini file:
2020-05-21 15:13:24 +02:00
.. code-block:: ini
2020-05-14 23:29:41 +02:00
[configuration]
type = File
dirName = /var/lib/lemonldap-ng/conf
prettyPrint = 1
2020-05-14 23:29:41 +02:00
Parameters
----------
* `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