Blog / Database Blog

To unlock OID super user !!!

To unlock OID super user !!!

If you are getting the below error in OID while using ldap, then it means the super user is locked. 

[oracle@xyz bin]$ ./ldapsearch -h xyz.oracle.com -p 389 -D cn=orcladmin -w abc -s sub -b dc=na,dc=xyz,dc=net uid=George* 
ldap_bind: DSA is unwilling to perform 
ldap_bind: additional info: Password Policy Error :9001: cn=orcladmin : Your account is locked. Please contact the Administrator. 

Please use the following command to unlock the super user in OID. 

cd $ORACLE_HOME/ldap/bin 

./oidpasswd conn= unlock_su_acct=true 

When you run the above command, it will ask for the super user’s password. 

Please find the below screenshot. 

Related blogs