[ http://issues.apache.org/jira/browse/DIRSERVER-715?page=all ]

Alex Karasulu closed DIRSERVER-715.
-----------------------------------

    Fix Version/s: 1.1.0
                   1.0-RC4
       Resolution: Fixed

Last bit's fixed by Emmanuel and we're golden.  Please confirm.

> Unable to match entry by X.509 certificate
> ------------------------------------------
>
>                 Key: DIRSERVER-715
>                 URL: http://issues.apache.org/jira/browse/DIRSERVER-715
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 1.0-RC3
>         Environment: Windows XP, Intel Pentium 4
>            Reporter: Nikola Goran Cutura
>         Assigned To: Alex Karasulu
>             Fix For: 1.1.0, 1.0-RC4
>
>         Attachments: LdapTest.java, no-binary.log, test-export.pem, 
> test.ldif, with-binary.log
>
>
> There is an entry containing valid X.509 certificate. When I attempt to find 
> that entry by that certificate, search fails. There are two variants of 
> search: one uses 'userCrtificate' attribute name and the other uses 
> 'userCrtificate;certificate' attribute name ('binary' may be specified 
> instead of 'certiifcate' - no change). Attached are log files produced in 
> each of the search attempts.
> Case 1:
> Java statement:
>         NamingEnumeration results = 
> ctx.search("ou=users,o=ActiveMQ,dc=example,dc=com", "userCertificate = {0}", 
> new Object[] {cert}, constraints);
> produces log as in file ' no-binary.log'
> Case 2:
> Java statement:
>         NamingEnumeration results = 
> ctx.search("ou=users,o=ActiveMQ,dc=example,dc=com", "userCertificate;binary = 
> {0}", new Object[] {cert}, constraints);
> produces log as in file 'with-binary.log'

-- 
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

        

Reply via email to