Issue Details (XML | Word | Printable)

Key: DIRSERVER-201
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Emmanuel Lecharny
Votes: 0
Watchers: 0
Operations

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

Unicode Attributes allowed in a DN (but not in the RFC 2253!)

Created: 04/Apr/05 10:41 AM   Updated: 31/Aug/06 08:00 AM
Return to search
Component/s: ldap
Affects Version/s: pre-1.0
Fix Version/s: pre-1.0

Time Tracking:
Not Specified

Resolution Date: 12/Aug/05 07:53 AM


 Description  « Hide
It is possible to send a PDU (A bind request, for instance) that has some Udincode character in the Attribute Type part of a DN :

"ś=śrasulu,dc=example,dc=com"

(sorry, for that Alex ;-)

The attribute value is perfectly correct, but the attribute type should not be accepted (Only ASCII are allowed).

Of course, as this attribute is not declared in a Schema, it won't work, but I'm not sure that you can't create a new entry for it in a schema.

I have not yet investigated the whole consequences of this issue, I don't know if it can break the server. (I gonna check)

However, if not, this bug entry will just be a reminder...

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #232182 Fri Aug 12 02:00:22 UTC 2005 akarasulu changes ...

 o added test case for DnParser with illegal expression to show it does not
   accept junk this was for Emmanuels test case, DIRLDAP-39 here:
        http://issues.apache.org/jira/browse/DIRLDAP-39
 o added some utility methods for dealing with composite name components
   which concatentate several attribute value pairs to form a name component
   using the '+'
 o added test cases for compareTo which corrects the bugs in DIRLDAP-36 here:
        http://issues.apache.org/jira/browse/DIRLDAP-36
 o also added corrective code to the equals() method which had the same issues
   as the compareTo() method
Files Changed
MODIFY /directory/shared/ldap/trunk/common/src/test/org/apache/ldap/common/name/LdapNameTest.java
MODIFY /directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/name/LdapName.java
MODIFY /directory/shared/ldap/trunk/common/src/test/org/apache/ldap/common/util/NamespaceToolsTest.java
MODIFY /directory/shared/ldap/trunk/common/src/test/org/apache/ldap/common/name/DnParserTest.java
MODIFY /directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/util/NamespaceTools.java

Alex Karasulu made changes - 12/Aug/05 06:46 AM
Field Original Value New Value
Fix Version/s 0.9.2 [ 12310220 ]
Alex Karasulu added a comment - 12/Aug/05 07:53 AM
This has been fixed long ago it seems.

Alex Karasulu made changes - 12/Aug/05 07:53 AM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Alex Karasulu made changes - 07/Feb/06 02:41 PM
Fix Version/s pre-1.0 [ 12310782 ]
Component/s ldap [ 12310715 ]
Component/s Common [ 11085 ]
Project Directory LDAP [ 10514 ] ApacheDS [ 12310260 ]
Key DIRLDAP-39 DIRSERVER-201
Affects Version/s pre-1.0 [ 12310782 ]
Fix Version/s 0.9.2 [ 12310220 ]
Emmanuel Lecharny added a comment - 31/Aug/06 08:00 AM
closed

Emmanuel Lecharny made changes - 31/Aug/06 08:00 AM
Status Resolved [ 5 ] Closed [ 6 ]