summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-10-13 22:11:34 +1100
committerAndrew Bartlett <abartlet@samba.org>2009-10-21 22:43:52 +1100
commitd3b50ec33fe0aa0b4e845eac176a0438eaa8b5a2 (patch)
treecd2040c561895c055b43fc93ffe45cacac584ea2 /source4/setup
parentfa5ebaa686dc4f66403b5382fdd846d5c85a938b (diff)
downloadsamba-d3b50ec33fe0aa0b4e845eac176a0438eaa8b5a2.tar.gz
samba-d3b50ec33fe0aa0b4e845eac176a0438eaa8b5a2.tar.bz2
samba-d3b50ec33fe0aa0b4e845eac176a0438eaa8b5a2.zip
s4:provison Allow the NTDS guid on the command line (for testing)
This allows a blackbox test to confirm this can be set. Andrew Bartlett
Diffstat (limited to 'source4/setup')
-rwxr-xr-xsource4/setup/provision3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/setup/provision b/source4/setup/provision
index 1cfcfc7137..ddcf1cffb2 100755
--- a/source4/setup/provision
+++ b/source4/setup/provision
@@ -56,6 +56,8 @@ parser.add_option("--policy-guid", type="string", metavar="GUID",
help="set guid for domain policy")
parser.add_option("--policy-guid-dc", type="string", metavar="GUID",
help="set guid for domain controller policy")
+parser.add_option("--ntds-guid", type="string", metavar="GUID",
+ help="set NTDS object GUID (otherwise random)")
parser.add_option("--invocationid", type="string", metavar="GUID",
help="set invocationid (otherwise random)")
parser.add_option("--host-name", type="string", metavar="HOSTNAME",
@@ -198,6 +200,7 @@ provision(setup_dir, message,
policyguid=opts.policy_guid, policyguid_dc=opts.policy_guid_dc,
hostname=opts.host_name,
hostip=opts.host_ip, hostip6=opts.host_ip6,
+ ntdsguid=opts.ntds_guid,
invocationid=opts.invocationid, adminpass=opts.adminpass,
krbtgtpass=opts.krbtgtpass, machinepass=opts.machinepass,
dnspass=opts.dnspass, root=opts.root, nobody=opts.nobody,