While I have my slapd-server completely up and running, I do have one
obstacle. The sql connection disconnects after some time of idling
(MySQL server has gone away). Probably because the maximum seconds of
idling has been reached. This means I have to restart slapd to fix the
connection. I could open a cronjob to do that, but that's more a
last-resort-solution.
Is there a config option for reconnection or is there another possible
solution?
No. Yes, operations could be retried when they fail because the server
disconnected (and in general back-sql should do its best to retry
operations, much like other proxy backends do).
I could imagine that slapd would try to reconnect in case it
loses sql connection because this could happen for all sort of reaons.
There is a request for a similar capability. See ITS#5796. Patches are
welcome, as usual :).
p.