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

Using ldap_search() to export all users?

Forgive the boring newbie question.  I'm writting a  small utility using
the C SDK to export certain fields from every user in ldap to text.  The
problem with using ldap_search() w/ filter of (objectclass=*) is I have
to assume the whole directory is less than ld_sizelimit (500).
How do I loop through the complete directory to export everyone
regarless of sizelimit?
Do I need to basically keep a placeholder of the record read, and read
one at a time?

If anyone could point me to some code that does the same thing, that'd
be great.