Sorting list of DC addresses by closest first

Christopher R. Hertel crh at ubiqx.mn.org
Wed Apr 21 14:58:55 GMT 2004


On Tue, Apr 20, 2004 at 11:05:13PM -0700, Richard Sharpe wrote:
:
> Hmmm, nmblookup on sasafras#1c returns the following:
> 
> Got a positive name query response from 172.17.132.16 ( 172.17.132.16 
> 172.17.1.113 172.17.65.15 172.17.1.50 172.17.3.129 )
> 172.17.132.16 sasafras<1c>
> 172.17.1.113 sasafras<1c>
> 172.17.65.15 sasafras<1c>
> 172.17.1.50 sasafras<1c>
> 172.17.3.129 sasafras<1c>
> 
> The funny thing is that 127.17.132.16, which is not the PDC, just a BDC, 
> is closest to me.
> 
> This seems to be contrary to what you said.

Odd.

I can look up the doco that says that the PDC should be first.  I was 
pretty sure we followed Microsoft's lead.

There's not much info in the message above, however.  What was the command 
line?  I assume that 172.17.132.16 is the NBNS.

Chris -)-----

-- 
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org


More information about the samba-technical mailing list