You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Ersin Er (JIRA)" <ji...@apache.org> on 2006/08/23 12:20:15 UTC

[jira] Commented: (DIRSERVER-715) Unable to match entry by X.509 certificate

    [ http://issues.apache.org/jira/browse/DIRSERVER-715?page=comments#action_12429952 ] 
            
Ersin Er commented on DIRSERVER-715:
------------------------------------

If possible a junit test case would also be good.

Thanks Nikola.

> 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
>         Attachments: no-binary.log, 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