In my AD forest i have one primary domain and three child domains.
Is there any way to query forest to search in all domains controllers to chek if user is memberof a group?
I already try ldap bind + search, but using this method i need to query each domain individual.
I also try ldap bind + search to global catalog, but global catalog don't get all the information from the childs domains, special group members.
So is there any way to search the entire forest without need to contact each domain controller?
If not possible by ldapsearch, someone can guide me the correct way?
Thanks in advance
André Bolinhas
You could try ldapsearch against the Global Catalog .
A Global Catalog server is a Domain Controller that stores Global Catalog information; its database stores rows for every object in the AD Forest instead of rows for only the objects in one AD DOMAIN.
Characteristics of Global Catalog
There are also several dsquery commands that might work.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.