git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ba296b
)
r8056: make the realm lowercase in our ldb (better matches w2k3)
author
Andrew Tridgell
<tridge@samba.org>
Fri, 1 Jul 2005 12:20:24 +0000
(12:20 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:19:03 +0000
(13:19 -0500)
source/setup/provision.pl
patch
|
blob
|
history
diff --git
a/source/setup/provision.pl
b/source/setup/provision.pl
index fcd3b646d157edba53af7d4f981204cb4790f275..7c739f4515d8be828f6d9198564e1bf8e566eb20 100755
(executable)
--- a/
source/setup/provision.pl
+++ b/
source/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=
u
c($opt_realm);
+$opt_realm=
l
c($opt_realm);
$opt_domain=uc($opt_domain);
$opt_hostname=lc($opt_hostname);
$netbiosname=uc($opt_hostname);