Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在活动目录中有一个组结构(一个主要组和子组)。
如何使用主组 DN 获取所有组的所有成员(用户)的列表?
我找到了许多为特定用户查找嵌套组的示例,但可以找到它是如何工作的。(我正在使用 C#)
谢谢!
使用“LDAP_MATCHING_RULE_IN_CHAIN”的搜索应该可以。类似于:(至少需要 Windows 2003 SP2):
(memberOf:1.2.840.113556.1.4.1941:=CN=Admin,OU=Security,DC=DOM,DC=NT)
-吉姆