Quantcast
Viewing all articles
Browse latest Browse all 31638

Forest LDAP Query seeing all sub domains


Hi there,
Does anyone know if the following scenario is possible?
I have a domain Forest A has two sub domains, say domain x and y (two way trust) and are replicated.
root:dc=domain,dc=com
child 1: dc=x,dc=domain,dc=com
child 2: dc=y,dc=domain,dc=com

I want to be able to do an ldap query from root domain with scope as subtree but only need results from the root domain. When I am trying to search it is giving all records from the forest.

ex: searching for user1 under root
result should be : cn=user1,ou=people,dc=domain,dc=com
  
  should not be :cn=user1,ou=people,dc=domain,dc=com
cn=user1,ou=people,dc=x,dc=domain,dc=com
cn=user1,ou=people,dc=y,dc=domain,dc=com

Thanks

Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>