[Samba] Samba PDC = Expire passwords
Rafael Paris
rparis at hotelmaruma.com
Mon Jul 26 10:19:24 GMT 2004
I changed that back to 0 but the problem persists...
Is there a patch available for this problem?
Cheers,
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
-----Mensaje original-----
De: Andrew Bartlett [mailto:abartlet at samba.org]
Enviado el: Domingo, 25 de Julio de 2004 08:14 p.m.
Para: Rafael Paris
CC: samba at lists.samba.org
Asunto: Re: [Samba] Samba PDC = Expire passwords
On Mon, 2004-07-26 at 02:00, Rafael Paris wrote:
> 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
That policy is not only unused by Samba, it would defeat what you want.
> 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
If this is set to 0, then it the 'must change at first logon' is flagged.
Andrew Bartlett
--
Andrew Bartlett abartlet at samba.org
Authentication Developer, Samba Team http://samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
More information about the samba
mailing list