svn commit: samba r4395 - in branches/SAMBA_4_0/source: . script

jelmer at samba.org jelmer at samba.org
Wed Dec 29 21:21:14 GMT 2004


Author: jelmer
Date: 2004-12-29 21:21:14 +0000 (Wed, 29 Dec 2004)
New Revision: 4395

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4395

Log:
Generate "newhklm.ldb" using provision.pl

Added:
   branches/SAMBA_4_0/source/hklm.ldif
Removed:
   branches/SAMBA_4_0/source/registry.ldif
Modified:
   branches/SAMBA_4_0/source/script/provision.pl


Changeset:
Copied: branches/SAMBA_4_0/source/hklm.ldif (from rev 4369, branches/SAMBA_4_0/source/registry.ldif)

Deleted: branches/SAMBA_4_0/source/registry.ldif
===================================================================
--- branches/SAMBA_4_0/source/registry.ldif	2004-12-29 15:36:45 UTC (rev 4394)
+++ branches/SAMBA_4_0/source/registry.ldif	2004-12-29 21:21:14 UTC (rev 4395)
@@ -1,29 +0,0 @@
-dn: key=control,key=currentcontrolset,key=system,hive=
-key: control
-
-dn: key=services,key=control,key=currentcontrolset,key=system,hive=
-key: services
-
-dn: value=ProductType,key=productoptions,key=control,key=currentcontrolset,key=system,hive=
-value: ProductType
-data: WinNT
-type: 1
-
-dn: key=productoptions,key=control,key=currentcontrolset,key=system,hive=
-key: productoptions
-
-dn: key=system,hive=
-key: system
-
-dn: key=netlogon,key=services,key=currentcontrolset,key=system,hive=
-key: netlogon
-
-dn: key=services,key=currentcontrolset,key=system,hive=
-key: services
-
-dn: key=print,key=control,key=currentcontrolset,key=system,hive=
-key: print
-
-dn: key=currentcontrolset,key=system,hive=
-key: currentcontrolset
-

Modified: branches/SAMBA_4_0/source/script/provision.pl
===================================================================
--- branches/SAMBA_4_0/source/script/provision.pl	2004-12-29 15:36:45 UTC (rev 4394)
+++ branches/SAMBA_4_0/source/script/provision.pl	2004-12-29 21:21:14 UTC (rev 4395)
@@ -383,10 +383,22 @@
 
 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
 ";
+
+



More information about the samba-cvs mailing list