Misleading error reporting when failing to save conf in lemonldap-ng-cli
Environment
LemonLDAP::NG version: 2.0.8
Summary
- Remove write permissions on /var/lib/lemonldap-ng/conf
- or remove UPDATE privilege on DBI config table
- try to set a config variable
- result: no error message and giant config dump
Expected behavior
- An error message should clearly indicate the permission issue
- Dumping the entire config parser serves no purpose for most users and can always be easily done on-demand for debugging purposes