[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: How does one handle the LDAPMessage if the return isLDAP_RES_SEARCH_RESULT?



I'd say the code in OpenLDAP clients/tools/ldapsearch.c gives a pretty good
example of what to do.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Ken Witzke
> Sent: Monday, December 17, 2001 10:47 AM
> To: openldap-software@OpenLDAP.org
> Subject: How does one handle the LDAPMessage if the return
> isLDAP_RES_SEARCH_RESULT?
>
>
> Folks,
>
> I have, I hope, been finally directed to the correct list to ask the
> following question.
>
> I have always easily dealt with the LDAPMessage if the ldap return code is
> LDAP_RES_SEARCH_ENTRY from an LDAP search.
>
> The example search code that I have also only deals with
> LDAP_RES_SEARCH_ENTRY.
>
> However, I would like to be able to deal with the LDAP_RES_SEARCH_RESULT
> return code which seems to indicate " an entire chain of entries
> matching a
> previously initiated search request, along with a final outcome".
>
> Does anyone have any available sample code that processes the
> LDAPMessage in
> this case?
>
> Thanks.
>
> -Ken
>