we have a single forest two domains two sites 1 DC(win2k3) in each site.we also have 1 exchnage server on each site hundling its own domain
we are trying to implement the following:
we would like to run an LDAP query(internal query) on one server using port 3268 so we could get a reply with all the users email address within those two domains.
we were trying to query using "ldap admin 3" application using the following string(filter)
we could perform the query with no error to each of our DC(which is a GC server as well) but the results showed us email addresess only from the domain the DC is belong to.
my questions are:
1.in the end of the filter there is a "))(mail=*)(!(" which suppose to query all the email address on the entire directory as long as the domains are all in the same forest,am i right?
2.based on this MS article http://technet.microsoft.com/en-us/library/cc978012.aspx
"If you bind to port 3268, your search includes all directory partitions in the forest"
does that mean i will be able to query multiple CG servers in the same domain\forest?
or GC servers from any domain in the forest?
3.is that string(filter) looks correct to you guys?