You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Tino Schwarze <ap...@tisc.de> on 2007/01/02 12:24:45 UTC
Re: UTF-8 woes
On Sat, Dec 30, 2006 at 02:25:21PM +0100, Emmanuel Lecharny wrote:
> >>In the meantime, ust use getUpName().
> >I'll try that and see what I get (next year).
> FYI, I have tested you test case using getUpName() and it works.
Now I have correct SearchResults with correct names in them. But
JXplorer still shows "Auftr%c3%a4ge" instead of Aufträge, so I still
need a decodeValue method before searching. Looking at the wire protocol
with Ethereal, I see that everything is correctly transmitted in UTF-8,
so I suppose, it's a JXplorer issue.
Are there other issues known with UTF-8 characters and LDAP clients?
Bye,
Tino.
--
www.quantenfeuerwerk.de
www.spiritualdesign-chemnitz.de
www.lebensraum11.de
Re: LDAP Studio (was: Re: UTF-8 woes)
Posted by Emmanuel Lecharny <el...@gmail.com>.
This is maybe because you give an empty base DN. Doing so will get you the
rootDSE. Try to enter 'ou=system' or 'o=community4you.de' as a base DN.
I don't remember if there is a way to get the list of possible DIT as in
LdapBrowser (Fetch DN stuff).
If not, then this is something missing.
On 1/2/07, Tino Schwarze <ap...@tisc.de> wrote:
>
> On Tue, Jan 02, 2007 at 01:40:07PM +0100, Emmanuel Lecharny wrote:
>
> > If you want to test bleeding-edge software, just try LdapStudio :
> > http://cwiki.apache.org/DIRxSTUDIO/
> >
> > It can be found in trunks (ldapstudio sub-project) and it works either
> as an
> > eclipse plugin or as an RCP application.
>
> The RCP application is working fine, but I can't access my test server.
> I can access an existing OpenLDAP server correctly, but if I access my
> ApacheDS test server, it doesn't show me the
> ou=system
> o=community4you.de
> root entries, but just a "RootDSE" which cannot be expanded any further.
> Neither JXplorer nor GQ had any difficulties with this. I'm in the
> Browser perspective btw.
>
> BTW: I can expand my tree and see "Aufträge" in GQ correctly, but fail
> to expand any sub-entry below (not only below Aufträge). My partition
> doesn't seem to be called at all.
>
> Thanks for hints,
>
> Tino.
>
> --
> www.quantenfeuerwerk.de
> www.spiritualdesign-chemnitz.de
> www.lebensraum11.de
>
--
Cordialement,
Emmanuel Lécharny
www.iktek.com
LDAP Studio (was: Re: UTF-8 woes)
Posted by Tino Schwarze <ap...@tisc.de>.
On Tue, Jan 02, 2007 at 01:40:07PM +0100, Emmanuel Lecharny wrote:
> If you want to test bleeding-edge software, just try LdapStudio :
> http://cwiki.apache.org/DIRxSTUDIO/
>
> It can be found in trunks (ldapstudio sub-project) and it works either as an
> eclipse plugin or as an RCP application.
The RCP application is working fine, but I can't access my test server.
I can access an existing OpenLDAP server correctly, but if I access my
ApacheDS test server, it doesn't show me the
ou=system
o=community4you.de
root entries, but just a "RootDSE" which cannot be expanded any further.
Neither JXplorer nor GQ had any difficulties with this. I'm in the
Browser perspective btw.
BTW: I can expand my tree and see "Aufträge" in GQ correctly, but fail
to expand any sub-entry below (not only below Aufträge). My partition
doesn't seem to be called at all.
Thanks for hints,
Tino.
--
www.quantenfeuerwerk.de
www.spiritualdesign-chemnitz.de
www.lebensraum11.de
Re: LDAP Studio (was: Re: UTF-8 woes)
Posted by Emmanuel Lecharny <el...@gmail.com>.
oops, I didn't noticed that the link was broken... Fixed !
Thanks for the heads up !
On 1/2/07, Tino Schwarze <ap...@tisc.de> wrote:
>
> On Tue, Jan 02, 2007 at 01:40:07PM +0100, Emmanuel Lecharny wrote:
> > Yeah, JExplorer might be buggy...
> >
> > If you want to test bleeding-edge software, just try LdapStudio :
> > http://cwiki.apache.org/DIRxSTUDIO/
>
> Thanks, I'll have a look. BTW: Ivy seems to be a bit difficult to get,
> currently. The download-link in the Wiki is broken. This one works:
> http://www.jaya.free.fr/ivy/download.html
>
> HTH,
>
> Tino.
>
> --
> www.quantenfeuerwerk.de
> www.spiritualdesign-chemnitz.de
> www.lebensraum11.de
>
--
Cordialement,
Emmanuel Lécharny
www.iktek.com
Re: LDAP Studio (was: Re: UTF-8 woes)
Posted by Emmanuel Lecharny <el...@gmail.com>.
Yes, Ivy repos is sometime down or overloaded. But as Ivy is becoming an
apache project (being incubated atm), this will soon not be a problem
anymore :)
On 1/2/07, Tino Schwarze <ap...@tisc.de> wrote:
>
> On Tue, Jan 02, 2007 at 01:40:07PM +0100, Emmanuel Lecharny wrote:
> > Yeah, JExplorer might be buggy...
> >
> > If you want to test bleeding-edge software, just try LdapStudio :
> > http://cwiki.apache.org/DIRxSTUDIO/
>
> Thanks, I'll have a look. BTW: Ivy seems to be a bit difficult to get,
> currently. The download-link in the Wiki is broken. This one works:
> http://www.jaya.free.fr/ivy/download.html
>
> HTH,
>
> Tino.
>
> --
> www.quantenfeuerwerk.de
> www.spiritualdesign-chemnitz.de
> www.lebensraum11.de
>
--
Cordialement,
Emmanuel Lécharny
www.iktek.com
LDAP Studio (was: Re: UTF-8 woes)
Posted by Tino Schwarze <ap...@tisc.de>.
On Tue, Jan 02, 2007 at 01:40:07PM +0100, Emmanuel Lecharny wrote:
> Yeah, JExplorer might be buggy...
>
> If you want to test bleeding-edge software, just try LdapStudio :
> http://cwiki.apache.org/DIRxSTUDIO/
Thanks, I'll have a look. BTW: Ivy seems to be a bit difficult to get,
currently. The download-link in the Wiki is broken. This one works:
http://www.jaya.free.fr/ivy/download.html
HTH,
Tino.
--
www.quantenfeuerwerk.de
www.spiritualdesign-chemnitz.de
www.lebensraum11.de
Re: UTF-8 woes
Posted by Norval Hope <nr...@gmail.com>.
> Now I have correct SearchResults with correct names in them. But
> JXplorer still shows "Auftr%c3%a4ge" instead of Aufträge, so I still
> need a decodeValue method before searching. Looking at the wire protocol
> with Ethereal, I see that everything is correctly transmitted in UTF-8,
> so I suppose, it's a JXplorer issue.
>
> Are there other issues known with UTF-8 characters and LDAP clients?
>
Sounds possible that you are running into a problem due to a DN being
expressed as part of an LDAP URL. The Sun JNDI client uses URLs in
search results if you do a search under a base and then get search
results with DNs which don't fall under this base (I have seen this
problem when I have bugs writing search results from a custom
partition). In particular one of these things need to be true:
1. search results need to start with the base DN used for the search or
2. search results need to have isRelative(true).
When neither of these two things is true the Sun JNDI client seems to
assume that the result must have resulted from a referral and a DN
like "name=fred, dc=acme" becomes "ldap://host:port//name=fred,
dc=acme" and URL encoding is applied to RDN value.
JX then tries to represent the LDAP URL in a sensible format an you
get extraneous % chars from the URL encoding.
Maybe this is what you are seeing.
Re: UTF-8 woes
Posted by Emmanuel Lecharny <el...@gmail.com>.
Yeah, JExplorer might be buggy...
If you want to test bleeding-edge software, just try LdapStudio :
http://cwiki.apache.org/DIRxSTUDIO/
It can be found in trunks (ldapstudio sub-project) and it works either as an
eclipse plugin or as an RCP application.
It has not been released yet, but will be soon.
Happy new year !
On 1/2/07, Tino Schwarze <ap...@tisc.de> wrote:
>
> On Sat, Dec 30, 2006 at 02:25:21PM +0100, Emmanuel Lecharny wrote:
>
> > >>In the meantime, ust use getUpName().
>
> > >I'll try that and see what I get (next year).
>
> > FYI, I have tested you test case using getUpName() and it works.
>
> Now I have correct SearchResults with correct names in them. But
> JXplorer still shows "Auftr%c3%a4ge" instead of Aufträge, so I still
> need a decodeValue method before searching. Looking at the wire protocol
> with Ethereal, I see that everything is correctly transmitted in UTF-8,
> so I suppose, it's a JXplorer issue.
>
> Are there other issues known with UTF-8 characters and LDAP clients?
>
> Bye,
>
> Tino.
>
> --
> www.quantenfeuerwerk.de
> www.spiritualdesign-chemnitz.de
> www.lebensraum11.de
>
--
Cordialement,
Emmanuel Lécharny
www.iktek.com