Ez proxy -deliver message saying why not authenticated

From: Amy Vecchione <amyvecchione_at_nyob>
Date: Mon, 12 May 2014 11:29:18 -0600
To: CODE4LIB_at_LISTSERV.ND.EDU
Hello! 

I just thought I would try and ask here since I haven't found anything elsewhere: has anyone written a script that delivers a more nuanced error message when using Ez proxy? For example:

User name is right password is wrong
Password is expired
Username locked out 

Just curious!

Amy
Received on Mon May 12 2014 - 13:29:57 EDT