Lines Matching defs:ld
263 LDAP *ld;
335 ld = nsdb_connect(host, port, NULL, NULL);
336 if (ld == NULL) {
362 if (ldap_search_s(ld, base, LDAP_SCOPE_SUBTREE,
367 ldap_perror(ld, "ldap_search_s");
375 for (e = ldap_first_entry(ld, result); e != NULL;
376 e = ldap_next_entry(ld, e)) {
379 if ((dn = ldap_get_dn(ld, e)) != NULL) {
392 for (a = ldap_first_attribute(ld, e, &ber);
393 a != NULL; a = ldap_next_attribute(ld, e, ber)) {
398 vals = ldap_get_values_len(ld, e, a);
514 (void) ldap_unbind(ld);