PasswordNotify was written to solve a long-standing need of ActiveDirectory and OpenLDAP administrators. It simply queries your LDAP server once a day and notifies a user when their password is about to expire. It is highly customizable, and runs as either a Unix cron job or a Windows service.