directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Lowden (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRSTUDIO-848) Unable to open LDAP configuration editor when special chars are in ads-certificatePassword attribute
Date Wed, 14 Nov 2012 09:02:11 GMT
Richard Lowden created DIRSTUDIO-848:
----------------------------------------

             Summary: 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
            Reporter: Richard Lowden
            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.<init>(StringValue.java:102)
	at org.apache.directory.shared.ldap.model.entry.DefaultAttribute.<init>(DefaultAttribute.java:468)
	at org.apache.directory.shared.ldap.model.entry.DefaultEntry.<init>(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

Mime
View raw message