LDAP query returns data in parent domain but not from child domain



My query:
select objectSid from 'LDAP://dc=child,dc=company,dc=com' where memberof =
'CN=GatdWillHamatyU,CN=Users,DC=child,DC=company,DC=com'

This format work fine for querying membership of groups in
DC=company,DC=com' where my user account resides.

One thing I suspected was that I needed to tell the query where to bind so I
modified it to be:
select objectSid from 'LDAP://child.company.com/dc=child,dc=company,dc=com'
where memberof = 'CN=GatdWillHamatyU,CN=Users,DC=child,DC=company,DC=com'.

This also failed. I even used a FQDN of a domain controller in the child
domain.

How should I structure the ADO connection and LDAP SQL dialect query to list
the full membership of all groups in a child domain? Incidentally my computer
is currently in the child domain.

.



Relevant Pages

  • Re: LDAP query in a Root Domain with a Single-Label DNS Name
    ... May I know the reason as to why my LDAP query was unable to get the 2 child ... domain records on a root domain with single-label DNS name?? ... Child Domain - 1 ...
    (microsoft.public.windows.server.active_directory)
  • Problem with LDAP query to resolve Email-address in C# app.
    ... My Organization have a primary domain controller and 5 child domain. ... My Problem is that the addresses i retrieve with this query is not the ... In the Exchange System Manager i retrieveall the addresses ...
    (microsoft.public.exchange.applications)
  • Re: Problem with LDAP query to resolve Email-address in C# app.
    ... using a query based on the purportedSearch is not a good thing. ... My Organization have a primary domain controller and 5 child domain. ... My Problem is that the addresses i retrieve with this query is not the ... In the Exchange System Manager i retrieveall the addresses ...
    (microsoft.public.exchange.applications)
  • Re: LDAP query in a Root Domain with a Single-Label DNS Name
    ... the child domains do exist under the root in that way. ... exist as crossref objects in the forest wide configuration naming context. ... Alternatively you could run a query against a Global Catlog (default port ... Child Domain - 1 ...
    (microsoft.public.windows.server.active_directory)
  • Re: LDAP query returns data in parent domain but not from child domain
    ... This format work fine for querying membership of groups in ... DC=company,DC=com' where my user account resides. ... How should I structure the ADO connection and LDAP SQL dialect query to ... the full membership of all groups in a child domain? ...
    (microsoft.public.windows.server.scripting)