Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Email alert for the OID user account locked

Tarun KudikalaNov 11 2016 — edited Dec 15 2016

Hi All - Can any one please let me know if any one has a script which can send us an email (alert) if any of the users are locked in the OID.

Comments

Sandeep Kumar sk

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" in crontab, to receive output of the cron job run. Hope this helps.

1973790

Hi All,

We have also a similar kind of requirement to send an email notification when the user account gets locked in OID. Once the user account is locked the end user has to get email immediately with some password reset links. So that end user can able to reset the password due to this the account will be unlocked in OID. We developed a custom OID plugin on post_modify operation as per the Oracle document but it is not triggering. If anyone already worked on this please share inputs/sample code.

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 12 2017
Added on Nov 11 2016
2 comments
635 views