[Samba] [samba 4] Set "user can't change password" in command lines

Francois Lafont mathsattacks at free.fr
Mon Apr 1 18:41:44 MDT 2013


Le 24/03/2013 03:57, Francois Lafont a écrit :

> I use Samba version 4.0.3 in Debian Wheezy. With this command:
> # net sam set pwnoexp "john" yes
> The "john" account has a password which never expires. But is there a
> command to set "user can't change password" parameter ? I have searched
> in the "samba-tool" command and in the "net" command but I haven't found.
> I know it's possible the set this parameter in windows side (with
> dsa.msc for example) but I would like to do that in command lines in the
> Debian server.

Would anybody have an idea?

François Lafont

More information about the samba mailing list