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 MARCH 08, 2017

Applies to:

Oracle Internet Directory - Version 10.1.2.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 26-June-2013***

Symptoms

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.

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


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.