freeipa/daemons/ipa-otpd
Nathaniel McCallum 304300fd87 Properly handle LDAP socket closures in ipa-otpd
In at least one case, when an LDAP socket closes, a read event is fired
rather than an error event. Without this patch, ipa-otpd silently
ignores this event and enters a state where all bind auths fail.

To remedy this problem, we pass error events along the same path as read
events. Should the actual read fail, we exit.

https://bugzilla.redhat.com/show_bug.cgi?id=1377858
https://fedorahosted.org/freeipa/ticket/6368

Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2016-10-06 10:35:25 +02:00
..
bind.c Properly handle LDAP socket closures in ipa-otpd 2016-10-06 10:35:25 +02:00
forward.c Add the krb5/FreeIPA RADIUS companion daemon 2013-05-17 09:30:51 +02:00
internal.h Migrate from #ifndef guards to #pragma once 2016-05-29 14:04:45 +02:00
ipa-otpd.socket.in Move ipa-otpd socket directory 2014-02-11 17:36:19 +01:00
ipa-otpd@.service.in Add the krb5/FreeIPA RADIUS companion daemon 2013-05-17 09:30:51 +02:00
main.c Don't error when find_base() fails if a base is not required 2016-01-12 12:28:44 +01:00
Makefile.am Move ipa-otpd socket directory 2014-02-11 17:36:19 +01:00
parse.c Add the krb5/FreeIPA RADIUS companion daemon 2013-05-17 09:30:51 +02:00
query.c Properly handle LDAP socket closures in ipa-otpd 2016-10-06 10:35:25 +02:00
queue.c Add the krb5/FreeIPA RADIUS companion daemon 2013-05-17 09:30:51 +02:00
stdio.c Add the krb5/FreeIPA RADIUS companion daemon 2013-05-17 09:30:51 +02:00
test.py Use six.Stringio instead of StringIO.StringIO 2015-10-07 10:27:20 +02:00