My Oracle Support Banner

OUD: Adding Entry with Foreign Character in Mail Attribute (e.g. Ñ or ñ) Fails with "Invalid syntax (21)" / "The provided value cannot be parsed as valid string because it contains an illegal character that is not allowed in the IA5 (ASCII) character set" (Doc ID 2508241.1)

Last updated on JANUARY 03, 2024

Applies to:

Oracle Unified Directory - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

Adding an entry with mail attribute value including foreign character such as ñ fails with:

ldapadd -h <HOSTNAME> -p <PORT> -D cn="<DS_ADMIN>" -f ~/user.ldif -w <PASSWORD>

ldap_add: Invalid syntax (21)
  additional info: Entry "uid=<USERNAME>,dc=SUFFIX_DN" contains a value "<EMAIL>" for attribute mail that is invalid according to the syntax for that attribute: The provided value "<EMAIL>" cannot be parsed as valid string because it contains an illegal character that is not allowed in the IA5 (ASCII) character set

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.