1. Set the environment:
export ORACLE_HOME=/u01/app/oracle/middleware/Oracle_OID
export ORACLE_INSTANCE=/u01/app/oracle/middleware/asinst_1
export TNS_ADMIN=$ORACLE_INSTANCE/config
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/ldap/bin:$ORACLE_INSTANCE/bin:$PATH
cd $ORACLE_INSTANCE/OID/admin
2. If creating a new wallet, then remove the current wallet:
mv oidpwdlldap1 oidpwdlldap1.orig.20170426
3. To CREATE a new wallet with a new ODS password (a new "oidpwdlldap1" file will be created):
$ORACLE_HOME/ldap/bin/oidpasswd connect=OIDDB create_wallet=true
4. To RESET the ODS password:
$ORACLE_HOME/ldap/bin/oidpasswd connect=OIDDB change_oiddb_pwd=true
References
- http://docs.oracle.com/cd/E28280_01/admin.1111/e10029/oid_susers.htm#OIDAG2247
- http://www.oraworld.co.uk/oid-ldap-commands-unable-to-locate-message-file-ldap-msb/
- https://oraidm.wordpress.com/2015/08/17/oidpasswd-failed-with-ora-00942-table-or-view-does-not-exist/
Applicable Versions
- Oracle Internet Directory (OID) 11g
No comments:
Post a Comment