directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSERVER-635) Some search filters with combinations of OR and substrings do not work correctly
Date Thu, 03 Aug 2006 16:45:16 GMT
    [ http://issues.apache.org/jira/browse/DIRSERVER-635?page=comments#action_12425564 ] 
            
Alex Karasulu commented on DIRSERVER-635:
-----------------------------------------

Emmanuel may have fixed this so I'll try to confirm the bug is present or not.

> Some search filters with combinations of OR and substrings do not work correctly
> --------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-635
>                 URL: http://issues.apache.org/jira/browse/DIRSERVER-635
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0-RC3
>         Environment: ApacheDS 1.0 RC 3
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
> Microsoft Windows XP version 5.1 Service Pack 1
>            Reporter: Stefan Zoerner
>         Assigned To: Alex Karasulu
>
> Some search filters which use OR and substrings do not work correctly. If I import the
following two entries to the dc=example,dc=com partition
> dn: cn=Kate Bush,dc=example,dc=com
> objectclass: person
> objectclass: top
> sn: Bush
> cn: Kate Bush
> dn: cn=Tori Amos,dc=example,dc=com
> objectclass: person
> objectclass: top
> sn: Amos
> cn: Tori Amos
> the following two searches for instance provide wrong results, only one of the expected
two entries is returned in both cases:
> $ ldapsearch -h localhost -p 10389 -b "dc=example,dc=com" -s one "(|(cn=Kate*)(cn=Tori*))"
dn
> version: 1
> dn: cn=Tori Amos,dc=example,dc=com
> $ ldapsearch -h localhost -p 10389 -b "dc=example,dc=com" -s one "(|(cn=*Amos)(cn=Kate*))"
dn
> version: 1
> dn: cn=Kate Bush,dc=example,dc=com
> whereas the following similar searches work
> $ ldapsearch -h localhost -p 10389 -b "dc=example,dc=com" -s one "(|(cn=Kate Bush)(cn=Tori*))"
dn
> version: 1
> dn: cn=Kate Bush,dc=example,dc=com
> dn: cn=Tori Amos,dc=example,dc=com
> $ldapsearch -h localhost -p 10389 -b "dc=example,dc=com" -s one "(|(cn=*Amos))" dn
> version: 1
> dn: cn=Tori Amos,dc=example,dc=com

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message