diff options
-rwxr-xr-x | source4/script/provision.pl | 10 |
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 "; |