quick question as I am racking my brain trying to figure this one out.. How do I search against a child domain in lieu of my parent?
right now my adpath just stipulates a AD server in my parent domain... ex: "LDAP://adserver.domain.net";
how would I search against a child domain instead? for example: childdomain.domain.net
------------
"We Don't look backwards for very long. We Keep moving Foward, opening up new doors and doing new things... and curiosity keeps leading us down new paths." - Walt Disney
If you specify LDAP://adserver.domain.net you will search against adserver, to search against childdomain you need to set the connection string to LDAP://childdomain.domain.net.
Member
3 Points
29 Posts
DirectorySearcher
Aug 20, 2014 02:24 PM|djtodd|LINK
quick question as I am racking my brain trying to figure this one out.. How do I search against a child domain in lieu of my parent?
right now my adpath just stipulates a AD server in my parent domain... ex: "LDAP://adserver.domain.net";
how would I search against a child domain instead? for example: childdomain.domain.net
"We Don't look backwards for very long. We Keep moving Foward, opening up new doors and doing new things... and curiosity keeps leading us down new paths." - Walt Disney
All-Star
35149 Points
9075 Posts
Re: DirectorySearcher
Sep 11, 2014 09:28 AM|smirnov|LINK
If you specify LDAP://adserver.domain.net you will search against adserver, to search against childdomain you need to set the connection string to LDAP://childdomain.domain.net.