summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/provision.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/script/provision.pl b/source4/script/provision.pl
index bfeefc6e86..ca54b07fce 100755
--- a/source4/script/provision.pl
+++ b/source4/script/provision.pl
@@ -19,6 +19,7 @@ my $netbiosname;
my $dnsname;
my $basedn;
my $defaultsite = "Default-First-Site-Name";
+my $joinpass = randpass();
# return the current NTTIME as an integer
sub nttime()
@@ -141,6 +142,10 @@ sub substitute($)
return randpass();
}
+ if ($var eq "JOINPASS") {
+ return $joinpass;
+ }
+
if ($var eq "NTTIME") {
return "" . nttime();
}