diff options
author | Tim Potter <tpot@samba.org> | 2005-04-17 00:45:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:34 -0500 |
commit | 4f030437d02c2915628063badba6d2216a83876a (patch) | |
tree | 189f5ab0c65cb1ce21aa6d99a1d1659e7b3878d7 /source4/setup/provision.pl | |
parent | b9456e9d67e794d37b395bcb01a758ef15e20123 (diff) | |
download | samba-4f030437d02c2915628063badba6d2216a83876a.tar.gz samba-4f030437d02c2915628063badba6d2216a83876a.tar.bz2 samba-4f030437d02c2915628063badba6d2216a83876a.zip |
r6361: Update howto and provisioning script with the moves made in r6207.
(This used to be commit e2f127b4d822c98668e20e724a4ca91b320092b3)
Diffstat (limited to 'source4/setup/provision.pl')
-rwxr-xr-x | source4/setup/provision.pl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/setup/provision.pl b/source4/setup/provision.pl index 4000ac3bde..6d42b967a7 100755 --- a/source4/setup/provision.pl +++ b/source4/setup/provision.pl @@ -369,7 +369,7 @@ $dnsdomain = lc($opt_realm); $dnsname = lc($opt_hostname).".".$dnsdomain; $basedn = "DC=" . join(",DC=", split(/\./, $opt_realm)); -my $data = FileLoad("provision.ldif") || die "Unable to load provision.ldif\n"; +my $data = FileLoad("setup/provision.ldif") || die "Unable to load provision.ldif\n"; $data .= add_foreign("S-1-5-7", "Anonymous", "\${NOBODY}"); $data .= add_foreign("S-1-1-0", "World", "\${NOGROUP}"); @@ -400,7 +400,7 @@ print "creating $newdb/sam.ldb ...\n"; system("ldbadd -H $newdb/sam.ldb $newdb/sam.ldif") == 0 || die "Failed to create sam.ldb\n"; -$data = FileLoad("rootdse.ldif") || die "Unable to load rootdse.ldif\n"; +$data = FileLoad("setup/rootdse.ldif") || die "Unable to load rootdse.ldif\n"; $res = apply_substitutions($data); @@ -410,7 +410,7 @@ print "creating $newdb/rootdse.ldb ...\n"; system("ldbadd -H $newdb/rootdse.ldb $newdb/rootdse.ldif") == 0 || die "Failed to create rootdse.ldb\n"; -$data = FileLoad("secrets.ldif") || die "Unable to load secrets.ldif\n"; +$data = FileLoad("setup/secrets.ldif") || die "Unable to load secrets.ldif\n"; $res = apply_substitutions($data); @@ -420,7 +420,7 @@ print "creating $newdb/secrets.ldb ...\n"; system("ldbadd -H $newdb/secrets.ldb $newdb/secrets.ldif") == 0 || die "Failed to create secrets.ldb\n"; -$data = FileLoad("provision.zone") || die "Unable to load provision.zone\n"; +$data = FileLoad("setup/provision.zone") || die "Unable to load provision.zone\n"; $res = apply_substitutions($data); @@ -430,7 +430,7 @@ FileSave("$newdb/$dnsdomain.zone", $res); print "creating $newdb/hklm.ldb ... \n"; -system("ldbadd -H $newdb/hklm.ldb hklm.ldif") == 0 || die "Failed to create hklm.ldb\n"; +system("ldbadd -H $newdb/hklm.ldb setup/hklm.ldif") == 0 || die "Failed to create hklm.ldb\n"; print " |