Cross Domain Ldap Query
Is this possible to do.
Cross domain ldap query. Find a group and return all the members of that group. Cross forest ldap query and sub domains. There were two problems with the existing c code.
You will need to use a different synchronous bind method to cross forests. We are currently having issues querying both the forest domain and the subdomain. The query was very simple.
The ldap simple bind function is designed to bind to the local domain. I recently needed to fix some ldap queries using directoryentry and directorysearcher. In order to get this to work i explicitly provide the fqdn of an internal dc in my ldap connection string.
The function cannot be used for cross forest authentication. See the ldap bind s docs for more details. The group dn distinguished name was hard.
Follow answered jan 13 11 at 4 55. How do i go about writing an ldap query that asks one dc to go ask another dc for a list of users. Querying groups and users across multiple domains with ldap in c net 26 mar 2012.
Solved cross domain ldap. Here are some web articles and threads talking on similar topics.