[Samba] Samba PDC = Expire passwords

Rafael Paris rparis at hotelmaruma.com
Sun Jul 25 16:00:59 GMT 2004


Hi everyone...

Since I'm running samba I haven't been able to implement pdbedit policies
like password expiration time, lockout attempts, etc...
I'm running samba-3.0.5 in RedHat enterprise 3
I read pdbedit manual
I also tried to force users to change their password at first logon running
this command: 
pdbedit -P "user must logon to change password" -C 1

I set the account to last a week for testing purposes only and the minimum
password age for 3 days.

This is the account information for a user.

[root at xxxxxxxx xxxxxxxx]# pdbedit -c "[L]" -u xxxxxx
Unix username:        xxxxxx
NT username:
Account Flags:        [U          ]
User SID:             S-1-5-21-4146764868-xxxxxxxxx-xxxxxxxxxx-2002
Primary Group SID:    S-1-5-21-4146764868-xxxxxxxxx-xxxxxxxxxx-512
Full Name:            Antonio Prado
Home Directory:       \\xxxxxxxx\aprado
HomeDir Drive:
Logon Script:         aprado.bat
Profile Path:
Domain:               CASINO
Account desc:
Workstations:
Munged dial:
Logon time:           0
Logoff time:          lun, 18 ene 2038 23:14:07 GMT
Kickoff time:         lun, 18 ene 2038 23:14:07 GMT
Password last set:    dom, 11 jul 2004 13:21:16 GMT
Password can change:  dom, 11 jul 2004 13:21:16 GMT 
Password must change: lun, 18 ene 2038 23:14:07 GMT
Last bad password   : 0
Bad password count  : 0

Thanks in advanced,

Rafael Paris
Gerente de Sistemas Casino
e-mail: rparis at hotelmaruma.com
pagina web/page: www.hotelmaruma.com
Telefono/Phone: 0058 261 730 27 70
Fax: 0058 261 730 28 10




More information about the samba mailing list