svn commit: samba r8056 - in branches/SAMBA_4_0/source/setup: .

tridge at samba.org tridge at samba.org
Fri Jul 1 12:20:25 GMT 2005


Author: tridge
Date: 2005-07-01 12:20:24 +0000 (Fri, 01 Jul 2005)
New Revision: 8056

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8056

Log:
make the realm lowercase in our ldb (better matches w2k3)


Modified:
   branches/SAMBA_4_0/source/setup/provision.pl


Changeset:
Modified: branches/SAMBA_4_0/source/setup/provision.pl
===================================================================
--- branches/SAMBA_4_0/source/setup/provision.pl	2005-07-01 12:19:39 UTC (rev 8055)
+++ branches/SAMBA_4_0/source/setup/provision.pl	2005-07-01 12:20:24 UTC (rev 8056)
@@ -30,7 +30,7 @@
 	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 @@
 	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);



More information about the samba-cvs mailing list