Skip to content
Snippets Groups Projects
Commit 9ee48976 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#4135 remove client socket from frontend control before unbinding

parent 6fcfaedf
Branches
Tags
No related merge requests found
......@@ -980,6 +980,9 @@ done:
if ( res ) ldap_msgfree( res );
if ( rc && rc != LDAP_SYNC_REFRESH_REQUIRED && si->si_ld ) {
ber_socket_t s;
ldap_get_option( si->si_ld, LDAP_OPT_DESC, &s );
connection_client_stop( s );
ldap_unbind_ext( si->si_ld, NULL, NULL );
si->si_ld = NULL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment