[Samba] Solved for 1/1300?

oota at mail.linux.bs1.fc.nec.co.jp oota at mail.linux.bs1.fc.nec.co.jp
Tue Oct 31 08:25:20 GMT 2006


On Mon, Oct 30, 2006 at 12:18:00AM -0800, Jeremy Allison wrote:
> On Sun, Oct 29, 2006 at 11:35:22AM -0500, dkemper at intellisys-is.com wrote:
> > Hello, 
> > 
> > Discrete Mathematics Question; how did the samba developers conclude that the default mangling method "hash" results in a probability-of-name-clash of 1/1300? 

hash method is:

  ABCDEFGH.IJK
       |
       V
  ABCDE~xx.IJK


xx is [A-Z0-9].

so 36*36 = 1296  (nearly equal 1300).

--
--- Oota Toshiya ---  oota at mail.linux.bs1.fc.nec.co.jp
NEC Computers Software Operations Unit      Shiba,Minato,Tokyo
OSS Promotion Center                        Japan,Earth,Solar system
(samba-jp Staff/postmaster,mutt-j admin,analog-jp postmaster)


More information about the samba mailing list