diff options
Diffstat (limited to 'source4/script')
-rwxr-xr-x | source4/script/provision.pl | 5 |
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(); } |