Sunday, August 11, 2013

How to unlock superuser orcladmin into OID11G

Hey everyone,

 Today III give you a good tip on how to unlock superuser orcladmin into OID 11g version.


1)First of all the behavior, doing a simple ldapsearch:
[oracle@thiagoleoncioserver ~]$ ldapsearch -p 3060 -D cn=orcladmin -w **** -b "" -s base "(objectclass=*)"
ldap_bind: DSA is unwilling to perform
ldap_bind: additional info: Password Policy Error :9001: cn=orcladmin : Your account is locked. Contact your OID administrator.

2) Then let's unlock this guy. Go to [$ORACLE_HOME]/ldap/bin and run command oidpasswd as below:

./oidpasswd connect=OIDDBInstance unlock_su_acct=true
OID super user account unlocked successfully.

NOTE: this connect parameter is the OID DB Instance that you have for your Pmon("Process Monitor") ldap.

3)Then, after successfully unlock it, try to bind your superuser again, as below:

ldapbind -p 3060 -D "cn=orcladmin" -w *****
bind successful


That's it! I hope it helps you,
THiago Leoncio.

No comments:

Post a Comment