[ 
https://issues.apache.org/jira/browse/DIRSTUDIO-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Lecharny resolved DIRSTUDIO-1086.
------------------------------------------
    Resolution: Invalid

You can't search a distinguishedName using a '*'. The attributeType does not 
have a Substring MatchingRule.

> 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
>              Labels: features
>
> 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)

Reply via email to