From eab25a4d01705dcdb45bf509e4df40450e983828 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 1 Jul 2005 12:20:24 +0000 Subject: r8056: make the realm lowercase in our ldb (better matches w2k3) (This used to be commit 39cfb6f739f33a33dcbee708a9a2e5f1c6c12287) --- source4/setup/provision.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/setup/provision.pl b/source4/setup/provision.pl index fcd3b646d1..7c739f4515 100755 --- a/source4/setup/provision.pl +++ b/source4/setup/provision.pl @@ -30,7 +30,7 @@ sub nttime() my $t = time(); $t += (369.0*365.25*24*60*60-(3.0*24*60*60+6.0*60*60)); $t *= 1.0e7; - return sprintf("%lld", $t); + return sprintf("%.0f", $t); } # generate a random guid. Not a good algorithm. @@ -325,7 +325,7 @@ if ($opt_help || ShowHelp(); } -$opt_realm=uc($opt_realm); +$opt_realm=lc($opt_realm); $opt_domain=uc($opt_domain); $opt_hostname=lc($opt_hostname); $netbiosname=uc($opt_hostname); -- cgit