[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldapsearch, values with trailing whitespace (ITS#1321)
On Fri, Sep 07, 2001 at 08:03:02AM +0000, hharnisch@hbv.de wrote:
> When I return an Attribute with 2 trailing spaces as a result to
> a search-request, the ldapsearch-client (from openldap) does not
> show the result in an appropriate way. E.g. instead of
> cNAMERecord: www.bauer.com
> I get
> cNAMERecord:: d3d3LmJhdWVyLmNvbSAg
> The surrounding attributes are all okay. When I strip off the
> whitespace in my search-shell-backend everything is fine.
>
> Other Ldapclient (e.g. gq, lbe) show the right values with or
> without trailing spaces.
You get the value in base64, this may not be a good thing, but OTOH it
is hard to know that the value includes trailing spaces if the string
is simply printed.
So it is not a bug in my opinion. Perhaps ldapsearch should have an
option for never base64 encoding values....
Stig