[Date Prev][Date Next]
RE: Partitial results
Could you give some reference for designing schemas, particularly object
> -----Original Message-----
> From: Kurt D. Zeilenga [SMTP:Kurt@OpenLDAP.org]
> Sent: Wednesday, April 26, 2000 10:07 AM
> To: Mikael Grehn
> Cc: OpenLDAP Development
> Subject: Re: Partitial results
> At 09:59 AM 4/19/00 +0200, Mikael Grehn wrote:
> >Dear Kurt,
> >"Kurt D. Zeilenga" wrote:
> >> 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.
> >> >then send 10 more entries, how should I do this?
> >> See http://www.ietf.org/rfc/rfc2696.txt
> >this document describes how the client can specify (in LDAPControl
> >a paged result request from server using a cookie as parameter that is
> >refered in future (continuing) requests to server.
> >But I dont need this, I want to find a way for the SERVER to limit the
> >resulting entries by a partitial size and timelimit.
> This is exactly what paging allows. Yes, it is client initiated.
> This is a good thing.
> >But the server need to
> >tell the client that "ok, here are some result, present them now and wait
> >more results later on from me...".
> The server needs to know that the client supports paged results
> and needs to know when the client is ready for more results.
> >Any suggestions or recommendations?
> Don't change the core protocol.
> >It would be great if the solution is implementable on both LDAPv2 and v3
> As such requires protocol extension, both clients and servers
> will likely have to support LDAPv3 (which provides a framework
> for extensions) and the specific extension to manage the
> paging of results.
> >> 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
> >> >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?
> >I am sorry for asking how to use LDAP URL with bindname and bindpw on
> >mailing list, I'll try netscape (again).
> >Greatful are all the/any help!
> >Mikael Grehn
> >Systems Engineer