summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
Diffstat (limited to 'source4/setup')
-rwxr-xr-xsource4/setup/newuser8
1 files changed, 0 insertions, 8 deletions
diff --git a/source4/setup/newuser b/source4/setup/newuser
index 991afa36d8..e6ab4eda2b 100755
--- a/source4/setup/newuser
+++ b/source4/setup/newuser
@@ -13,7 +13,6 @@ sys.path.insert(0, "bin/python")
import samba.getopt as options
import optparse
-import pwd
from getpass import getpass
from samba.auth import system_session
from samba.samdb import SamDB
@@ -29,13 +28,6 @@ parser.add_option("--unixname", help="Unix Username", type=str)
opts, args = parser.parse_args()
-#
-# print a message if quiet is not set
-#
-def message(text):
- if not opts.quiet:
- print text
-
if len(args) == 0:
parser.print_usage()
sys.exit(1)