Samba 4 trouble with setting pw policy

Ryan Manni rmanni at
Fri Jun 10 09:27:49 MDT 2011

You rock, now I can stop my password from expiring every 42 days. 

From: "Lukasz Zalewski" <lukas at> 
To: "Ryan Manni" <rmanni at> 
Cc: samba-technical at 
Sent: Friday, June 10, 2011 11:17:34 AM 
Subject: Re: Samba 4 trouble with setting pw policy 

On 10/06/11 15:51, Ryan Manni wrote: 
> I've search the previous entries regarding troubles setting the password policy, and I have found the following command: 
> /usr/local/samba/bin/net pwsettings<setting> 
> However, I get this response: -bash: /usr/local/samba/bin/net: No such file or directory 
> Running on Ubuntu server 10.04 
> Version - samba version 4.0.0alpha15-GIT-fad0112 
> Anything pointing me in the right direction is much appreciated. 
> -Ryan 
Hi Ryan, 
AFAIK net cmd has been replaced by samba-tool, can you try 
/usr/local/samba/bin/samba-tool pwsettings <setting> 



This message (including any attachments) may contain confidential,
proprietary, privileged and/or private proprietary information. The
information is intended
to be for the use of the individual or entity designated above. If you
are not
the intended recipient of this message, please notify the sender
immediately, and delete the message and any attachments. Any disclosure,
reproduction, distribution or other use of this message or any
attachments by an individual
or entity other than the intended recipient is prohibited.

More information about the samba-technical mailing list