I can successfully write to my (secondary) directory using microsofts LDIFDE.exe. Some users have umlauts in their lastname, which are however not properly properly written onto the notes document (a block where the umlaut should be). I tried with Base64 enconding the lastname attribute, but no avail. Any other suggestions?
Subject: LDAP add and umlauts
I can successfully write to my (secondary) directory using microsofts LDIFDE.exe. Some users have umlauts in their lastname, which are however not properly properly written onto the notes document (a block where the umlaut should be). I tried with Base64 enconding the lastname attribute, but no avail. Any other suggestions?
The LDAP protocol uses Unicode with a UTF8 encoding (not base64 to encode strings).
According to Technical documentation | Microsoft Learn, LDIFDE uses the ASCII character set by default. There’s a description there of a -u switch which looks useful (I have not tried this).
BTW, be aware that if the secondary Domino directory is on a remote server, your application will get an LDAP referral back, to the server that “owns” the secondary. In R5 we failed to return the referral. This is described in our Lotusphere “ID114 IBM Lotus Notes and Domino 6.5 and 7 Directory Services Improvements” presentation (should be available to the public soon).
Good luck!
Subject: RE: LDAP add and umlauts
Thanks Ken, UTF did the job, umlauts are ok! However, I still don’t get friends with LDAP (less dan a pleasure)!