Thursday, August 20, 2009

Querying OID for Infrastructure DB Passwords

Oracle provides the following command to query OID for the Database User passwords for infrastructure components. The command has to be executed on the infrastructure tier.


$ORACLE_HOME/bin/ldapsearch -h [hostname] -p [port] -D "cn=orcladmin" -w [passwd] -b "cn=IAS Infrastructure Databases,cn=IAS,cn=Products,cn=OracleContext" -s sub "orclResourceName=["database_user"] orclpasswordattribute


.rr

No comments: