Menu

#104 Cannot modify or add an entry containing umlauts in DN

1.2.x
open
nobody
None
5
2006-12-12
2006-12-12
No

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

Discussion

  • Sven Herzberg

    Sven Herzberg - 2006-12-17

    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?

     
  • Nobody/Anonymous

    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

     
  • Sven Herzberg

    Sven Herzberg - 2008-01-23

    Logged In: YES
    user_id=76622
    Originator: NO

    Okay, can you provide a small ldif dump to get this reproducable?

     
  • Andreas Gabriel

    Andreas Gabriel - 2008-01-23

    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

     

Log in to post a comment.

MongoDB Logo MongoDB