简体   繁体   English

LDAP查询组中的组

[英]LDAP query for group in group

Is there a good way to write an LDAP query that checks group memberships recursively? 是否有编写LDAP查询以递归检查组成员身份的好方法? I have a custom attribute on a group that contains a list of objects (users and groups). 我在包含对象列表(用户和组)的组上有一个自定义属性。 My query works fine for users. 我的查询对用户正常。

Existing stripped down query 现有精简查询

(&(myList=cn=usr23453))

where myList is a multi-value DN. 其中myList是多值DN。

I apologize for use of incorrect terms and so on. 对于使用不正确的术语,我深表歉意。 AD and LDAP programming is kinda new to me. AD和LDAP编程对我来说有点新。

Thanks 谢谢

Not clear what you are tying to do, but, To Resolve nested security groups: 不清楚您打算做什么,但是要解决嵌套的安全组:

(memberOf:1.2.840.113556.1.4.1941:=CN=user,CN=Users,DC=DOM,DC=NT)

Where CN=user,CN=Users,DC=DOM,DC=NT is the Fully Distinguished name of a user entry. 其中CN = user,CN = Users,DC = DOM,DC = NT是用户条目的全名。

-jim -Jim

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM