iredapd crashes when ldap is not reachable for a short period of time

Issue #135 resolved
Former user created an issue

I noticed that iredapd crashes when it is unable to reach the ldap server for a short period of time.

syslog: ERROR LDAP bind failed: {'desc': "Can't contact LDAP server"}.

Shouldn´t it try to reconnect to the ldap server ? Or maybe the systemd unit for iredapd.service should contain the Restart=always parameter ?

Comments (3)

  1. C


    The parameter does not work as expected. I think it would be better to fix that in the code for iredapd so that it does not fail completely when there is a brief ldap connection problem. Either retrying the connection or returning an error for that particular mail and continuing with the next.

  2. Log in to comment