1
0
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:
Simo Sorce
2005-01-16 22:38:41 +00:00
committed by Gerald (Jerry) Carter
parent 42a20f6fa4
commit e2c1ee1dd8
2 changed files with 37398 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -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";
}