OID 11g DIP Mapping With Trunc Function Validation Fails Due to Case Sensitivity. Error: Invalid Mapping Expression (Doc ID 1340899.1)

Last updated on OCTOBER 13, 2016

Applies to:

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

Symptoms

AD->OID synchronization on OID 11g.

Synchronization or Bootstrap using specific mapping rule with trunc function can fail because trunc does a case-sensitive string match.

Error: Invalid Mapping Expression

For Example:
Domain mapping rules are:
OU=Users1,DC=t1,dc=oracle,dc=com:ou=ADTenUsers,cn=users,dc=oracle,dc=com
OU=groups,DC=t1,dc=oracle,dc=com:cn=groupsten,cn=groups,dc=oracle,dc=com

Attribute rule:
member: : :group:uniquemember: :groupofuniquenames:trunc(member,",ou=")+",ou=ADTenUsers,cn=users,dc=oracle,dc=com"
Validates fine.

After bootstrap:
syncProfileBootstrap -h myhost.oracle.com -p 7005 -D weblogic -pf <ProfileName>
In OID afterwards:
The example user that was bootstraped.  dn: cn=user\, my,ou=adtenusers,cn=users,dc=oracle,dc=com

The example group:
cn=mfgroup,ou=security,cn=groupsten,cn=groups,dc=oracle,dc=com
Has member:
cn=user\, my,ou=users1,dc=t1,dc=oracle,dc=com,ou=adtenusers,cn=users,dc=oracle,dc=com
-- (It should be cn=user\, my,ou=adtenusers,cn=users,dc=oracle,dc=com)

Changes

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms