Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C04E110127 for ; Mon, 17 Jun 2013 16:24:24 +0000 (UTC) Received: (qmail 53242 invoked by uid 500); 17 Jun 2013 16:24:24 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 52672 invoked by uid 500); 17 Jun 2013 16:24:24 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 52331 invoked by uid 99); 17 Jun 2013 16:24:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jun 2013 16:24:21 +0000 Date: Mon, 17 Jun 2013 16:24:21 +0000 (UTC) From: "Pierre-Arnaud Marcelot (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (DIRSTUDIO-848) Unable to open LDAP configuration editor when special chars are in ads-certificatePassword attribute MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRSTUDIO-848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre-Arnaud Marcelot resolved DIRSTUDIO-848. ---------------------------------------------- Resolution: Fixed Assignee: Pierre-Arnaud Marcelot This was an problem on ApacheDS (the server), which has been fixed now. > Unable to open LDAP configuration editor when special chars are in ads-certificatePassword attribute > ---------------------------------------------------------------------------------------------------- > > Key: DIRSTUDIO-848 > URL: https://issues.apache.org/jira/browse/DIRSTUDIO-848 > Project: Directory Studio > Issue Type: Bug > Components: studio-apacheds-configuration > Affects Versions: 2.0.0-M3 (2.0.0.v20120224) > Reporter: Richard Lowden > Assignee: Pierre-Arnaud Marcelot > Priority: Minor > > Exception thrown when trying to "open configuration" from connections view when LDAP server is configured for LDAPS and there is a '$' character in the ads-certificatePassword attribute. > The exception seems to indicate that the ads-certificatePassword attribute should be a PrintableString, however looking at it's definition through the schema it is a DirectoryString. > Error stack trace is (actual password has been changed slightly for security): > org.apache.directory.shared.ldap.model.exception.LdapInvalidAttributeValueException: ERR_04447_CANNOT_NORMALIZE_VALUE Cannot normalize the wrapped value ERR_04473_NOT_VALID_VALUE Not a valid value 'my$password' for the AttributeType 'ATTRIBUTE_TYPE ( 1.3.6.1.4.1.18060.0.4.1.2.309 > NAME 'ads-certificatePassword' > DESC The certificate passord > EQUALITY caseExactMatch > ORDERING caseExactOrderingMatch > SUBSTR caseExactSubstringsMatch > SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 > SINGLE-VALUE > USAGE userApplications > ) > ' > at org.apache.directory.shared.ldap.model.entry.AbstractValue.apply(AbstractValue.java:209) > at org.apache.directory.shared.ldap.model.entry.StringValue.(StringValue.java:102) > at org.apache.directory.shared.ldap.model.entry.DefaultAttribute.(DefaultAttribute.java:468) > at org.apache.directory.shared.ldap.model.entry.DefaultEntry.(DefaultEntry.java:314) > at org.apache.directory.studio.apacheds.configuration.v2.jobs.LoadConfigurationRunnable.readConfiguration(LoadConfigurationRunnable.java:358) > at org.apache.directory.studio.apacheds.configuration.v2.jobs.LoadConfigurationRunnable.getConfiguration(LoadConfigurationRunnable.java:182) > at org.apache.directory.studio.apacheds.configuration.v2.jobs.LoadConfigurationRunnable.run(LoadConfigurationRunnable.java:127) > at org.apache.directory.studio.common.core.jobs.StudioJob.run(StudioJob.java:83) > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) > Caused by: org.apache.directory.shared.ldap.model.exception.LdapInvalidAttributeValueException: ERR_04473_NOT_VALID_VALUE Not a valid value 'my$password' for the AttributeType 'ATTRIBUTE_TYPE ( 1.3.6.1.4.1.18060.0.4.1.2.309 > NAME 'ads-certificatePassword' > DESC The certificate passord > EQUALITY caseExactMatch > ORDERING caseExactOrderingMatch > SUBSTR caseExactSubstringsMatch > SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 > SINGLE-VALUE > USAGE userApplications > ) > ' > at org.apache.directory.shared.ldap.model.entry.AbstractValue.apply(AbstractValue.java:201) > ... 8 more -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira