Get list of user accounts locked in OID

How to get list of user accounts which are locked in OID (Oracle Internet Directory)
If you want to get a list of user accounts which are locked in Oracle Internet Directory (OID) then use the “pwdaccountlockedtime=*”  with ldapsearch that will give the list of users whose account is locked. I just now tested in OID 11.1.1.6 and could get a list of users whose account were locked. You can set a cron job that will run this command, say once every few hours to get such users whose accounts are locked. Once you have list of such users there are multiple ways for administrator to notify the user. For unix you can automate this via the crontab. Explore the option of "mailto" in the crontab. Your administrator can be configured in the mailto to receive output of the cron job run. 
Check this post in the Oracle Discussion Forum

References
Setting Password Policies in OID  http://docs.oracle.com/cd/E28280_01/admin.1111/e10029/pwdpolicies.htm#OIDAG034

Following determine why a user account is locked (several reasons- bad password entered multiple times, or length of time i.e. expiration time)
Password Policy (see above link for setting password policies in OID)
pwdFailureTime
pwdaccountlockedtime

Finding locked accounts in OID
Copying OID users from one directory to another
http://ziontech.com/blog/using-ldapsearch-ldapmodify-oid/
OID account locked
Java Code for account locked
Retrieve DN from OID (javase tutorial)



Comments

Popular posts from this blog

VMware fix for Invalid manifest and ova file import failed errors

SOAPUI - import certificate

Session Timeout in Oracle Access Manager