home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 5.9 / 2000-06_-_Disc_5.9_Imperfect.iso / ELINK / Config / eln950a.cab / LMHOSTS.SAM < prev    next >
Text File  |  1995-07-11  |  4KB  |  81 lines

  1. # Copyright (c) 1993-1995 Microsoft Corp.
  2. #
  3. # This is a sample LMHOSTS file used by the Microsoft TCP/IP for Windows
  4. # NT.
  5. #
  6. # This file contains the mappings of IP addresses to NT computernames
  7. # (NetBIOS) names.  Each entry should be kept on an individual line.
  8. # The IP address should be placed in the first column followed by the
  9. # corresponding computername. The address and the comptername
  10. # should be separated by at least one space or tab. The "#" character
  11. # is generally used to denote the start of a comment (see the exceptions
  12. # below).
  13. #
  14. # This file is compatible with Microsoft LAN Manager 2.x TCP/IP lmhosts
  15. # files and offers the following extensions:
  16. #
  17. #      #PRE
  18. #      #DOM:<domain>
  19. #      #INCLUDE <filename>
  20. #      #BEGIN_ALTERNATE
  21. #      #END_ALTERNATE
  22. #      \0xnn (non-printing character support)
  23. #
  24. # Following any entry in the file with the characters "#PRE" will cause
  25. # the entry to be preloaded into the name cache. By default, entries are
  26. # not preloaded, but are parsed only after dynamic name resolution fails.
  27. #
  28. # Following an entry with the "#DOM:<domain>" tag will associate the
  29. # entry with the domain specified by <domain>. This affects how the
  30. # browser and logon services behave in TCP/IP environments. To preload
  31. # the host name associated with #DOM entry, it is necessary to also add a
  32. # #PRE to the line. The <domain> is always preloaded although it will not
  33. # be shown when the name cache is viewed.
  34. #
  35. # Specifying "#INCLUDE <filename>" will force the RFC NetBIOS (NBT)
  36. # software to seek the specified <filename> and parse it as if it were
  37. # local. <filename> is generally a UNC-based name, allowing a
  38. # centralized lmhosts file to be maintained on a server.
  39. # It is ALWAYS necessary to provide a mapping for the IP address of the
  40. # server prior to the #INCLUDE. This mapping must use the #PRE directive.
  41. # In addtion the share "public" in the example below must be in the
  42. # LanManServer list of "NullSessionShares" in order for client machines to
  43. # be able to read the lmhosts file successfully. This key is under
  44. # \machine\system\currentcontrolset\services\lanmanserver\parameters\nullsessionshares
  45. # in the registry. Simply add "public" to the list found there.
  46. #
  47. # The #BEGIN_ and #END_ALTERNATE keywords allow multiple #INCLUDE
  48. # statements to be grouped together. Any single successful include
  49. # will cause the group to succeed.
  50. #
  51. # Finally, non-printing characters can be embedded in mappings by
  52. # first surrounding the NetBIOS name in quotations, then using the
  53. # \0xnn notation to specify a hex value for a non-printing character.
  54. #
  55. # The following example illustrates all of these extensions:
  56. #
  57. # 102.54.94.97     rhino         #PRE #DOM:networking  #net group's DC
  58. # 102.54.94.102    "appname  \0x14"                    #special app server
  59. # 102.54.94.123    popular            #PRE             #source server
  60. # 102.54.94.117    localsrv           #PRE             #needed for the include
  61. #
  62. # #BEGIN_ALTERNATE
  63. # #INCLUDE \\localsrv\public\lmhosts
  64. # #INCLUDE \\rhino\public\lmhosts
  65. # #END_ALTERNATE
  66. #
  67. # In the above example, the "appname" server contains a special
  68. # character in its name, the "popular" and "localsrv" server names are
  69. # preloaded, and the "rhino" server name is specified so it can be used
  70. # to later #INCLUDE a centrally maintained lmhosts file if the "localsrv"
  71. # system is unavailable.
  72. #
  73. # Note that the whole file is parsed including comments on each lookup,
  74. # so keeping the number of comments to a minimum will improve performance.
  75. # Therefore it is not advisable to simply add lmhosts file entries onto the
  76. # end of this file.
  77.  
  78.  
  79.  
  80.  
  81.