Francois Lafont
2013-Mar-24 02:57 UTC
[Samba] [samba 4] Set "user can't change password" in command lines
Hi, 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. Thanks in advance for your help. -- Fran?ois Lafont
Francois Lafont
2013-Apr-02 00:41 UTC
[Samba] [samba 4] Set "user can't change password" in command lines
Hello, 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