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

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


Author: jelmer
Date: 2004-12-29 21:41:17 +0000 (Wed, 29 Dec 2004)
New Revision: 4396

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

Log:
Generate newrootdse.ldb in provision.pl as well

Modified:
   branches/SAMBA_4_0/source/script/provision.pl


Changeset:
Modified: branches/SAMBA_4_0/source/script/provision.pl
===================================================================
--- branches/SAMBA_4_0/source/script/provision.pl	2004-12-29 21:21:14 UTC (rev 4395)
+++ branches/SAMBA_4_0/source/script/provision.pl	2004-12-29 21:41:17 UTC (rev 4396)
@@ -364,6 +364,14 @@
 
 print "done\n";
 
+unlink("newrootdse.ldb");
+
+print "creating newrootdse.ldb ...\n";
+
+system("ldbadd -H newrootdse.ldb rootdse.ldif");
+
+print "done\n";
+
 print "generating dns zone file ...\n";
 
 $data = FileLoad("provision.zone") || die "Unable to load provision.zone\n";
@@ -398,6 +406,8 @@
 Installation:
 - Please move newsam.ldb to sam.ldb in the private/ directory of your
   Samba4 installation
+- Please move newrootdse.ldb to rootdse.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