LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-24-2012, 07:55 AM   #1
cor9957
LQ Newbie
 
Registered: Dec 2006
Location: IJmuiden, the Netherlands
Distribution: CentOS, Fedora, Ubuntu
Posts: 11

Rep: Reputation: 0
Using Windows password policies


Hello everybody,

I have a CentOS 5.7 server running Samba. Smaba is configured as PDC and works great.
I was wondering if anybody knows if the following is possible; using a Windows group policy I want to force users to change there password at least once a year. As far as I know I've setup the policy correct, but nothings happening when users logon. Even if their password needs to be changed, they can logon without any problem.
Password changes from Windows works, I mean if a user goes to Windows security and changes their password it is also changed on the Linux server.
Can anybody telle if it's possible to what I want.

Regards,
Cor.
 
Old 04-25-2012, 02:14 AM   #2
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,928

Rep: Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305
what is in your /etc/nsswitch.conf?
 
Old 04-26-2012, 03:03 AM   #3
cor9957
LQ Newbie
 
Registered: Dec 2006
Location: IJmuiden, the Netherlands
Distribution: CentOS, Fedora, Ubuntu
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pan64 View Post
what is in your /etc/nsswitch.conf?
Below are the enabled options

Regards

passwd: files
shadow: files
group: files
hosts: files dns
bootparams: nisplus [NOTFOUND=return] files
ethers: files
netmasks: files
networks: files
protocols: files
rpc: files
services: files
netgroup: nisplus
publickey: nisplus
automount: files nisplus
aliases: files nisplus
 
Old 04-26-2012, 03:27 AM   #4
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,928

Rep: Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305
yes, the users have two passwords: one for logging into CentOS and the other one is for PDC. So the samba/domain password is not used in linux, and therefore the policy is not applicable.
there is a command authconfig but I do not know how should you try (there is a --enablesmb)
save nsswitch.conf before trying!
 
Old 05-01-2012, 02:13 AM   #5
cor9957
LQ Newbie
 
Registered: Dec 2006
Location: IJmuiden, the Netherlands
Distribution: CentOS, Fedora, Ubuntu
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for your reply, I'll have a look at authconfig.

Cor.
 
  


Reply

Tags
samba windows


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
OpenLDAP (2.4.23) + Password Policies FragInHell Linux - Software 2 11-13-2011 11:28 PM
How to implement password policies? pinga123 Linux - Newbie 8 11-26-2010 03:35 AM
Problems setting Password policies kentrimble Linux - Newbie 2 01-31-2010 07:36 PM
Password Policies -- Tricky question?? sachinh Linux - General 3 02-08-2008 06:18 PM
Applying Password Policies to All Users kaplan71 Linux - Security 1 11-29-2007 10:03 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration