summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-09-24 09:34:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:10 -0500
commite12730322c242dc7bd05402289a63c455a0a9bae (patch)
treecd88ef7658b395dbcacd28f6b0f0f3d08d95f459
parentc366b5b0d7d063473cbdf7982f3466dfc40a3265 (diff)
downloadsamba-e12730322c242dc7bd05402289a63c455a0a9bae.tar.gz
samba-e12730322c242dc7bd05402289a63c455a0a9bae.tar.bz2
samba-e12730322c242dc7bd05402289a63c455a0a9bae.zip
r25303: Print out the options the provision script generated. This should
help users produce predictable setups. Andrew Bartlett (This used to be commit 9789bd3c0a3f75f19fa523b251736cf6cdc157ce)
-rwxr-xr-xsource4/setup/provision13
1 files changed, 12 insertions, 1 deletions
diff --git a/source4/setup/provision b/source4/setup/provision
index b8f955dcf4..b204fc9e51 100755
--- a/source4/setup/provision
+++ b/source4/setup/provision
@@ -14,7 +14,6 @@ options = GetOptions(ARGV,
'realm=s',
'domain=s',
'domain-guid=s',
- 'domain-guid=s',
'domain-sid=s',
'policy-guid=s',
'host-name=s',
@@ -169,6 +168,18 @@ if (ldapbase) {
} else {
provision(subobj, message, blank, paths, system_session, creds, ldapbackend);
provision_dns(subobj, message, paths, system_session, creds);
+ message("To reproduce this provision, run with:\n");
+ message("--realm='" + subobj.REALM_CONF + "' --domain='" + subobj.DOMAIN_CONF + "' --domain-guid='" + subobj.DOMAINGUID + "' \\\n");
+ message("--policy-guid='" + subobj.POLICYGUID + "' --host-name='" + subobj.HOSTNAME + "' --host-ip='" + subobj.HOSTIP + "' \\\n");
+ message("--host-guid='" + subobj.HOSTGUID + "' --invocationid='" + subobj.INVOCATIONID + "' \\\n");
+ message("--adminpass='" + subobj.ADMINPASS + "' --krbtgtpass='" + subobj.KRBTGTPASS + "' \\\n");
+ message("--machinepass='" + subobj.MACHINEPASS + "' --dnspass='" + subobj.DNSPASS + "' \\\n");
+ message("--root='" + subobj.ROOT + "' --nobody='" + subobj.NOBODY + "' --nogroup-'" + subobj.NOGROUP + "' \\\n");
+ message("--wheel='" + subobj.WHEEL + "' --users='" + subobj.USERS + "' --server-role='" + subobj.SERVERROLE + "' \\\n");
+ message("--ldap-backend='" + subobj.LDAPBACKEND + "' --ldap-mdoule='" + subobj.LDAPMODULE + "' \\\n");
+ message("--aci='" + subobj.ACI + "' \\\n")
}
+
+
message("All OK\n");
return 0;