304300f Properly handle LDAP socket closures in ipa-otpd

2 files Authored by npmccallum 7 years ago, Committed by mbasti 7 years ago,
    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>
    
        
file modified
+4 -6
file modified
+6 -7