Dmitri Priimak wrote:
How would I know that there are no more results coming?
assuming you know it.
I was thinking that you call ldap_result until it returns NULL LDAPMessage.
why do you "think" when you can determine the actual behavior by reading the man page?
Is there some other way? May be the last non-null LDAPMessage includes something to tell that it is the last one?
Maybe yes, as indicated in the man page.
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it --------------------------------------- Office: +39 02 23998309 Mobile: +39 333 4963172 Email: pierangelo.masarati@sys-net.it ---------------------------------------