| Chris Betts 2006-03-16, 8:45 pm |
| JXplorer should correctly encode non-english characters into UTF-8, =20
as per the spec; it's been tested with everything from French to =20
Chinese. "/ufffd' is a Java unicode character escape sequence, which =20=
should never be produced by JX, but might be produced by some Java =20
code somewhere that is trying to 'make safe' a UTF-8 string - this =20
would be consistent with the ' ' -> '%20' behaviour.
- Chris Betts (JX dev team)
On 13/03/2006, at 7:59 PM, Tony Blanchard (JIRA) wrote:
> [ http://issues.apache.org/jira/browse/DIRSERVER-591?=20
> page=3Dcomments#action_12370132 ]
>
> Tony Blanchard commented on DIRSERVER-591:
> ------------------------------------------
>
> Hi Emmanuel,
>
> I did not try with another tool because I have no other tool yet.
> Nevertheless, I found the problem on my client code and tried with =20
> JXplorer which has the same pb.
>
> I have seen something to tell you about to reproduce in JXplorer.
> First of all, I have ACLs enabled and forgot to tell about it in =20
> environment...
>
> In JXplorer, under groups as admin, create a new entry with classes =20=
> Top and groupOfUniqueNames.
> Enter the common name like "cn=3Dsecr=E9taire" and valiadate the =20
> creation box. In the right table of JXplorer, add as uniqueMember =20
> "uid=3Dadmin, ou=3Dsystem".
> Submit changes to LDAP server. It works and you can look at the =20
> entry event if you look another one and come back to "secr=E9taire".
> Now, log out and login as admin. Go to "secr=E9taire" and there is an =20=
> exception with these details :
>
>
> javax.naming.NameNotFoundException: [LDAP: error code 32 - failed =20
> on search operation:
> SearchRequest
> baseDn : 'cn=3Dsecr?taire,ou=3Dgroups,ou=3Dsystem'
> filter : '(objectClass=3D*) '
> scope : base object
> typesOnly : false
> no limit
> Time Limit : no limit
> Deref Aliases : deref Finding Base Obj
> attributes :
> :
> org.apache.directory.shared.ldap.exception.LdapNameNotFoundException: =20=
> Attempt to search under non-existant entry: cn=3Dsecr?=20
> taire,ou=3Dgroups,ou=3Dsystem
> at =20
> org.apache.directory.server.core.exception.ExceptionService.assertHasE=20=
> ntry(ExceptionService.java:377)
> at =20
> org.apache.directory.server.core.exception.ExceptionService.search=20
> (ExceptionService.java:353)
> at org.apache.directory.server.core.interceptor.InterceptorChain=20=
> $Entry$1.search(InterceptorChain.java:1257)
> at =20
> org.apache.directory.server.core.authz.AuthorizationService.search=20
> (AuthorizationService.java:899)
> at org.apache.directory.server.core.interceptor.InterceptorChain=20=
> $Entry$1.search(InterceptorChain.java:1257)
> at =
org.apache.directory.server.core.referral.ReferralService.search=20
> (ReferralService.java:905)
> at org.apache.directory.server.core.interceptor.InterceptorChain=20=
> $Entry$1.search(InterceptorChain.java:1257)
> at =20
> org.apache.directory.server.core.authn.AuthenticationService.search=20
> (AuthenticationService.java:388)
> at org.apache.directory.server.core.interceptor.InterceptorChain=20=
> $Entry$1.search(InterceptorChain.java:1257)
> at =20
> org.apache.directory.server.core.normalization.NormalizationService.se=20=
> arch(NormalizationService.java:180)
> at =20
> org.apache.directory.server.core.interceptor.InterceptorChain.search=20=
> (InterceptorChain.java:822)
> at =20
> org.apache.directory.server.core.partition.DirectoryPartitionNexusProx=20=
> y.search(DirectoryPartitionNexusProxy.java:461)
> at =20
> org.apache.directory.server.core.partition.DirectoryPartitionNexusProx=20=
> y.search(DirectoryPartitionNexusProxy.java:406)
> at org.apache.directory.server.core.jndi.ServerDirContext.search=20=
> (ServerDirContext.java:526)
> at =20
> org.apache.directory.server.ldap.support.SearchHandler.messageReceived=20=
> (SearchHandler.java:265)
> at =
org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived=20
> (DemuxingIoHandler.java:128)
> at org.apache.directory.server.ldap.LdapProtocolProvider=20
> $LdapProtocolHandler.messageReceived(LdapProtocolProvider.java:431)
> at org.apache.mina.common.support.AbstractIoFilterChain=20
> $2.messageReceived(AbstractIoFilterChain.java:189)
> at =20
> org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageRe=20=
> ceived(AbstractIoFilterChain.java:494)
> at =
org.apache.mina.common.support.AbstractIoFilterChain.access$1000=20
> (AbstractIoFilterChain.java:52)
> at =
org.apache.mina.common.support. AbstractIoFilterChain$EntryImpl=20[vbcol
=seagreen]
> $1.messageReceived(AbstractIoFilterChain.java:761)
> at org.apache.mina.filter.LoggingFilter.messageReceived=20
> (LoggingFilter.java:87)
> at =20
> org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageRe=20=[/vbcol]
> ceived(AbstractIoFilterChain.java:494)
> at =
org.apache.mina.common.support.AbstractIoFilterChain.access$1000=20
> (AbstractIoFilterChain.java:52)
> at =
org.apache.mina.common.support. AbstractIoFilterChain$EntryImpl=20[vbcol
=seagreen]
> $1.messageReceived(AbstractIoFilterChain.java:761)
> at =[/vbcol]
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived=20
> (ProtocolCodecFilter.java:91)
> at =20
> org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageRe=20=
> ceived(AbstractIoFilterChain.java:494)
> at =
org.apache.mina.common.support.AbstractIoFilterChain.access$1000=20
> (AbstractIoFilterChain.java:52)
> at =
org.apache.mina.common.support. AbstractIoFilterChain$EntryImpl=20[vbcol
=seagreen]
> $1.messageReceived(AbstractIoFilterChain.java:761)
> at org.apache.mina.filter.ThreadPoolFilter.processEvent=20
> (ThreadPoolFilter.java:665)
> at org.apache.mina.filter.ThreadPoolFilter$Worker.processEvents=20=[/vbcol]
> (ThreadPoolFilter.java:421)
> at org.apache.mina.filter.ThreadPoolFilter$Worker.run=20
> (ThreadPoolFilter.java:376)
> ]; remaining name 'cn=3Dsecr taire,ou=3Dgroups,ou=3Dsystem'
>
> If this is not enought to help i will try to install the tool you =20
> tell me about.
> Tony
>
>
[vbcol=seagreen]
>
[vbcol=seagreen]
[vbcol=seagreen]
[vbcol=seagreen]
>
> --=20
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the =20
> administrators:
> http://issues.apache.org/jira/secur...nistrators.jspa
> -
> For more information on JIRA, see:
> http://www.atlassian.com/software/jira
>
|