Debian Codegraph @

doc/sources/admin/fileconfbackend.rst

raw
1 File configuration backend
2 ==========================
3
4 This is the default configuration backend. Configuration is stored as
5 JSON.
6
7
8 .. tip::
9
10 This configuration storage can be shared between different
11 hosts using:
12
13 - :doc:`SOAP configuration backend proxy<soapconfbackend>`
14 - any files sharing system (NFS, NAS, SAN,...)
15
16
17
18 Configuration
19 -------------
20
21 You just have to configure a directory writable by Apache user and set
22 it in [configuration] section in your lemonldap-ng.ini file:
23
24 .. code-block:: ini
25
26 [configuration]
27 type = File
28 dirName = /var/lib/lemonldap-ng/conf
29 prettyPrint = 1
30
31
32 Parameters
33 ----------
34
35 * `dirName`: directory under which the configuration files will be stored. It must be writable by your webserver account
36 * `prettyPrint`: store files in a readable. Set it to 0 to get a small performance increase when loading/saving configuration