Lines Matching defs:ld
800 LDAP *ld = NULL;
833 res = ldap_initialize(&ld, init);
842 ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION,
856 res = ldap_sasl_bind_s(ld,
862 res = ldap_sasl_bind_s(ld,
908 res = ldap_search_ext_s(ld, basedn, scope,
919 ecount = ldap_count_entries(ld, lr);
933 le = ldap_first_entry(ld, lr);
939 userdn = ldap_get_dn(ld, le);
951 bv = ldap_get_values_len(ld, le, xauth_ldap_config.attr_addr->v);
971 bv = ldap_get_values_len(ld, le, xauth_ldap_config.attr_mask->v);
1000 res = ldap_sasl_bind_s(ld,
1022 ldap_unbind_ext_s(ld, NULL, NULL);
1034 LDAP *ld = NULL;
1061 res = ldap_initialize(&ld, init);
1070 ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION,
1084 res = ldap_sasl_bind_s(ld,
1090 res = ldap_sasl_bind_s(ld,
1125 res = ldap_search_ext_s(ld, basedn, scope,
1136 ecount = ldap_count_entries(ld, lr);
1148 le = ldap_first_entry(ld, lr);
1154 groupdn = ldap_get_dn(ld, le);
1175 ldap_unbind_ext_s(ld, NULL, NULL);