ldap查询组成员 [英] ldap query for group members
本文介绍了ldap查询组成员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试进行LDAP查询,以获取我所有组/成员的列表.我不知道该怎么办.我所有的尝试都没有成功.
I'm trying to make an LDAP query, to get a list from all my groups/members. I can't figure out how can i do this. All my tries were unsuccesfull.
我的广告树":mydomain.local/Mybusiness/Distribution Groups/这是我的组
My "AD tree": mydomain.local/Mybusiness/Distribution Groups/ here are my groups
我尝试过这样的事情:
(objectCategory=user)
(memberOf=CN=Distribution Groups,OU=Mybusiness,DC=mydomain.local,DC=com)
如果有人可以帮助我编写ldap查询,该查询列出了我的组和该组的成员,则表示感谢.
I appreciate if somebody could help me to write an ldap query, which gives a list with my groups and the members of this groups.
推荐答案
查询应为:
(&(objectCategory=user)(memberOf=CN=Distribution Groups,OU=Mybusiness,DC=mydomain.local,DC=com))
您错过了& 和()
这篇关于ldap查询组成员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文