On 02/04/2022 10:25, Romain wrote:
Package: lemonldap-ng
Version: 2.0.11+ds-4+deb11u1
Severity: important
Dear Maintainer,
Updating from Debian 11.2 to 11.3 lemonldap-ng package have replaced the
lemondldap-ng config file
/var/lib/lemonldap-ng/conf/lmConf-1.json with default
with the package one, making the system unusable as it basically contains all
the configuration related to hosted apps, redirection urls, authentication
backends and many more.
Luckily I had a backup - restoring the backup file and restarting apache2 fixed
the problem.
I suggest that the newer releases do not overwrite anymore the files in
/var/lib/lemonldap-ng/conf/, or moves this default configuration directory into
etc
Cheers,
farfade
Hi,
LLNG adds a configuration file on each update. If you want to customize
default configuration, simply copy it into
/var/lib/lemonldap-ng/conf/lmConf-2.json (and change cfgNum value), then
updates won't overwrite it.
Cheers,
Yadd