You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Joakim Ganse (JIRA)" <ji...@apache.org> on 2016/01/22 13:59:39 UTC

[jira] [Created] (DIRSTUDIO-1086) Ldap search filter with wildcard failes with certain attributes

Joakim Ganse created DIRSTUDIO-1086:
---------------------------------------

             Summary: Ldap search filter with wildcard failes with certain attributes
                 Key: DIRSTUDIO-1086
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1086
             Project: Directory Studio
          Issue Type: Bug
    Affects Versions: 2.0.0-M10 (2.0.0.v20151221-M10)
         Environment: Apache DS 2M8 to M10 tried running on Windows and connected to AD.
            Reporter: Joakim Ganse
            Priority: Minor


In AD there is an attibute called distinguishedName that is searchable if the search is either exact or "is present".
That is, these two searces are the only valid ones for finding a user called testuser:
(distinguishedName=CN=testuser,OU=Users,OU=org,DC=domain,DC=local)
(distinguishedName=*)

This filter failes:
(distinguishedName=*,OU=Users,OU=org,DC=domain,DC=local)

What I want to do is really to count all users in all containers called Teachers. like this:
(distinguishedName=*,OU=Teachers*)
since we have several schools in a big tree.

Not sure if this is a bug or just a behaviour of AD or if I need to write the search diffrently.

Thanks
Joakim



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)