mirror of
https://github.com/samba-team/samba.git
synced 2025-11-29 16:23:52 +03:00
r4785: add schema objects to provision
but let schema checking be disabled by default until we can pass all test with it enabled
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
42a20f6fa4
commit
e2c1ee1dd8
37387
source/provision.ldif
37387
source/provision.ldif
File diff suppressed because it is too large
Load Diff
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user