Erich Titl writes: > dn: cn=Susanne Bösch,dc=granella-holding,dc=ch You must convert all non-ASCII characters to UTF-8. You don't need to base64-encode them afterwards, though it doesn't hurt. In Perl, you can convert with s/([\200-\377])/pack('CC', 0xC0 + (ord($1) >> 6), (ord($1) & 0xBF))/ge; -- Hallvard