OUD to Active Directory (AD) - Unable to Synchronize Multi-byte Values
(Doc ID 2396404.1)
Last updated on DECEMBER 15, 2022
Applies to:
Oracle Internet Directory - Version 11.1.1.9.0 to 12.2.1.3.0 [Release 11g to 12c]Oracle Unified Directory - Version 11.1.2.3.0 to 12.2.1.3.0 [Release 11g to 12c]
Information in this document applies to any platform.
Symptoms
When doing data synchronization between OUD and Active Directory (AD) using DIP and modifying user attributes of OUD to multi-byte characters, it will result in an error in DIP and can not be synchronized.
I.E.
Run ldapmodify to change the user entry attribute value to multi-byte characters -
# ldapmodify -D cn=directory\ manager -w <PASSWORD>
dn: uid=oracle0001,ou=people,dc=SUFFIX_DN
changetype: modify
replace: givenName
givenName: あいうえお
modifying entry uid=oracle0001,ou=people,dc=SUFFIX_DN
#
dn: uid=oracle0001,ou=people,dc=SUFFIX_DN
changetype: modify
replace: givenName
givenName: あいうえお
modifying entry uid=oracle0001,ou=people,dc=SUFFIX_DN
#
At that time, the following error is output to the DIP log.
<DIP log>
[wls_ods1] [ERROR] [DIP-10005] [oracle.dip.oud2ad] [tid: oracle.ldap.odip.web.DIPSyncWriterThread] [userId: ] [ecid: ECID] [APP: DIP] [partition-name: DOMAIN] [tenant-name: GLOBAL] Error in applying map rule.[[
java.lang.ClassCastException: [B cannot be cast to java.lang.String
at oracle.ldap.odip.engine.OrclAttribute.getAllValues(OrclAttribute.java:102)
at oracle.ldap.odip.gsi.LDAPWriter.performWriteChanges(LDAPWriter.java:438)
at oracle.ldap.odip.gsi.LDAPWriter.writeChanges(LDAPWriter.java:271)
at oracle.ldap.odip.web.DIPSyncWriterThread.run(DIPSyncWriterThread.java:72)
]]
java.lang.ClassCastException: [B cannot be cast to java.lang.String
at oracle.ldap.odip.engine.OrclAttribute.getAllValues(OrclAttribute.java:102)
at oracle.ldap.odip.gsi.LDAPWriter.performWriteChanges(LDAPWriter.java:438)
at oracle.ldap.odip.gsi.LDAPWriter.writeChanges(LDAPWriter.java:271)
at oracle.ldap.odip.web.DIPSyncWriterThread.run(DIPSyncWriterThread.java:72)
]]
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 |