[Samba] Your password expires today problem

Michael B. Trausch mike+gmane at trausch.us
Thu Mar 11 18:14:10 MST 2010


On 03/11/2010 03:52 PM, Richard Lamboj wrote:
> Hello,
>
> server-p:/# net sam policy set "maximum password age" 4294967294
> Account policy "maximum password age" value was: -2
> Account policy "maximum password age" value is now: -2
>
> Is that Output Normal?
>

Looks like there is some wrapping going on there.  Try:

# net sam policy set "maximum password age" 4294967291

That said, I don't know why there would be wrapping.  An unsigned 32-bit 
integer's maximum value is 4294967295, so 4294967294 (the value that you 
used) should be something that would fit.  I don't know what would cause 
that to happen that way.

	--- Mike



More information about the samba mailing list