updated Makefile to use the ldp DSSSL and regenerated all docs.
[Samba.git] / docs / htmldocs / lmhosts.5.html
blob47df4a9733bbe0259b4d6288ba3d53334f7333eb
1 <HTML
2 ><HEAD
3 ><TITLE
4 >lmhosts</TITLE
5 ><META
6 NAME="GENERATOR"
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD
8 ><BODY
9 CLASS="REFENTRY"
10 BGCOLOR="#FFFFFF"
11 TEXT="#000000"
12 LINK="#0000FF"
13 VLINK="#840084"
14 ALINK="#0000FF"
15 ><H1
16 ><A
17 NAME="LMHOSTS"
18 >lmhosts</A
19 ></H1
20 ><DIV
21 CLASS="REFNAMEDIV"
22 ><A
23 NAME="AEN5"
24 ></A
25 ><H2
26 >Name</H2
27 >lmhosts&nbsp;--&nbsp;The Samba NetBIOS hosts file</DIV
28 ><DIV
29 CLASS="REFSYNOPSISDIV"
30 ><A
31 NAME="AEN8"
32 ></A
33 ><H2
34 >Synopsis</H2
35 ><P
36 ><TT
37 CLASS="FILENAME"
38 >lmhosts</TT
39 > is the <A
40 HREF="samba.7.html"
41 TARGET="_top"
42 > Samba</A
43 > NetBIOS name to IP address mapping file.</P
44 ></DIV
45 ><DIV
46 CLASS="REFSECT1"
47 ><A
48 NAME="AEN12"
49 ></A
50 ><H2
51 >DESCRIPTION</H2
52 ><P
53 >This file is part of the &#60;<A
54 HREF="samba.7.html"
55 TARGET="_top"
56 > Samba</A
57 > suite.</P
58 ><P
59 ><TT
60 CLASS="FILENAME"
61 >lmhosts</TT
62 > is the <EM
63 >Samba
64 </EM
65 > NetBIOS name to IP address mapping file. It
66 is very similar to the <TT
67 CLASS="FILENAME"
68 >/etc/hosts</TT
69 > file
70 format, except that the hostname component must correspond
71 to the NetBIOS naming format.</P
72 ></DIV
73 ><DIV
74 CLASS="REFSECT1"
75 ><A
76 NAME="AEN20"
77 ></A
78 ><H2
79 >FILE FORMAT</H2
80 ><P
81 >It is an ASCII file containing one line for NetBIOS name.
82 The two fields on each line are separated from each other by
83 white space. Any entry beginning with '#' is ignored. Each line
84 in the lmhosts file contains the following information :</P
85 ><P
86 ></P
87 ><UL
88 ><LI
89 ><P
90 >IP Address - in dotted decimal format.</P
91 ></LI
92 ><LI
93 ><P
94 >NetBIOS Name - This name format is a
95 maximum fifteen character host name, with an optional
96 trailing '#' character followed by the NetBIOS name type
97 as two hexadecimal digits.</P
98 ><P
99 >If the trailing '#' is omitted then the given IP
100 address will be returned for all names that match the given
101 name, whatever the NetBIOS name type in the lookup.</P
102 ></LI
103 ></UL
105 >An example follows :</P
107 ><TABLE
108 BORDER="0"
109 BGCOLOR="#E0E0E0"
110 WIDTH="100%"
111 ><TR
112 ><TD
113 ><PRE
114 CLASS="PROGRAMLISTING"
116 # Sample Samba lmhosts file.
118 192.9.200.1 TESTPC
119 192.9.200.20 NTSERVER#20
120 192.9.200.21 SAMBASERVER
121 </PRE
122 ></TD
123 ></TR
124 ></TABLE
125 ></P
127 >Contains three IP to NetBIOS name mappings. The first
128 and third will be returned for any queries for the names "TESTPC"
129 and "SAMBASERVER" respectively, whatever the type component of
130 the NetBIOS name requested.</P
132 >The second mapping will be returned only when the "0x20" name
133 type for a name "NTSERVER" is queried. Any other name type will not
134 be resolved.</P
136 >The default location of the <TT
137 CLASS="FILENAME"
138 >lmhosts</TT
139 > file
140 is in the same directory as the <A
141 HREF="smb.conf.5.html"
142 TARGET="_top"
144 smb.conf(5)&#62;</A
145 > file.</P
146 ></DIV
147 ><DIV
148 CLASS="REFSECT1"
150 NAME="AEN37"
151 ></A
152 ><H2
153 >VERSION</H2
155 >This man page is correct for version 2.2 of
156 the Samba suite.</P
157 ></DIV
158 ><DIV
159 CLASS="REFSECT1"
161 NAME="AEN40"
162 ></A
163 ><H2
164 >SEE ALSO</H2
167 HREF="smbclient.1.html"
168 TARGET="_top"
170 CLASS="COMMAND"
171 >smbclient(1)
173 ></A
174 >, <A
175 HREF="smb.conf.5.html#NAMERESOLVEORDER"
176 TARGET="_top"
177 > smb.conf(5)</A
178 >, and <A
179 HREF="smbpasswd.8.html"
180 TARGET="_top"
182 CLASS="COMMAND"
183 > smbpasswd(8)</B
184 ></A
187 ></DIV
188 ><DIV
189 CLASS="REFSECT1"
191 NAME="AEN48"
192 ></A
193 ><H2
194 >AUTHOR</H2
196 >The original Samba software and related utilities
197 were created by Andrew Tridgell. Samba is now developed
198 by the Samba Team as an Open Source project similar
199 to the way the Linux kernel is developed.</P
201 >The original Samba man pages were written by Karl Auer.
202 The man page sources were converted to YODL format (another
203 excellent piece of Open Source software, available at
205 HREF="ftp://ftp.icce.rug.nl/pub/unix/"
206 TARGET="_top"
207 > ftp://ftp.icce.rug.nl/pub/unix/</A
208 >) and updated for the Samba 2.0
209 release by Jeremy Allison. The conversion to DocBook for
210 Samba 2.2 was done by Gerald Carter</P
211 ></DIV
212 ></BODY
213 ></HTML