summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-07-19 11:19:59 +1000
committerAndrew Tridgell <tridge@samba.org>2011-07-21 11:44:32 +1000
commitbfd94a1515ccb93d1e11b370ada5afc095982307 (patch)
treeb70a4ea90a5c37ddb0022287ddc5a749bfd7a120 /source4
parent7d399376b89b13417f7b1382259478bf82ae91c3 (diff)
downloadsamba-bfd94a1515ccb93d1e11b370ada5afc095982307.tar.gz
samba-bfd94a1515ccb93d1e11b370ada5afc095982307.tar.bz2
samba-bfd94a1515ccb93d1e11b370ada5afc095982307.zip
samba-tool: testparm doesn't take any credentials
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/scripting/python/samba/netcmd/testparm.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/netcmd/testparm.py b/source4/scripting/python/samba/netcmd/testparm.py
index 7a0e538ca2..9b8d207d3a 100755
--- a/source4/scripting/python/samba/netcmd/testparm.py
+++ b/source4/scripting/python/samba/netcmd/testparm.py
@@ -46,6 +46,11 @@ class cmd_testparm(Command):
synopsis = ""
+ takes_optiongroups = {
+ "sambaopts" : options.SambaOptions,
+ "versionops" : options.VersionOptions
+ }
+
takes_options = [
Option("--section-name", type=str,
help="Limit testparm to a named section"),