I have a running Active Directory hosted on Windows Server 2003. Besides the built-in Users group, we have several OUs. Now, what should be the baseDN that includes the Users built-in container and the OUs?
Hate to answer myself but just using the DC= components from the baseDN string will load all objects, including users from several OUs. Now, I just have to find a way to filter out machine names and other objects.
Check out the “Custom Search Filter” feature in the LDAP documentation. You should be able to use a search filter to only load users and ignore machine names, other objects, etc.