Cross Domain Ldap Query
Active 7 years 11 months ago.
Cross domain ldap query. I recently needed to fix some ldap queries using directoryentry and directorysearcher. More information there might be more information for this subject on one of the following. January 19 2011 rbeltech leave a comment go to comments. I had a requirement to query users over an external trust between two ad forests so here it is.
We have an application server on the internal domain which needs to use an ldap query to gather a list of. For example you want to perform a simple ldap query to search for users in ad which have the user must change password at next logon option enabled. Viewed 9k times 0. The code for this ldap query is as follows.
For a system we are developing we have 2 domains an internal and an external domain with bi directional trust between them. Any cross domain authentication is done with some type of federated identity management often using a identity broker. There were two problems with the existing c code. Ie dc mad dc willeke dc com unless noted otherwise.
Querying groups and users across multiple domains with ldap in c net 26 mar 2012. The group dn distinguished name was hard. Microsoft active directory search filters limitations. The query was very simple.
Find a group and return all the members of that group. This is one of several ldap query examples. This line came up automaticly once i clicked the button called fetch base dns it will auto complete one partition from the forest root cn configuration dc mrssi dc biz. Home active directory adsi ldap microsoft scripting vbscript wmi cross forest user lookup ldap query script cross forest user lookup ldap query script.
Mike im using ldap admin tool version 3 0 in the filed named base dn my line is cn configuration dc mrssi dc biz when mrssi biz is the forest root domain.