Lines Matching refs:ldap_ld
521 LDAPLMAP.ldap_ld = NULL;
524 if (LDAPLMAP.ldap_ld == NULL)
531 sm_ldap_setopts(LDAPLMAP.ldap_ld, &LDAPLMAP);
535 save_errno = sm_ldap_geterrno(LDAPLMAP.ldap_ld) + E_LDAPBASE;
548 ret = ldap_result(LDAPLMAP.ldap_ld, msgid, 1,
559 errno = sm_ldap_geterrno(LDAPLMAP.ldap_ld);
564 entry = ldap_first_entry(LDAPLMAP.ldap_ld, LDAPLMAP.ldap_res);
576 save_errno = ldap_parse_result(LDAPLMAP.ldap_ld,
601 LDAPLMAP.ldap_ld->ld_errno = LDAP_SUCCESS;
606 for (attr = ldap_first_attribute(LDAPLMAP.ldap_ld, entry, &ber);
608 attr = ldap_next_attribute(LDAPLMAP.ldap_ld, entry, ber))
612 vals = ldap_get_values(LDAPLMAP.ldap_ld, entry, attr);
615 errno = sm_ldap_geterrno(LDAPLMAP.ldap_ld);
635 LDAPLMAP.ldap_ld->ld_errno = LDAP_SUCCESS;
721 errno = sm_ldap_geterrno(LDAPLMAP.ldap_ld);