mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
DNSSEC catch ldap exceptions in ipa-dnskeysyncd
Server down exception causes lot of false positive abrt reports. Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
parent
834c911f96
commit
0758cf9de6
@ -102,5 +102,9 @@ while watcher_running:
|
|||||||
filterstr=ldap_url.filterstr
|
filterstr=ldap_url.filterstr
|
||||||
)
|
)
|
||||||
|
|
||||||
while ldap_connection.syncrepl_poll(all=1, msgid=ldap_search):
|
try:
|
||||||
pass
|
while ldap_connection.syncrepl_poll(all=1, msgid=ldap_search):
|
||||||
|
pass
|
||||||
|
except (ldap.SERVER_DOWN, ldap.CONNECT_ERROR) as e:
|
||||||
|
log.exception('syncrepl_poll: LDAP error (%s)', e)
|
||||||
|
sys.exit(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user