Issue Details (XML | Word | Printable)

Key: DIRSERVER-634
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Emmanuel Lecharny
Reporter: Stefan Zoerner
Votes: 0
Watchers: 0
Operations

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

Delete with illegal DN causes client to hang

Created: 05/Jun/06 11:42 PM   Updated: 25/Sep/07 10:02 PM
Return to search
Component/s: None
Affects Version/s: 1.0-RC3
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Java Source File DeletionWithIllegalNameTest.java 2006-06-06 12:04 AM Stefan Zoerner 2 kB
File DIRSERVER-634.ldif 2006-07-30 06:42 PM Stefan Zoerner 0.2 kB
Text File DIRSERVER-634.log 2006-07-30 06:44 PM Stefan Zoerner 111 kB
Environment:
Sun ONE Directory SDK for Java 4.1
ApacheDS 1.0 RC 3
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Microsoft Windows XP version 5.1 Service Pack 1

Resolution Date: 22/Aug/06 11:40 PM


 Description  « Hide
A delete operation with an invalid DN causes the client to hang. The expected result is LDAP error code 34 (INVALID_DN_SYNTAX) (preferred), or 32 (NO_SUCH_OBJECT). For instance I tried to delete DN "This is an illegal name,dc=example,dc=com" (no attribute name in RDN).

Unfortunately, I was not able to create this situation with JNDI. Its LDAP Provider seems to ignore such an operation, there is no Exception at all. A Java test case created with Sun ONE Directory SDK for Java caused the client to hang, and does not produce the result code expected. I'll attach it to this issue.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Stefan Zoerner made changes - 06/Jun/06 12:04 AM
Field Original Value New Value
Attachment DeletionWithIllegalNameTest.java [ 12335040 ]
Emmanuel Lecharny made changes - 30/Jul/06 04:45 PM
Resolution Won't Fix [ 2 ]
Status Open [ 1 ] Resolved [ 5 ]
Stefan Zoerner made changes - 30/Jul/06 06:42 PM
Attachment DIRSERVER-634.ldif [ 12337786 ]
Stefan Zoerner made changes - 30/Jul/06 06:44 PM
Attachment DIRSERVER-634.log [ 12337787 ]
Emmanuel Lecharny made changes - 30/Jul/06 09:20 PM
Resolution Won't Fix [ 2 ]
Status Resolved [ 5 ] Reopened [ 4 ]
Alex Karasulu made changes - 03/Aug/06 04:14 PM
Assignee Alex Karasulu [ akarasulu ]
Alex Karasulu made changes - 03/Aug/06 04:14 PM
Status Reopened [ 4 ] In Progress [ 3 ]
Alex Karasulu made changes - 03/Aug/06 04:28 PM
Assignee Alex Karasulu [ akarasulu ] Emmanuel Lecharny [ elecharny ]
Emmanuel Lecharny made changes - 22/Aug/06 11:40 PM
Status In Progress [ 3 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Stefan Zoerner made changes - 23/Aug/06 08:25 PM
Status Resolved [ 5 ] Closed [ 6 ]