Local LDAP accounts provider fails to install on 7.5.1804 alpha


#1

i have also some problem with local ldap
install type: c75 iso + install of ns75

other packages installed without fail/error:
Backup
Bandwidth monitor
FTP server
MariaDB (MySQL) server
OpenVPN
Reverse proxy
SNMP server
Statistics
Web filter
Web proxy


Testing NethServer 7.5.1804 alpha
(Davide Principi) #2

I can reproduce it!

May 11 14:55:30 vm5 systemd: Starting OpenLDAP Server Daemon...
May 11 14:55:31 vm5 slapd: tlsmc_get_pin: INFO: Please note the extracted key file will not be protected with a PIN any more, however it will be still protected at least by file permissions.
May 11 14:55:31 vm5 systemd: Started OpenLDAP Server Daemon.
May 11 14:55:31 vm5 esmith::event[15647]: LDAP_OTHER Unknown error at /usr/share/perl5/vendor_perl/Net/LDAP/Entry.pm line 267.
May 11 14:55:31 vm5 esmith::event[15647]: Error modifying cn=config
May 11 14:55:31 vm5 esmith::event[15647]: Action: /etc/e-smith/events/nethserver-directory-update/S10nethserver-directory-conf FAILED: 1 [0.759079]

(Davide Principi) #3

I’m testing an update from 7.4, I suspect this new configuration line from upstream that is not compatible with our TLS settings:

olcTLSCertificateKeyFile: /etc/openldap/certs/password

(Davide Principi) #4

Added issue


(Davide Principi) #5

The fix is available for testing. Test cases must cover

  • new installation
  • update from 7.4
  • restore from config backup, both 7.4 and 7.5

https://github.com/NethServer/dev/issues/5493

/cc @quality_team