Disabling OIM LDAP Synchronization
- Login to EM Console and navigate to OIM -> oim(11.1.2.X)
- Click on System Mbean Browser
- Navigate to oracle.mds.lcm -> Server: oim server -> Application : OIMMetadata -> MDSAppRuntime and click on MDSAppRuntime. refer snapshot:
- Click on Operation Tab and Export Metadata before Remove/Disable LDAPSync.
Refer Screen Shot.
- Provide Location where to export Meta Data and which file to export.
In our case File is : /db/ldapMetadata/EventHandlers.xml file from MDS
Refer Screen Shot:
- Remove the /db/ldapMetadata/EventHandlers.xml file from MDS by navigating from Operation : deleteMetaData
- Provide file name and click on Invoke which will remove EventHandler.xml from MDS.
- Login to OIM System Admin console and disable below jobs :
- LDAP User Create and Update Reconciliation
- LDAP Role Create and Update Reconciliation
- LDAP Role Membership Reconciliation
- LDAP Role Hierarchy Reconciliation
Enabling OIM LDAP Synchronization
- Login to EM Console and navigate to OIM -> oim(11.1.2.X)
- Click on System Mbean Browser
- Navigate to oracle.mds.lcm -> Server: oim server -> Application : OIMMetadata -> MDSAppRuntime and click on MDSAppRuntime. refer snapshot:
- Click on Operation Tab and Import Metadata Enable LDAPSync.
Refer Screen Shot.
- Provide From Location to import Meta Data and which file to import.
In our case File is : /db/ldapMetadata/EventHandlers.xml file from MDS
Refer Screen Shot:
Note: We should have been exported /db/ldapMetadata/EventHandlers.xml before we disable LDAPSync
- Need to import /db/LDAPContainerRules.xml
Sample File :
<?xml version='1.0' encoding='UTF-8'?>
<container-rules>
<user>
<rule>
<expression>Default</expression>
<container>cn=users,dc=us,dc=oracle,dc=com</container>
<description/>
</rule>
</user>
<role>
<rule>
<expression>Role Description=TestGroup</expression>
<container>cn=TestGroup,dc=us,dc=oracle,dc=com</container>
<description/>
</rule>
<rule>
<expression>Default</expression>
<container>cn=groups,dc=us,dc=oracle,dc=com</container>
<description/>
</rule>
</role>
</container-rules>
- Provide From Location to import /db/LDAPContainerRules.xml
Refer Screen Shot:
Note: We should have been exported /db/ldapMetadata/EventHandlers.xml before we disable LDAPSync which also consist of /db/LDAPContainerRules.xml
- Login to OIM System Admin console and Enable below jobs :
- LDAP User Create and Update Reconciliation
- LDAP Role Create and Update Reconciliation
- LDAP Role Membership Reconciliation
- LDAP Role Hierarchy Reconciliation
No comments:
Post a Comment