Skip to content
Snippets Groups Projects
Commit db24b006 authored by Howard Chu's avatar Howard Chu
Browse files

Fix use of ProxyAuthz control

parent 85990be2
No related branches found
No related tags found
No related merge requests found
......@@ -166,8 +166,9 @@ static void ldapdb_auxprop_lookup(void *glob_context,
ber_bvfree(dn);
goto done;
}
ret = ldap_search_s(ld, dn->bv_val+3, LDAP_SCOPE_BASE, "(objectclass=*)",
attrs, 0, &res);
c.ldctl_value = *dn;
ret = ldap_search_ext_s(ld, dn->bv_val+3, LDAP_SCOPE_BASE,
"(objectclass=*)", attrs, 0, ctrl, NULL, NULL, 1, &res);
ber_bvfree(dn);
if (ret != LDAP_SUCCESS) goto done;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment