Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-15-2011, 11:03 AM
|
#1
|
|
LQ Newbie
Registered: Jun 2010
Posts: 26
Rep:
|
Automatic Password Expiry Notification Tool for LDAP and AD
Hi,
I am looking for a recommended automatic password expiration notification tool Can anyone advice on the best secure and most recommended tool out there, commercial or free preferably free.
We run a Linux and Windows platform that uses windows Active Directory and OpenLDAP 2.3.43-3.el5 to authenticate users. However we do get a lot of users requesting password resets particularly in the Linux environment and we need a good ,tried and tested automated tool or script that can manage this .We need an LDAP and Active Directory tool that notifies users particularly Linux users automatically days before their password will expire and force them to change it themselves or have it reset by the Linux administrator.I am kinda new to LDAP is tere any such facility withing OpenLDAP?
I have read about Netwrix and Novell Tools but not sure if these are tried and tested tools.
Any advice will be greatly appreciated.
|
|
|
|
06-15-2011, 04:48 PM
|
#2
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,903
|
I haven't stumbled upon a ready made tool to do this, but using
perl or shell script (in combination with ldapsearch) it should
be easy enough to script a solution. All it takes is to pull all
users pwdChangedTime attribute, and do some date maths on it.
Run from a cron job, and you're done.
Cheers,
Tink
Last edited by Tinkster; 06-15-2011 at 05:03 PM.
|
|
|
|
06-16-2011, 01:41 AM
|
#3
|
|
LQ Newbie
Registered: Jun 2010
Posts: 26
Original Poster
Rep:
|
Thanks for your help
|
|
|
|
06-16-2011, 02:42 AM
|
#4
|
|
LQ Newbie
Registered: Jun 2011
Location: Brazil
Distribution: Debian Wheezy
Posts: 11
Rep: 
|
Humm, I thinkt ppolicy OpenLDAP module can help you. See http://linux.die.net/man/5/slapo-ppolicy for more information.
Good luck.
|
|
|
|
06-16-2011, 04:03 AM
|
#5
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,903
|
Quote:
Originally Posted by fernandomerces
|
I'm curious ... how will the policy notify users of an impending
password expiry?
Cheers,
Tink
|
|
|
|
06-16-2011, 09:13 AM
|
#6
|
|
LQ Newbie
Registered: Jun 2011
Location: Brazil
Distribution: Debian Wheezy
Posts: 11
Rep: 
|
Quote:
Originally Posted by Tinkster
I'm curious ... how will the policy notify users of an impending
password expiry?
Cheers,
Tink
|
The server will answer a "Password Policy Response" and the client needs to handle it. For example, when logging in system with an OpenLDAP account, pam_ldap module handle it.
BR
|
|
|
|
06-16-2011, 12:25 PM
|
#7
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,903
|
Quote:
|
The server will answer a "Password Policy Response" and the client needs to handle it. For example, when logging in system with an OpenLDAP account, pam_ldap module handle it.
|
But their problem is that people don't log in, their passwords expire
and then they can't log in. He wants people to be alerted of an upcoming
expiry ahead of time (or at least that's my understanding).
Cheers,
Tink
|
|
|
|
06-16-2011, 12:51 PM
|
#8
|
|
LQ Newbie
Registered: Jun 2011
Location: Brazil
Distribution: Debian Wheezy
Posts: 11
Rep: 
|
You're right, ppolicy will answer only if asked but since users log in regularly, you still can warn users before their password expires with pwdExpireWarning attribute.
BR
|
|
|
|
06-16-2011, 02:30 PM
|
#9
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,903
|
Quote:
Originally Posted by fernandomerces
You're right, ppolicy will answer only if asked but since users log in regularly, you still can warn users before their password expires with pwdExpireWarning attribute.
BR
|
Heh. Unfortunately that's not always the case. We have users
who will sit dormant for months at a time, and then when they
finally wish to login again they call us up. Testers, for example,
who work on projects, and don't need the shell on a daily basis.
He (the OP) seems to have a similar situation.
Cheers,
Tink
|
|
|
|
06-16-2011, 03:45 PM
|
#10
|
|
LQ Newbie
Registered: Jun 2011
Location: Brazil
Distribution: Debian Wheezy
Posts: 11
Rep: 
|
Quote:
Originally Posted by Tinkster
Heh. Unfortunately that's not always the case. We have users
who will sit dormant for months at a time, and then when they
finally wish to login again they call us up. Testers, for example,
who work on projects, and don't need the shell on a daily basis.
He (the OP) seems to have a similar situation.
Cheers,
Tink
|
I understand. Well, in this case I think scripting is the only way. Sorry the misunderstanding.
BR
|
|
|
|
06-17-2011, 06:04 AM
|
#11
|
|
LQ Newbie
Registered: Jun 2010
Posts: 26
Original Poster
Rep:
|
Guys thank you all very much for your help i really appreciate it ... i will research into how to use the ppolicy OpenLDAP that Fenandomerces suggested it seems promising Fernando i dont want to reinvent the wheel but is there a more direct step by step guide on how to do this also if i do this successfully this i will document it and send you a copy or share the knowledge. any other suggestion will be appreciated Gurus keep replying..
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:03 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|