[Samba] Setting password expiration policy

Thomas Harold thomas-lists at nybeta.com
Tue Jun 18 05:07:01 MDT 2013

On 5/13/2013 11:23 AM, Gerry Reno wrote:
> Can I use samba-tool to globally set passwords to never expire like this:
>      /usr/local/samba/bin/samba-tool domain passwordsettings set --max-pwd-age=0
> Or  do I have to set max age to some positive value and set expiration in ADUC when creating each user as "Password
> never expires"?

My assumption would be that since the allowed range is only 0-999 for 
that argument that a value of zero would be "don't expire".  But I'm 
also curious as the Samba4 wiki doesn't have much to say on the subject.

More information about the samba mailing list