Fixed libldap referral chasing (ITS#6602)
Fixed libldap leak when chasing referrals (ITS#6744)
Fixed libldap url parsing with NULL host (ITS#6653)
+ Fixed libldap ldap_open_internal_connection (ITS#6788)
Fixed liblutil getpass prompts (ITS#6702)
Fixed ldapsearch segfault with deref (ITS#6638)
Fixed ldapsearch multiple controls parsing (ITS#6651)
return( 0 );
}
+/*
+ * ldap_open_internal_connection - open connection and set file descriptor
+ *
+ * note: ldap_init_fd() may be preferable
+ */
int
ldap_open_internal_connection( LDAP **ldp, ber_socket_t *fdp )
ldap_set_option( ld, LDAP_OPT_PROTOCOL_VERSION, &rc );
*ldp = ld;
+ ++ld->ld_defconn->lconn_refcnt; /* so it never gets closed/freed */
+
return( LDAP_SUCCESS );
}