My Oracle Support Banner

OUD - When Importing an LDIF from an OUD 11g Instance into an OUD 12c Instance - ERROR - "Entry <DN> read from LDIF starting at line xxx is not valid because it violates the server's schema configuration..." (Doc ID 2646588.1)

Last updated on AUGUST 30, 2023

Applies to:

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

Symptoms

When attempting to import an LDIF from an OUD 11g instance into an OUD 12c instance -

category=UTIL severity=MILD_ERROR msgID=xxx msg=Entry cn=users,<SUFFIX_DN> read from LDIF starting at line xxx is not valid because it violates the server's schema configuration: Entry cn=users,<SUFFIX_DN> violates the Directory Server schema configuration because it is missing attribute sn which is required by objectclass person

and the SEARCH operation failed with result=80 -

$ <INSTANCE_ROOT>/bin/ldapsearch -p <LDAP_PORT> -D cn=<DS_ADMIN> -w - -b "<ENTRY_DN>" -s base "objectclass=*" pwdpolicysubentry
Password for user 'cn=<DS_ADMIN>':
SEARCH operation failed
Result Code: 80 (Other)
Additional Information: User entry <ENTRY_DN> is configured to use a password policy subentry of cn=<CN>,cn=pwdPolicies,cn=common,cn=products,cn=OracleContext,<SUFFIX_DN> but no such password policy has been defined in the server configuration

Due to this issue, can not search specific entries with password policy issues since, according to the error, password policy entries do not exist.

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


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