Lines Matching refs:ldap_ld
505 LDAPLMAP.ldap_ld = NULL;
508 if (LDAPLMAP.ldap_ld == NULL)
515 sm_ldap_setopts(LDAPLMAP.ldap_ld, &LDAPLMAP);
519 save_errno = sm_ldap_geterrno(LDAPLMAP.ldap_ld) + E_LDAPBASE;
532 ret = ldap_result(LDAPLMAP.ldap_ld, msgid, 1,
543 errno = sm_ldap_geterrno(LDAPLMAP.ldap_ld);
548 entry = ldap_first_entry(LDAPLMAP.ldap_ld, LDAPLMAP.ldap_res);
560 save_errno = ldap_parse_result(LDAPLMAP.ldap_ld,
585 LDAPLMAP.ldap_ld->ld_errno = LDAP_SUCCESS;
590 for (attr = ldap_first_attribute(LDAPLMAP.ldap_ld, entry, &ber);
592 attr = ldap_next_attribute(LDAPLMAP.ldap_ld, entry, ber))
596 vals = ldap_get_values(LDAPLMAP.ldap_ld, entry, attr);
599 errno = sm_ldap_geterrno(LDAPLMAP.ldap_ld);
619 LDAPLMAP.ldap_ld->ld_errno = LDAP_SUCCESS;
705 errno = sm_ldap_geterrno(LDAPLMAP.ldap_ld);