[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Overlays: using search attributes
- To: openldap-technical <openldap-technical@openldap.org>
- Subject: Overlays: using search attributes
- From: Johan Jakus <johan.jakus@gmail.com>
- Date: Mon, 10 Oct 2011 17:37:49 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=Hi/pVzXJ7xbqAqBNU3OnxsYxb5FRB59v3mpwKer2HiA=; b=tJJ+pJNJoVthEaZ68/4g7k2xqHH5JumWwBR17CxwfaGNWrHnd8IrNPxjduBqHtF1Yn xszdVosX4oYh6ikN6ezcm+pWuP1BkbJj8vs17se5HrcFj2L/hmxWJ3KjgADDU53yi79M R7etJa/BwSRKfI5D3olX3H7UHAN9V7gGogvUQ=
Hello everyone,
As mentioned before, I'm working on an overlay. And, I need to retrieve all the attributes send with the search request.
Here is a part of my source:
AttributeDescription* patt = op->oq_search.rs_attrs->an_desc;
while(patt != NULL)
{
fprintf(fdebug, "attributes: %*s \n", (int) patt->ad_cname.bv_len, patt->ad_cname.bv_val);
patt = patt->ad_next;
}
This only writes the name of the first attribute to the "fdebug" file. And the "patt->ad_next" is NULL (even when I've lots of attributes in my request).
I tried using the AttributeName with the "an_name", but in the AttibuteName structure there is no pointer to the next AttibuteName.
I could realy use some help! Thanks!
Johan Jakus