Samba 4 trouble with setting pw policy

Lukasz Zalewski lukas at eecs.qmul.ac.uk
Fri Jun 10 09:17:34 MDT 2011


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>

HTH

Luk


More information about the samba-technical mailing list