Setting up LMHOSTS


Setting up an LMHOSTS file so that local DCs can find remote DCs requires defining the NetBIOS over TCP/IP names that the DCs use to locate each other.

A Brief Explanation of NetBIOS Names

NetBIOS names are 16 character long names that must be unique on a network. These are names by which NetBIOS compatible services are offered / located. The human readable part of the names is limited to 15 characters and in fact may be less than 15 characters. Internally these names are padded to 15 characters with spaces. The 16th character is a special HEX character representing the type of service with which the names are associated.

DOMAIN Related names

The PDC:1B
Group Containing DCs:1C

An example, a remote NT Domain with one PDC and two BDCs (Note: the special 1B/1C names are padded to 15 chars with spaces):

# File: %SYSTEMROOT%\SYSTEM32\DRIVERS\ETC\LMHOSTS
#
# This is the PDC for DOMAIN
#
10.141.190.183         THE-PDC                 #PRE   #DOM:DOMAIN
10.141.190.183         "DOMAIN         \0x1B"  #PRE
10.141.190.183         "DOMAIN         \0x1C"  #PRE
#
#
# BDC #1 
#
10.141.190.184         BDC-NO1                 #PRE   #DOM:DOMAIN
10.141.190.184         "DOMAIN         \0x1C"  #PRE
#
#
# BDC #2
#
10.141.190.185         BDC-NO2                 #PRE   #DOM:DOMAIN
10.141.190.185         "DOMAIN         \0x1C"  #PRE

[BabinszkiWorld] [WinNT] [Chinchillas] [Net Distiller] [Search] [More] [e-mail Andy Babinszki] [16-Jul-1997]