I am writing a script that executes ldapbind to see if the account is locked and then emails people. Then we login and unlock. I need to actually lock my orcladmin account. I don't know how to do it. Yeah we had some problems in the past. so i need to get some monitoring going. I don't know how the account was actually locked.
since you posted your question on the Content DB forum, is this somehow related to CDB? Are you talking about the orcladmin account of CDB in OID or the cn=orcladmin account in OID, which is a different one?