1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
8 CONTENT=
"Modular DocBook HTML Stylesheet Version 1.77"></HEAD
28 >lmhosts
--
The Samba NetBIOS hosts file
</DIV
30 CLASS=
"REFSYNOPSISDIV"
44 > NetBIOS name to IP address mapping file.
</P
54 >This file is part of the
<A
70 > NetBIOS name to IP address mapping file. It
71 is very similar to the
<TT
75 format, except that the hostname component must correspond
76 to the NetBIOS naming format.
</P
86 >It is an ASCII file containing one line for NetBIOS name.
87 The two fields on each line are separated from each other by
88 white space. Any entry beginning with '#' is ignored. Each line
89 in the lmhosts file contains the following information :
</P
95 >IP Address - in dotted decimal format.
</P
99 >NetBIOS Name - This name format is a
100 maximum fifteen character host name, with an optional
101 trailing '#' character followed by the NetBIOS name type
102 as two hexadecimal digits.
</P
104 >If the trailing '#' is omitted then the given IP
105 address will be returned for all names that match the given
106 name, whatever the NetBIOS name type in the lookup.
</P
110 >An example follows :
</P
113 CLASS=
"PROGRAMLISTING"
115 # Sample Samba lmhosts file.
118 192.9.200.20 NTSERVER#
20
119 192.9.200.21 SAMBASERVER
123 >Contains three IP to NetBIOS name mappings. The first
124 and third will be returned for any queries for the names
"TESTPC"
125 and
"SAMBASERVER" respectively, whatever the type component of
126 the NetBIOS name requested.
</P
128 >The second mapping will be returned only when the
"0x20" name
129 type for a name
"NTSERVER" is queried. Any other name type will not
132 >The default location of the
<TT
136 is in the same directory as the
<A
137 HREF=
"smb.conf.5.html"
151 >This man page is correct for version
2.2 of
163 HREF=
"smbclient.1.html"
171 HREF=
"smb.conf.5.html#NAMERESOLVEORDER"
175 HREF=
"smbpasswd.8.html"
192 >The original Samba software and related utilities
193 were created by Andrew Tridgell. Samba is now developed
194 by the Samba Team as an Open Source project similar
195 to the way the Linux kernel is developed.
</P
197 >The original Samba man pages were written by Karl Auer.
198 The man page sources were converted to YODL format (another
199 excellent piece of Open Source software, available at
201 HREF=
"ftp://ftp.icce.rug.nl/pub/unix/"
203 > ftp://ftp.icce.rug.nl/pub/unix/
</A
204 >) and updated for the Samba
2.0
205 release by Jeremy Allison. The conversion to DocBook for
206 Samba
2.2 was done by Gerald Carter
</P