Opendj is able to create numeric Country Code

This topic has 1 reply, 2 voices, and was last updated 7 years, 6 months ago by Ludo.

  • Author
  • #3831

    We are able to initialize Opendj 2.6.1 search base country code with numeric values i.e.

    But there are other LDAP Server wont allow initializing with numeric country code for eg.
    MS Active Directory
    Sunone ODDSE
    Siemens Dirx

    According to International Organization for Standardization (ISO) , for country code it should allow only two alphabet code listed in following link.

    As per the documentation , Opendj compliant with LDAPV3 .so it shouldn’t allow for country code which is not listed in iSO-3166 especially in this case where country code can be numeric value.

    Let me know your thoughts.



    By default, OpenDJ does enforce that only 2 printable characters are allowed for the CountryCode syntax (c attribute).
    If you can specify different format / syntax, it means that you have disabled syntax checking for the whole OpenDJ server.

    For maintainability, as country codes are changing often, we are not checking that the 2 characters actually represent a valid country. We are just checking that they are 2 letters.

Viewing 2 posts - 1 through 2 (of 2 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?