From a89f6df4a996a60cc433e68857543f6a99da2d01 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 29 Dec 2004 21:41:17 +0000 Subject: r4396: Generate newrootdse.ldb in provision.pl as well (This used to be commit 3ebaec6edb68e9dce90981d96516fcf541c3c670) --- source4/script/provision.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source4/script') diff --git a/source4/script/provision.pl b/source4/script/provision.pl index 20567ced87..0940a3e30f 100755 --- a/source4/script/provision.pl +++ b/source4/script/provision.pl @@ -364,6 +364,14 @@ system("ldbadd -H newsam.ldb newsam.ldif"); 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 @@ print " 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 "; -- cgit