r4395: Generate "newhklm.ldb" using provision.pl
authorJelmer Vernooij <jelmer@samba.org>
Wed, 29 Dec 2004 21:21:14 +0000 (21:21 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:07:42 +0000 (13:07 -0500)
(This used to be commit fa53c56236ddc7f86cdab85f95f6be6fcfb0909b)

source4/hklm.ldif [moved from source4/registry.ldif with 100% similarity]
source4/script/provision.pl

similarity index 100%
rename from source4/registry.ldif
rename to source4/hklm.ldif
index dde89b6d92990dad84d174f2a10685da3abe4337..20567ced878d5e30a0802be037187952c0f8f038 100755 (executable)
@@ -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
 ";
+
+