I'm experiencing an issue with Slapd 2.4.49 on Debian Buster. I use Slapd as a proxy / lb with two AD nodes behind it.
If I reboot one of the AD nodes, everything is fine. As soon as I reboot the seconds one (while the first is back and available), OpenLDAP shuts down immediately: Apr 06 22:03:33 ldap-lb1.ldap.example.com slapd: Stopping OpenLDAP: slapd. Apr 06 22:03:33 ldap-lb1.ldap.example.com systemd: slapd.service: Succeeded.
There is no traffic during this time and it matches the exact time when node two is down.
Debian still uses an init script for slapd but I did not find anything interesting in it.
Is there a config setting that I missed in the docs that explains this behavior? As it's not crashing, HA in systemd won't catch this issue.
Kind regards Kevin