samba-users August 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: [Samba] Samba 4 and password policy pwsetting error

[Samba] Samba 4 and password policy pwsetting error

From: Glenn T. Arnold <garnold_at_nospam>
Date: Thu Aug 26 2010 - 16:51:14 GMT
To: samba <samba@lists.samba.org>

Hello,

When I tried to change the password policy on a samba 4 domain controller I get the following error.

root@server01:/usr/local/samba/lib/python2.6/site-packages/samba/netcmd# ./pwsettings.py --complexity=off
Traceback (most recent call last):
File "./pwsettings.py", line 25, in <module>
import samba.getopt as options
ImportError: No module named samba.getopt
root@lcsdc01:/usr/local/samba/lib/python2.6/site-packages/samba/netcmd#

What am I doing wrong when running this command?

Thanks
-Glenn
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba