[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: german "umalaut" won't work
Hi,
On Wednesday, 26. September 2001 07:38, Stephan Hendl wrote:
> recently I wanted to upgrade from 2.03 on SuSE 6.4 to 2.0.11 on SuSE 7.2
> and found that the insert of german "umlaut" into openldap gives errors.
>
> hendl@host# /opt/openldap/sbin/slapadd -v -l leer1.ldif -f slapd.conf
>
> slapadd: could not parse entry (line=51)
>
> line 51 from "leer1.ldif":
> postaladdress::
> TWluaXN0ZXJpdW0gZvxyIFN0YWR0ZW50d2lja2x1bmcsIFdvaG5lbiB1bmQgVmVya2VociBkZXM
>gTGFuZGVzIEJyYW5kZW5idXJn
I'm not fluent in BASE-64 so I have to guess:
May these Umlauts be encoded in ISO 8859-1? Note that the LDAP V3 specs say
that all characters have to be encoded in UTF-8. Maybe Syntax-checking in
openLDAP was still immature.
If this is the case you have to do a BASE-64 decoding of all BASE-64 encoded
strings (those with attribute:: Base-64-encoded-value), convert eberything
from ISO-8859-1 to UTF8 and reencode it with BASE-64 before writing it back
to your directory...
Yours
Stephan Siano
--
Stephan Siano Mail: Stephan.Siano@suse.de
SuSE Linux Solutions AG Phone: 06196 50951 31
Mergenthalerallee 45-47 Fax: 06196 409607
D-65760 Eschborn