Use LDAP_OPT_KEEPCONN to prevent the target connection from being freed
On error, the ldap connection was freed and under some circumstances the fd was being reused, which caused an assertion error in connection_init.
Please register or sign in to comment