summaryrefslogtreecommitdiff
path: root/source4/script/provision.pl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-12-29 21:21:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:42 -0500
commite3cd42615b2782007c7a97c74881a026fe681511 (patch)
tree7e45db4aa5b87f7358e67d425200702448c71003 /source4/script/provision.pl
parentb2125c125ff328be11d12fd4e6d02e57dff789af (diff)
downloadsamba-e3cd42615b2782007c7a97c74881a026fe681511.tar.gz
samba-e3cd42615b2782007c7a97c74881a026fe681511.tar.bz2
samba-e3cd42615b2782007c7a97c74881a026fe681511.zip
r4395: Generate "newhklm.ldb" using provision.pl
(This used to be commit fa53c56236ddc7f86cdab85f95f6be6fcfb0909b)
Diffstat (limited to 'source4/script/provision.pl')
-rwxr-xr-xsource4/script/provision.pl14
1 files changed, 13 insertions, 1 deletions
diff --git a/source4/script/provision.pl b/source4/script/provision.pl
index dde89b6d92..20567ced87 100755
--- a/source4/script/provision.pl
+++ b/source4/script/provision.pl
@@ -383,10 +383,22 @@ print "saving dns zone to newdns.zone ...\n";
FileSave("$dnsdomain.zone", $res);
-print "done
+print "done\n";
+
+unlink("newhklm.ldb");
+
+print "creating newhklm.ldb ... \n";
+
+system("ldbadd -H newhklm.ldb hklm.ldif");
+
+print "done\n";
+
+print "
Installation:
- Please move newsam.ldb to sam.ldb in the private/ directory of your
Samba4 installation
- Please use $dnsdomain.zone to in BIND dns server
";
+
+