Issue Details (XML | Word | Printable)

Key: DIRSERVER-715
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alex Karasulu
Reporter: Nikola Goran Cutura
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

Unable to match entry by X.509 certificate

Created: 23/Aug/06 10:12 AM   Updated: 04/Sep/06 07:08 PM
Return to search
Component/s: ldap
Affects Version/s: 1.0-RC3
Fix Version/s: 1.5.0, 1.0-RC4

Time Tracking:
Not Specified

File Attachments:
  Size
Java Source File Licensed for inclusion in ASF works LdapTest.java 2006-08-23 03:16 PM Nikola Goran Cutura 5 kB
Text File no-binary.log 2006-08-23 10:12 AM Nikola Goran Cutura 77 kB
File Licensed for inclusion in ASF works test-export.pem 2006-08-23 03:16 PM Nikola Goran Cutura 0.8 kB
File Licensed for inclusion in ASF works test.ldif 2006-08-23 03:16 PM Nikola Goran Cutura 3 kB
Text File with-binary.log 2006-08-23 10:12 AM Nikola Goran Cutura 50 kB
Environment: Windows XP, Intel Pentium 4
Issue Links:
Reference
 

Resolution Date: 27/Aug/06 08:07 AM


 Description  « Hide
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'



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.