My Oracle Support Banner

Dbms_ldap.Get_values Fails With Ora-12703: This Character Set Conversion Is Not Supported (Doc ID 1128543.1)

Last updated on JANUARY 29, 2022

Applies to:

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


OID API function DBMS_LDAP.GET_VALUES fails when trying to retrieve value from Active Directory for attribute objectGUID, with:

        ORA-12703: this character set conversion is not supported
        ORA-06512: at "SYS.DBMS_LDAP", line 1417
        ORA-06512: at "SYS.DBMS_LDAP", line 579
        ORA-06512: at line 111

This line produces the error:

       my_vals := DBMS_LDAP.DBMS_LDAP.GET_VALUES(my_session, my_entry, my_attr_name);

This also fails:

       my_vals := DBMS_LDAP.NLS_CONVERT_TO_UTF8(DBMS_LDAP.GET_VALUES(my_session, my_entry, my_attr_name));

The objectGUID attribute is not retrieved as required.

NOTE: The SDK is not supported by Oracle unless the issue is reproduced against OID.


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

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