[ 
https://issues.apache.org/jira/browse/DIRSERVER-826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467378
 ] 

Emmanuel Lecharny commented on DIRSERVER-826:
---------------------------------------------

I haved included the unit tests in the server (1.0.1 and 1.5.0 versions), and 
tests are just ok. Is the bug still present ? I guess no.


1.5.0 : 
http://svn.apache.org/viewvc?view=rev&rev=499793
http://svn.apache.org/viewvc?view=rev&rev=499794

1.0.1 :
http://svn.apache.org/viewvc?view=rev&rev=499787

> User or operational attributes are missing in search results, if both are 
> requested by a client
> -----------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-826
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-826
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.0.1, 1.5.0
>            Reporter: Stefan Zoerner
>         Assigned To: Emmanuel Lecharny
>         Attachments: SearchForOperationalAttributesTest.java
>
>
> I assume that fixing DIRSERVER-804 had an undesired side effect. Here are two 
> search ops, that work in the current 1.0.1 (default server.xml settings):
> $ ldapsearch -h localhost -p 10389 -D "uid=admin,ou=system" -w ****** -b 
> "ou=system" -s base "(ObjectClass=*)" +
> version: 1
> dn: ou=system
> createTimestamp: 20070113123859Z
> creatorsName: uid=admin,ou=system
> $ ldapsearch -h localhost -p 10389 -D "uid=admin,ou=system" -w ****** -b 
> "ou=system" -s base "(ObjectClass=*)" *
> version: 1
> dn: ou=system
> ou: system
> objectclass: top
> objectclass: organizationalUnit
> objectclass: extensibleObject
> $
> But if someone combines + and * in order to get all the attributes, s/he gets 
> this
> $ ldapsearch -h localhost -p 10389 -D "uid=admin,ou=system" -w ****** -b 
> "ou=system" -s base "(ObjectClass=*)" * +
> version: 1
> dn: ou=system
> createTimestamp: 20070113123859Z
> creatorsName: uid=admin,ou=system
> $ ldapsearch -h localhost -p 10389 -D "uid=admin,ou=system" -w ****** -b 
> "ou=system" -s base "(ObjectClass=*)" + *
> version: 1
> dn: ou=system
> ou: system
> objectclass: top
> objectclass: organizationalUnit
> objectclass: extensibleObject
> Either the operational or the user attributes are missing.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to