Lines Matching refs:ld

64 static int apr_ldap_rebind_set_callback(LDAP *ld);
99 LDAP *ld,
113 new_xref->index = ld;
142 retcode = apr_ldap_rebind_set_callback(ld);
144 apr_ldap_rebind_remove(ld);
148 apr_pool_cleanup_register(pool, ld,
156 APU_DECLARE_LDAP(apr_status_t) apr_ldap_rebind_remove(LDAP *ld)
173 while ((tmp_xref) && (tmp_xref->index != ld)) {
205 LDAP *ld = (LDAP *)data;
206 apr_ldap_rebind_remove(ld);
211 static apr_ldap_rebind_entry_t *apr_ldap_rebind_lookup(LDAP *ld)
225 if (tmp_xref->index == ld) {
247 * ld Pointer to an LDAP control structure. (input only)
253 static int LDAP_rebindproc(LDAP *ld, char **binddnp, char **passwdp, int *methodp, int freeit)
259 my_conn = apr_ldap_rebind_lookup(ld);
280 static int apr_ldap_rebind_set_callback(LDAP *ld)
282 ldap_set_rebind_proc(ld, (LDAPRebindProc)LDAP_rebindproc);
290 * ld Pointer to an LDAP control structure. (input only)
298 * ld Pointer to an LDAP control structure. (input only)
304 static int LDAP_rebindproc(LDAP *ld, LDAP_CONST char *url, ber_tag_t request,
307 static int LDAP_rebindproc(LDAP *ld, LDAP_CONST char *url, int request,
315 my_conn = apr_ldap_rebind_lookup(ld);
322 return (ldap_bind_s(ld, bindDN, bindPW, LDAP_AUTH_SIMPLE));
325 static int apr_ldap_rebind_set_callback(LDAP *ld)
328 ldap_set_rebind_proc(ld, LDAP_rebindproc, NULL);
330 ldap_set_rebind_proc(ld, LDAP_rebindproc);
339 * ld Pointer to an LDAP control structure. (input only)
344 static int LDAP_rebindproc(LDAP *ld, LDAP_CONST char *url, int request, ber_int_t msgid)
351 my_conn = apr_ldap_rebind_lookup(ld);
358 return (ldap_bind_s(ld, bindDN, bindPW, LDAP_AUTH_SIMPLE));
361 static int apr_ldap_rebind_set_callback(LDAP *ld)
363 ldap_set_rebind_proc(ld, LDAP_rebindproc);
369 static int apr_ldap_rebind_set_callback(LDAP *ld)