We have a case where the LDAP client should read the complete subtree
starting from a specific node in the DIT.
Size of results = no. of entries * size of each entry
= 10000 * 1KB
= 10 MB
It will be a single LDAP request to read the complete subtree and all the
results should be returned from the server without any problems. Assume
that there are no sizelimit or timelimit exceeded errors returned from the
server, as it is already designed to return such big results.
myLDAP client program uses the openLDAP API and the server is an
commercially available server which is capable of sending big results.
Can myLDAP client program send a synchronous LDAP request? As the request
is a synchronous call, the result should be collected completely by the
openLDAP client software and then only it can be returned to myLDAP client
program. Isn't it? I'm afraid whether the openLDAP client software can
cause any buffer overflow error due to the big amount of data(10 MB or
maybe more than that).
Considering this problem(even if there is a possibility), I prefer to go
with the LDAP asynchronous request with which myLDAP client program can
keep polling for the result entries and retrieve them continuously. With
such a mechanism, the possibility of any buffer overflow problem is
completely avoided.
What is your opinion on this?
---
You are currently subscribed to [EMAIL PROTECTED] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the
SUBJECT of the message.