[Samba] maximum password age

nik600 nik600 at gmail.com
Mon Dec 19 12:37:38 GMT 2005


i've tried to set the maximum age of passwords with:

root at servlan:~# pdbedit -P "maximum password age" -C 8035200
account policy value for maximum password age was 8035200
account policy value for maximum password age is now 8035200

but if try to see the accounts with: pdbedit -L -v

i get this:

Unix username:        nicola
NT username:
Account Flags:        [U          ]
User SID:             S-1-5-21-3614578222-3141096634-3044101766-3082
Primary Group SID:    S-1-5-21-3614578222-3141096634-3044101766-513
Full Name:            Nicola Mosca,,,
Home Directory:       \\server_name\nicola\.profile
HomeDir Drive:        H:
Logon Script:         netlogon.bat
Profile Path:         \\server_name\profili\nicola
Domain:               DOMAIN_NAME
Account desc:
Workstations:
Munged dial:
Logon time:           0
Logoff time:          Fri, 13 Dec 1901 21:45:51 GMT
Kickoff time:         Fri, 13 Dec 1901 21:45:51 GMT
Password last set:    Mon, 19 Dec 2005 09:10:18 GMT
Password can change:  Mon, 19 Dec 2005 09:10:18 GMT
Password must change: Fri, 13 Dec 1901 21:45:51 GMT
Last bad password   : 0
Bad password count  : 0


as you can see Password must change: Fri, 13 Dec 1901 21:45:51 GMT is wrong!
what can i do to set the password max age?

thanks


More information about the samba mailing list