Lines Matching refs:ld
312 /* set up an ldap session 'ld' for sharing among multiple threads */
314 setup_mt_conn(LDAP *ld)
337 * Set up the ld to use those function pointers
339 rc = ldap_set_option(ld, LDAP_OPT_THREAD_FN_PTRS,
359 /* Set up the ld to use those function pointers */
360 rc = ldap_set_option(ld, LDAP_OPT_EXTRA_THREAD_FN_PTRS,
373 setup_mt_ld(LDAP *ld, ns_conn_mgmt_t *cmg)
384 if (setup_mt_conn(ld) == 0) {
986 if (cm->conn->ld != NULL)
987 (void) ldap_unbind(cm->conn->ld);
1678 cm->conn != NULL && cm->conn->ld != NULL) {
1684 while (ldap_result(cm->conn->ld, LDAP_RES_ANY,
1799 __s_api_check_libldap_MT_conn_support(ns_conn_user_t *cu, LDAP *ld,
1810 rc = setup_mt_ld(ld, cmg);