Hi All,

We are using Mozilla LDAP C SDK version 5.12. NSPR version 4.2.2. NSS
version 3.7.7

Mozilla documentation at http://www.mozilla.org/directory/csdk-docs/search.htm
specifies 3 feasible values for "all" parameter in ldap_result call.
They are LDAP_MSG_ONE, LDAP_MSG_ALL and LDAP_MSG_RECEIVED.

But, documentation at 
http://www.mozilla.org/directory/csdk-docs/function.htm#result
talks about only LDAP_MSG_ONE and LDAP_MSG_ALL.

For LDAP C SDK version that we are using (specified above), which of
the above documentation is correct?

If LDAP_MSG_RECEIVED is supported, then how is its behavior when some
time limit is specified in ldap_result call?

If "timeout" parameter indicates 5 seconds and "all" parameter
indicates LDAP_MSG_RECEIVED, then does LDAP C SDK behave as follows?
The call to ldap_result wait for 5 seconds, gather all entries till
that time, and return all of them in a chain. And return the chain
immediately, instead of waiting for 5 seconds to elapse, when the
final result message is obtained. And if no entry/final result is
obtained with in the allowed 5 seconds, then return 0 (timed out)
status.
--OR--
The call to ldap_result return a chain of results that are already
obtained from DS with out waiting to gather more in the allowed 5
seconds. And if no entry/final result is obtained with in the allowed
5 seconds, then return 0 (timed out) status.

If behavior is something else, can you please let me know how it will
be?

Thanks for your help,
Ramakrishna.

_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap

Reply via email to