Ticket 48269 - RFE: need an easy way to detect locked
accounts locked by inactivity.
Description: The previous version of ns-accountstatus and ns-activate do not work
with the Account Policy Plugin. This patch allows these scripts to
properly detect when an account is "inactivated" due to inactivity.
Also, added some new features:
[1] Verbose output - prints createtime, modifytime, lastlogintime,
time until inactive, time since inactive, and
the account state.
[2] Check the status of many entries by uising a search base, scope,
and filter.
[3] Option to display only "inactivated" users
[4] Option to display users that will become inactive within a
certain timeframe
Also the three scripts all used the same source code, and they would
check the script name to know what actions to perform. Each script
has been stripped on duplicate/unnecessary code.
https://fedorahosted.org/389/ticket/48269
Design Doc: http://www.port389.org/docs/389ds/design/enhanced-account-tools.html
Reviewed by: wibrown(Thanks!)