LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Apache 2.2 how to get password expired (https://www.linuxquestions.org/questions/linux-server-73/apache-2-2-how-to-get-password-expired-543616/)

ejcatron 04-05-2007 01:38 PM

Apache 2.2 how to get password expired
 
I've searched using google, webcrawler and several other forums, including this forum (I only looked at 20 of the 600 hits I got) and have not been able to find out how to notify a web user that their password will expire in 14 days.

I'm tring not to reinvent the wheel. If something like this already exists I would like to be pointed in the right direction or if I've totally missed something in my configuration of Apache/LDAP/SSL please correct me.

I made the assumption that if Apache is configured with SSL and LDAP and working that I just need to change or add a directive that would allow Apache to notify the user about an expiring password. I'm begining to think that was not a correct assumption (yea I know about assumptions). Anyway does a module exist that would allow this or do I have to write my own?

If there is a way to do this, please point me in the right direction I have spent 2 weeks and have not really seen anything that outlines a process or points to a module.

Sorry for being so long winded.


Managment would like the following scenario:

User access Web page.
Web page pops-up a username password dialog (authenticated threw LDAP)
I currently have this working


If password is 14 days from expiring, a dialog should pop-up notifing the user (there are several other types of user requirements too).
I do not have anything in place for this


After user is validated then our master page should pop-up.
I currently have this working

Redhat Enterprise 2.6.9-42.0.8.ELsmp

I use Apache 2.2.0 with the following modules
authnz_external_module (shared) AUTH module
mm_auth_ldap_module (shared) LDAP module
jk_module (shared) JK CONNECTOR module
ssl_module (static) SSL module

Pam is setup on the Linux box

LDAP is also setup on the Linux box.

I'm able to loggin and test the password expired from a command line, just not from the web page.

Please any advice or pointers would be greatly appreciated.

rblampain 04-27-2007 09:37 AM

I am only answering because you had no reply, I am not sure I can be of any help.

From my experience, you best option is PHP. There are modules for almost anything in PHP and if you cannot find one for what you want, this means you probably have to write your own.

Even with no experience in PHP, you will be able to use it, with a bit of head scratching.

You may also try to post under the PHP heading and get advice more easily.


All times are GMT -5. The time now is 12:10 AM.