Detecting Discrepancies or Custom Elements Objectclasses and Attributes in One OID 11g Schema and Adding it to Another OID Accordingly (Doc ID 2087021.1)

Last updated on JANUARY 05, 2016

Applies to:

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

Goal

Trying the deployment in OID where there is a need for the functionality to detect whether attribute types already exists in the system. If it exists then it must skip to the next attribute, if it doesn't exist then the attribute will be added to subschemasubentry of OID.
Have tried running executing ldapadd on a script which have all the attributes required to be added into the system, however if the attribute already exists then the ldapadd execution will be halted even though there are more new entries that might been appended to the ldif scripts.

Is there any solution by which it is possible to detect discrepancies between a list of attribute types and objectclasses in an ldif file and then add the non existing ones accordingly while skipping those that exists from source OID to destination OID.?
 

Solution

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