我试图返回LDAP搜索,它应该返回我在活动目录中具有OU=groups所有条目,因为我没有得到预期的结果(通常我什么也得不到)。
过滤:( (ou:dn:=groups)
我知道通过正常方式搜索DN是不可能的,仍然可以在文件管理器中获取此信息的正确方法是什么,该文件管理器可以与Active Directory一起使用。
参考:
如何创建一个LDAP查询,只返回所有级别具有OU = Groups的组? http://confluence.atlassian.com/display/DEV/How+to+write+LDAP+search+filtersI tried to return LDAP search that should return me all entries that do have OU=groups on an active directory by I do not get the expected results (usually I get nothing).
Filter: (ou:dn:=groups)
I know that searching on DN is not possible by normal means, still what is the correct way of getting this information in a filer, one that would work with Active Directory.
Reference:
How can I make a LDAP query that returns only groups having OU=Groups from all levels? http://confluence.atlassian.com/display/DEV/How+to+write+LDAP+search+filters最满意答案
我不认为你可以在一次搜索中做到这一点。 您可以先查找名称OU = groups的所有组织单位,然后搜索每个OU。
它存在ExtensibleMatch ,它允许您想要执行的操作,但在Active-Directory中不支持它。
以下是Microsft支持的搜索过滤器语法的参考表格
I don't think that you can do that in one search. You can first look for all organizational units of the name OU=groups, and then make a search for each OU.
It exists ExtensibleMatch that allow what you want to do, but it's not supported in Active-Directory.
Here is the reference form Microsft supported Search Filter Syntax
更多推荐
发布评论