[ https://issues.apache.org/jira/browse/DIRSERVER-1285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSERVER-1285: ----------------------------------------- Fix Version/s: (was: 1.5.5) 2.0.0-RC1 Summary: Quotes in DN are not handled correctly during normalization [was: Quotes in DN on simple binds causes referral error] (was: Quotes in DN on simple binds causes referral error) The real problem is that we do a pre-normalization during the DN parsing, where the quoted values are stored pristine into the normValue part, but any following normalization is done on the upValue, which still has the quote in it. As we have to keep the UpValue intact, we should not do normalization on this upValue, but on this pre-normalized value. However, the way escaped chars are handled is problematic, as we remove the '\' during the pre-normalization. We have to get rid of those problems, and this has to be done when we will refactor the full DN parsing, which has gone totally wild. Let's do that for 2.0 > Quotes in DN are not handled correctly during normalization [was: Quotes in DN on simple binds causes referral error] > --------------------------------------------------------------------------------------------------------------------- > > Key: DIRSERVER-1285 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1285 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 1.5.4 > Environment: Windows XP, embedded in another java app, jdk 1.6.0 > Reporter: Daniel Henninger > Assignee: Emmanuel Lecharny > Fix For: 2.0.0-RC1 > > > A user exists in my database: > uid=openfire,ou=users,ou=system > if I authenticate using that DN, everything is fine > if I authenticate using: > uid="openfire",ou="users",ou="system" > (or any iteration of the quotes) > I get an error: > LDAP: error code 49 - Bind principalDN points to referral. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.