summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-01 12:20:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:03 -0500
commiteab25a4d01705dcdb45bf509e4df40450e983828 (patch)
tree443c83ed005c49ceb41e82dfcf5bfc117efc60c6
parentc7377de49f9155b3d66604d06deb2c8ede385e37 (diff)
downloadsamba-eab25a4d01705dcdb45bf509e4df40450e983828.tar.gz
samba-eab25a4d01705dcdb45bf509e4df40450e983828.tar.bz2
samba-eab25a4d01705dcdb45bf509e4df40450e983828.zip
r8056: make the realm lowercase in our ldb (better matches w2k3)
(This used to be commit 39cfb6f739f33a33dcbee708a9a2e5f1c6c12287)
-rwxr-xr-xsource4/setup/provision.pl4
1 files 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);