diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-10-13 22:11:34 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-10-21 22:43:52 +1100 |
commit | d3b50ec33fe0aa0b4e845eac176a0438eaa8b5a2 (patch) | |
tree | cd2040c561895c055b43fc93ffe45cacac584ea2 | |
parent | fa5ebaa686dc4f66403b5382fdd846d5c85a938b (diff) | |
download | samba-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
-rwxr-xr-x | source4/setup/provision | 3 |
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, |