A MAC application bundle to run a query against the LDAP server of the currently logged in user to determine how long until the user’s password expires. This tool will check for when an OS X user’s password will expire, and display it to the user. Provide an easy way for a Mac user to see how many days they have left until their password will expire.
There are 2 versions of this application, one to run silently as a login item and one designed to be user initiated.
This is an update to cooltools 14412 and 17053 by Randall R. Saeks.
The main functional differences from Randall’s original scripts are that it now compensates for the local time zone offset because the eDirectory passwordExirationTime attribute is in UTC. Errors on the ldap search are now handled so that a) it can run silently as a login item “LoginPWCheck.app.zip” or b) Request user input when run as a user-initiated application “Password Status.app.zip”.
They have been made into an application bundle in order to define a custom icon and so the configuration of the localized variables is done outside of the script itself.
Configuration changes should be made by editing the Localization.strings file
in the resources directory of the application bundle.
Use the Localization.strings file to define:
Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment. It just worked for at least one person, and perhaps it will be useful for you too. Be sure to test in a non-production environment.