LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-14-2014, 05:30 PM   #1
tocxanh
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Rep: Reputation: Disabled
open ldap locking user account


my work has a policy to lock user accounts when they are on a long term leave. I have configure ldap server and client, i have been trying to find what attributes to use, i have found pwdAccountLockDuration ( i think) but have not been able to find any examples, pls help

thanks
 
Old 03-14-2014, 08:09 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Why not just change the shell to /sbin/nologin? That seems like the easiest way, and then you can change it back when the user returns. You can also set expiration dates on accounts or use the ppolicy overlay to expire passwords.
 
Old 03-14-2014, 09:42 PM   #3
tocxanh
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi btmiller,

Thanks for your quick response. How will changing the shell to nologin be known to the ldap database/server?

Also, is ppolicy overlay something in the sldap.conf file or somewhere in the global policy area? haven't done this and I have been reading on ldap password policy today and kinda overwhelmed

Again thanks!

tocxanh
 
  


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
[SOLVED] User account locking questions dedec0 Linux - Security 3 02-14-2012 09:34 AM
[SOLVED] Thunderbird failing to start in ldap user account guna_pmk Linux - Software 6 03-31-2011 03:20 AM
ldap password sync with samba and unix user account macpraveen Linux - Server 4 04-22-2010 09:55 AM
How to open an user account remotely [SOLVED] Fabio Paolini Linux - Desktop 5 02-03-2010 04:14 PM
Open-Xchange LDAP + IMAP account names mapping fouldsy Linux - Networking 1 02-16-2006 03:06 PM


All times are GMT -5. The time now is 03:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration