LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 02-22-2007, 01:53 PM   #1
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479

Rep: Reputation: 30
Pdbedit and Samaba help


Hey all,

I am playing around with pdbedit and a Samaba domain controller. I am trying to enforce "maximum password age" to 30 days which. It says that it is enforced but I am not sure.

This is what I get which is 30 days:

Code:
pdbedit -P "maximum password age"
account policy "maximum password age" description: Maximum password age, in seconds (default: -1 => never expire passwords)
account policy "maximum password age" value is: 2592000
This looks as fine and good but then when I get info on a user I get this:

Code:
 pdbedit -Lv user
Unix username:        user
NT username:
Account Flags:        [U          ]
User SID:             S-1-5-21-3079815154-879433680-2576789838-3072
Primary Group SID:    S-1-5-21-3079815154-879433680-2576789838-1201
Full Name:            ,,,
Home Directory:       \\pdc\user
HomeDir Drive:        H:
Logon Script:         logon.bat
Profile Path:         \\pdc\user\profile
Domain:               testdomain
Account desc:
Workstations:
Munged dial:
Logon time:           0
Logoff time:          Mon, 18 Jan 2038 22:14:07 EST
Kickoff time:         Mon, 18 Jan 2038 22:14:07 EST
Password last set:    Wed, 21 Feb 2007 11:09:02 EST
Password can change:  Wed, 21 Feb 2007 11:09:02 EST
Password must change: Mon, 18 Jan 2038 22:14:07 EST  <-----------<---------<----------<-------------
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

See what is says "Password Must change" It says Jan 18 2038. That is sure not 30 days away. Do I just ignore this and assume it will work? Maybe I have to move over some file or import these settings.

Please let me know if you can help.

Thanks
 
Old 02-23-2007, 09:56 AM   #2
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479

Original Poster
Rep: Reputation: 30
Nobody can help me out?
 
Old 02-27-2007, 02:15 PM   #3
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479

Original Poster
Rep: Reputation: 30
I checked more into it but couldn't find much, can somebody atleast point me in the right direction?

Thanks
 
Old 03-02-2007, 09:04 AM   #4
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479

Original Poster
Rep: Reputation: 30
Thanks all for your help!
 
  


Reply



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
Samba pdbedit command returns NT_STATUS_LOGON_FAILURE Peter@KKVS Linux - Networking 2 11-05-2006 11:04 PM
samba pdbedit warning period steevojb Linux - Server 0 09-19-2006 11:50 AM
pdbedit subaruwrx Linux - Newbie 10 08-28-2004 11:05 PM
Samaba Robush Linux - Newbie 3 01-29-2004 08:45 PM
pdbedit does not exist in redhat asp55 Linux - Networking 1 12-28-2003 01:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:12 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