LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-05-2007, 01:38 PM   #1
ejcatron
LQ Newbie
 
Registered: Apr 2007
Posts: 1

Rep: Reputation: 0
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.
 
Old 04-27-2007, 09:37 AM   #2
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,288

Rep: Reputation: 52
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Resetting Expired password kmalla AIX 2 03-21-2007 07:58 AM
How to get a list of users with their password status (expired, account locked...)? ricky_ds Linux - General 6 02-28-2005 09:53 AM
My root password has expired. MannaPC Linux - General 4 09-01-2004 02:25 PM
password expired rbchhan Fedora 2 08-09-2004 10:39 AM
roots password expired. wlfdgcrkz Linux - Software 2 06-19-2003 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration