This BLOG focuses on "hands on approach" around Oracle Fusion Middleware, Oracle Service Bus, Oracle AIA, Oracle SOA Suite, Oracle SOA Cloud/Developer Cloud, Oracle Identity Management including OID, OAM, OIM, OSSO, OES, OIA, IGF, OKTA, SOA Governance using OER(Oracle Enterprise Repository), OSR(Oracle Service Registry), Oracle Big Data, WLST Scripts and Oracle Edifecs B2B Engine for HIPAA/HL7/X12/EDIFACT EDI., Kafka, Spark, Spring Boot, Microservices, DevOps and Amazon Elastic EC2
Monday, January 31, 2011
HOW TO DELETE AND LOAD OID (Oracle Internet Directory) DATA
HOW TO DELETE AND LOAD OID (Oracle Internet Directory)DATA
Before we start anything make sure ORACLE_HOME, ORACLE_SID and PATH are all set.
From Oracle Directory Manager, navigate to the server entry (the main node under the Oracle Internet Directory Servers), and change the Server Mode attribute from Read/Write to Read/Modify from the drop-down list.
If you prefer to use the LDAP command line utilities, use the ldapmodify command:
where rm.ldif is a file you create, with the following contents:
8. Load users into the test Oracle Internet Directory by using the bulkload utility to load the LDIF file generated from the production system. When invoking the bulkload utility, be sure to specify the absolute path of the LDIF file, even if it is in the current directory.
$ORACLE_HOME/ldap/bin/bulkload.sh -connect infra -check -generate -restore -load -append /tmp/oidexp012709.ldif
When invoking the bulkload utility, be sure to specify the absolute path of the LDIF file, even if it is in the current directory.
The response looks similar to the following output:
Verifying node "orcl"
This tool can only be executed if you know database user password
for OiD on orcl
Enter OiD password ::
9. Provide the password for the schema used by Oracle Internet Directory. This defaults to the password assigned for the ias_admin administrator during installation.
This command loads all the users, provided there is no error reported in the check mode on the exported LDIF file.
10. Start the directory server with the following command: