You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Ovidiu Predescu <ov...@cup.hp.com> on 2000/09/06 19:44:30 UTC

Re: [PATCH] LdapProcessor.java fix for binary attributes

On Wed, 06 Sep 2000 19:01:35 +0200, Rainer Bieniek 
<Ra...@d2mannesmann.de> wrote:

> The problem is quite notorious in modern (V3)-Style LDAP-Schemes. For
> expample, our enterprise here will move to certificate based authentication
> / authorization and will use the LDAP directory for such purposes.
> 
> The included patch proved to be sufficient in our Netscape Directory Server
> environment.

It's not only the content of the attributes in the LDAP server, also the
attribute names seem to be have problems as they may contain weird characters.
For example on HP's LDAP server there's an attribute named 'certificate;binary'
which of course is not a valid XML element name.

Your patch addresses attributes whose values are binary, while my patch takes
care of weird names. I created a combined patch that eliminates both problems.
Maybe a better fix would be to translate the LDAP attribute names in valid XML
element names, but since I don't care about the content anyway I just throw
them away.

Regards,
-- 
Ovidiu Predescu <ov...@cup.hp.com>
http://orion.nsr.hp.com/ (inside HP's firewall only)
http://www.geocities.com/SiliconValley/Monitor/7464/