I made a script to generate such an html page. Updated by a daily cron task.
http://toolserver.org/~nicdumz/expired.html
(I dont see any issue with listing publicly such information? If there's any, let me know/delete the html ...)
Regards,
2010/6/3 MZMcBride z@mzmcbride.com:
River Tarnell wrote:
willow% date2days 2010-06-02 14762 willow% ldapsearch -h ldap -b ou=people,o=unix,o=toolserver '(&(objectclass=posixaccount)(shadowexpire<=14762))' dn version: 1 dn: uid=leon,ou=People,o=unix,o=toolserver
...
Surely there's a way to make a cleaner interface for this. That ldapsearch command gives me chest pains, and the output isn't particularly friendly either.
Would it be an issue if I (or someone else) set up some sort of list of accounts with their expiration dates in a pretty HTML table? If it's not an issue, is it best to access the LDAP database from the command line?
MZMcBride
P.S. http://toolserver.org/~river/license.txt is returning a 404. ;-)
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/toolserver-l Posting guidelines for this list: https://wiki.toolserver.org/view/Mailing_list_etiquette