Apache Directory Project - [jira] Updated: (DIRLDAP-35) LdapName comparison must be case-insensitive for attibutT

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > August 2005 > [jira] Updated: (DIRLDAP-35) LdapName comparison must be case-insensitive for attibutT





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Updated: (DIRLDAP-35) LdapName comparison must be case-insensitive for attibutT
Alex Karasulu (JIRA)

2005-08-30, 7:45 am

[ http://issues.apache.org/jira/brows...DAP-35?page=all ]

Alex Karasulu updated DIRLDAP-35:
---------------------------------

Fix Version: 0.9.3
(was: 0.9.2)

> LdapName comparison must be case-insensitive for attibutType
> ------------------------------------------------------------
>
> Key: DIRLDAP-35
> URL: http://issues.apache.org/jira/browse/DIRLDAP-35
> Project: Directory LDAP
> Type: Bug
> Components: Common
> Reporter: Emmanuel Lecharny
> Assignee: Vincent Tence
> Fix For: 0.9.3


>
> While comparing two DNs, the AttributeType of each RDN must be compared in a case-insensitive way : RFC 2251, chap. 4.1.4, par.4.
> It could be tricky to perform a valid comparison :
> A=V1+B=V2,C=GB and A=V1+b=V2,C=GB are equals in regards with the RFC,
> A=V1+B=V2,C=GB and A=V1+C=V2,C=GB are differents in regards with the RFC.
> LdapName.compareTo function does not return a valid result :
> Name n1 = new DnParser().parse("A=V");
> Name n2 = new DnParser().parse("a=V");
> int val = n1.compareTo(n2); // val = 0xffffffe0 instead of 0


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com