From 8a153e5ca2df565b3b38786dcec72635fd196d5b Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 16 Jan 2005 22:38:41 +0000 Subject: r4785: add schema objects to provision but let schema checking be disabled by default until we can pass all test with it enabled (This used to be commit e2c1ee1dd896c978e9be72fcbe4abce42482b7c9) --- source4/script/provision.pl | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'source4/script') diff --git a/source4/script/provision.pl b/source4/script/provision.pl index ca54b07fce..98e25095e6 100755 --- a/source4/script/provision.pl +++ b/source4/script/provision.pl @@ -20,6 +20,7 @@ my $dnsname; my $basedn; my $defaultsite = "Default-First-Site-Name"; my $joinpass = randpass(); +my $usn = 1; # return the current NTTIME as an integer sub nttime() @@ -122,6 +123,10 @@ sub substitute($) return randguid(); } + if ($var eq "NEWSCHEMAGUID") { + return randguid(); + } + if ($var eq "DOMAINGUID") { return $opt_domainguid; } @@ -166,6 +171,12 @@ sub substitute($) return $opt_users; } + if ($var eq "USN") { + my $ret = $usn; + $usn = $ret + 1; + return $ret; + } + die "ERROR: Uknown substitution variable $var\n"; } -- cgit