Cannot modify or add an entry containing umlauts in DN
Status: Beta
Brought to you by:
sur5r
Hello,
we are using umlauts in our DNs and try to modify
some attributes of these entries, but following errors occure for
ou=Universität,ou=Departments,o=Universitaet Marburg,c=DE
"Error renaming entry"
or for
ou=Fb01,ou=Universität,ou=Departments,o=Universitaet Marburg,c=DE
"You can only change the RDN of the DN (FB01)"
Direct modification of Entries by LDIF-files works perfectly. It seems, that GQ has some coding problems to convert the DNs into their correct LDAP-representation.
Kind regards
Andreas
gq 1.2.2
openLDAP 2.2.23
Logged In: YES
user_id=76622
Originator: NO
Which codeset do you use on the LDAP server, are the entries encoded with UTF8 or with ISO-8859-1?
Logged In: NO
Hi,
we are using openLDAP 2.2.23. AFAIK, there exists no encoding option in the configuration of openLDAP.
All entries are encoded in UTF8.
regards
Andreas
Logged In: YES
user_id=76622
Originator: NO
Okay, can you provide a small ldif dump to get this reproducable?
Logged In: YES
user_id=302822
Originator: YES
Sorry, I didn't reported that the problem is solved. It's really trivial.
The locale setting of the console was wrong (de_DE.iso88591).
Setting locale to de_DE.utf8 before starting gq solved the problem.
bash> export LANG=de_DE.utf8
:)
Kind regards
A. Gabriel