summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-12-29 21:41:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:42 -0500
commita89f6df4a996a60cc433e68857543f6a99da2d01 (patch)
tree10b70df23eaca185f4f0b1755ef1529ae3cde0e5
parente3cd42615b2782007c7a97c74881a026fe681511 (diff)
downloadsamba-a89f6df4a996a60cc433e68857543f6a99da2d01.tar.gz
samba-a89f6df4a996a60cc433e68857543f6a99da2d01.tar.bz2
samba-a89f6df4a996a60cc433e68857543f6a99da2d01.zip
r4396: Generate newrootdse.ldb in provision.pl as well
(This used to be commit 3ebaec6edb68e9dce90981d96516fcf541c3c670)
-rwxr-xr-xsource4/script/provision.pl10
1 files changed, 10 insertions, 0 deletions
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
";