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

Re: Partitial results



At 10:05 AM 4/17/00 +0200, Mikael Grehn wrote:
>Hi!
>If I wish to use the partitial result return in my LDAP server, for
>example I wish to return 10 entries to the client then wait 10 sec. and
>then send 10 more entries, how should I do this?

See http://www.ietf.org/rfc/rfc2696.txt

Don't abuse partialResults.  partialResults is should only
be returned by an LDAPv2+ server to indicate the presence
of search references.

>I am currently sending
>10 entries, then I send ldap_result->LDAP_PARTITIAL_RESULTS and then
>wait a certain idle time before sending 10 more entries and so on BUT
>the LDAP_PARTITIAL_RESULTS code doesnt seem to work properly(I get error
>at client side),..or have I got it all wrong?
>
>The reason for using the LDAP_PARTITIAL_RESULTS return code is that I
>dont want to overload my search dll, so I return search results in
>intervals using the LDAP_PARTITIAL_RESULTS return code inbetween.
>
>What am I doing wrong?
>
>My previous question about how to use netscape with cleartext
>authentication (need additional plug-ins or?) still is non-answered. :-(

This isn't a netscape support mailing list....