LDAP查询以查找特定用户所属的所有DL

时间:2015-07-06 11:37:38

标签: ldap

我们正在使用Spring LDAP,我们成功地使用查询(&(objectCategory=Group)(proxyAddresses=*))

查找来自AD的所有DL

我们也在尝试查找特定用户所属的所有DL,但我们无法找到它。我们尝试了以下查询。

  1. (&(objectCategory=Group) (member=CN=John Doe, CN=Users,OU=Unit1, DC=mydomain, DC=com))
  2. (&(objectCategory=*) (sAMAccountName=xy12345))
  3. Spring LDAP代码段:

    List results =  ldapTemplate.search("DC=mydomain, DC=com", "LDAP Query", new AttributesMapper() {
        ....
    };
    

0 个答案:

没有答案
相关问题