Cannot store configuration in Postgresql DB
I tried to store configuration in Postgresql DB but with no success. Can anyone help me please? Is it possible to run lemonLDAP with PostgreSQL ?
I've done so far :
-
create the "lemonldap" database and its table "lmConfig" with a similar SQL command as for MySQL.
-
add in storage.conf these lines (and comment the 2 following lines type = File and dirName = /var/lib/lemonldap-ng/conf) type = DBI dbiChain = DBI:Pg:database=lemonldap;host=XXXXXX dbiUser = lemonldap-ng dbiPassword = password dbiTable = lmConfig
-
restart apache
-
open manager in a browser (it logically displays a configuration 0 because nothing is in DB)
-
change settings and save the new configuration. It writes a new line in the DB as it should do and the browser display looks alright.
When I reload the manager page in my browser, it still displays the configuration 0 as if no configuration were saved (with or without a restart of httpd service). I succeeded the MySQL configuration but I would need to run lemonLDAP with Postgresql.
Any help would be appreciated. Thanks,