Commit db24b006 authored by Howard Chu's avatar Howard Chu
Browse files

Fix use of ProxyAuthz control

parent 85990be2
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment