german umlauts in mail attribute

This topic has 2 replies, 2 voices, and was last updated 5 years, 4 months ago by mroseks.

  • Author
    Posts
  • #16749
     mroseks
    Participant

    Hello,

    I’m syncing users with openidm to opendj. Some users has german umlauts in the mailaddress.

    On sync or reconsilataton i get following errors:

    [LDAP: error code 21 – Entry “”uid=xxxx,ou=yyyy,dc=zzzz,dc=de”” contains a value “”xxxxä[email protected]”” for attribute mail that is invalid according to the syntax for that attribute: The provided value “”xxxxä[email protected]”” cannot be parsed as a valid IA5 string because it contains an illegal character “”-61″” that is not allowed in the IA5 (ASCII) character set];

    Is there a solution to change the ldap schema to allow this?

    One soltution is to use an own attribute for the mailaddress – i would avoid this.

    Thanks for any tip.

    Greetings from Potsdam/Germany
    Stefan

    #16783
     Ludo
    Moderator

    The mail attribute is defined in RFC 4524 as an IA5 String.
    There has been no revision of LDAP schema yet to allow internationalized email addresses, so the only options are to alter the definition of the mail attribute at the risk of breaking compatibility for some applications, use your own attribute or disable schema checking (but that will be applicable to all attributes).

    #16787
     mroseks
    Participant

    thanks Ludo,
    i think disabling the checking is no option. So i will check my applications if an alternate attribute is possible. If not i will test with altering the mail attribute.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?