From dae67d2f0bb6ea2553af2274d52021e26832dc41 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 15 Jan 2005 22:15:12 +0000 Subject: r4763: Join Samba4 to itself during the provision process. Andrew Bartlett (This used to be commit feca96fe5a1612592757f53f7aa4eb5a39fd24ff) --- source4/script/provision.pl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/script') 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(); } -- cgit