directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen Weber (JIRA) <j...@apache.org>
Subject [jira] Created: (DIRSTUDIO-589) InvalidNameException: unexpected token for user ids starting with hash sign
Date Tue, 17 Nov 2009 09:52:39 GMT
InvalidNameException: unexpected token for user ids starting with hash sign
---------------------------------------------------------------------------

                 Key: DIRSTUDIO-589
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-589
             Project: Directory Studio
          Issue Type: Bug
    Affects Versions: 1.5.0
         Environment: z/OS LDAP Server
            Reporter: Jürgen Weber
            Priority: Critical


In our LDAP server we have user ids starting with hash sign (e.g. #123456)

On searching an existing user
(uid=\#123456)
 DS throws this exception. 
The search works with Jarek Gawor's browser 2.8.2  I believe it also worked with DS 1.4

!ENTRY org.apache.directory.studio.connection.core 4 4 2009-11-17 10:44:53.792
!MESSAGE Error while performing search
 - unexpected token: 123456
!SUBENTRY 1 org.apache.directory.studio.connection.core 4 4 2009-11-17 10:44:53.792
!MESSAGE javax.naming.InvalidNameException: unexpected token: 123456 [Root exception is line
1:6: unexpected token: 123456]
	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:55)
	at org.apache.directory.shared.ldap.name.LdapDnParser.parseInternal(LdapDnParser.java:97)
	at org.apache.directory.shared.ldap.name.LdapDN.<init>(LdapDN.java:205)
	at org.apache.directory.studio.ldapbrowser.core.utils.JNDIUtils.getDn(JNDIUtils.java:48)
	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.searchAndUpdateModel(SearchRunnable.java:331)
	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.run(SearchRunnable.java:184)
	at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:114)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: line 1:6: unexpected token: 123456
	at org.apache.directory.shared.ldap.name.AntlrDnParser.special(AntlrDnParser.java:1219)
	at org.apache.directory.shared.ldap.name.AntlrDnParser.pair(AntlrDnParser.java:932)
	at org.apache.directory.shared.ldap.name.AntlrDnParser.string(AntlrDnParser.java:777)
	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeValue(AntlrDnParser.java:517)
	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeTypeAndValue(AntlrDnParser.java:405)
	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedName(AntlrDnParser.java:229)
	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedNames(AntlrDnParser.java:307)
	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:51)
	... 7 more

!STACK 0
javax.naming.InvalidNameException: unexpected token: 123456 [Root exception is line 1:6: unexpected
token: 123456]
	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:55)
	at org.apache.directory.shared.ldap.name.LdapDnParser.parseInternal(LdapDnParser.java:97)
	at org.apache.directory.shared.ldap.name.LdapDN.<init>(LdapDN.java:205)
	at org.apache.directory.studio.ldapbrowser.core.utils.JNDIUtils.getDn(JNDIUtils.java:48)
	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.searchAndUpdateModel(SearchRunnable.java:331)
	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.run(SearchRunnable.java:184)
	at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:114)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: line 1:6: unexpected token: 123456
	at org.apache.directory.shared.ldap.name.AntlrDnParser.special(AntlrDnParser.java:1219)
	at org.apache.directory.shared.ldap.name.AntlrDnParser.pair(AntlrDnParser.java:932)
	at org.apache.directory.shared.ldap.name.AntlrDnParser.string(AntlrDnParser.java:777)
	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeValue(AntlrDnParser.java:517)
	at org.apache.directory.shared.ldap.name.AntlrDnParser.attributeTypeAndValue(AntlrDnParser.java:405)
	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedName(AntlrDnParser.java:229)
	at org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedNames(AntlrDnParser.java:307)
	at org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(ComplexLdapDnParser.java:51)
	... 7 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message