In reply to carlos.

Hi Carlos, a bit late perhaps: a normal ldap query cannot accomplish this, you will not be able to load all users to the application.
What you likely need is to search your base using the global catalog, and apply a filter that will match your OU's (and thus your users).

Global catalog normally runs on port 3268 (plain) and 3268 (tls)