directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DIRSERVER-1744) Compex LDAP search filters returning unmatched objects
Date Tue, 02 Oct 2012 20:13:09 GMT

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

Emmanuel Lecharny resolved DIRSERVER-1744.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-M8

This was a bug deep i the Request decoder. The filters were not built correctly on the server.
Fixed with http://svn.apache.org/viewvc?rev=1393069&view=rev
Test added in http://svn.apache.org/viewvc?rev=1393068&view=rev
                
> Compex LDAP search filters returning unmatched objects
> ------------------------------------------------------
>
>                 Key: DIRSERVER-1744
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1744
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 2.0.0-M6
>         Environment: CentOS 5.6
>            Reporter: Richard Hardy
>             Fix For: 2.0.0-M8
>
>
> I used ApacheDirectoryStudio-linux-x86_64-2.0.0.v20120224 and created an Apache DS server
with it. The root DSE reported version of this server is 2.0.0-M6. 
> The same problem is also present in the Apache DS bundled with ApacheDirectoryStudio-linux-x86_64-1.5.3.v20100330
> I created the dc=example,dc=com context and the following group
> dn: cn=g1,dc=example,dc=com
> objectClass: groupOfNames
> objectClass: top
> member: dc=example,dc=com
> cn: g1
> I Searched with
> ldapsearch -x -h localhost -p 10389 -D uid=admin,ou=system -w secret -b dc=example,dc=com
'(&(objectclass=groupofnames)(owner=*))'
> nothing is returned which is correct
> ldapsearch -x -h localhost -p 10389 -D uid=admin,ou=system -w secret -b dc=example,dc=com
'(&(|(objectclass=groupofnames))(owner=*))'
> nothing is returned as expected
> ldapsearch -x -h localhost -p 10389 -D uid=admin,ou=system -w secret -b dc=example,dc=com
'(&(|(&(objectclass=groupofnames)))(owner=*))'
> the group g1 is returned which is not expected, and other directories do not return objects
with this same setup. The actual filters I want to use are more complicated than this, but
this is the simplest one that demonstrates the issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message