Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-14-2014, 06:30 PM   #1
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

Old 03-14-2014, 09:09 PM   #2
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, 10:42 PM   #3
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!



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

All times are GMT -5. The time now is 07:05 AM.

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