version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
LMHOSTS |
|
|
2 |
!!!LMHOSTS |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
FILE FORMAT |
|
|
7 |
VERSION |
|
|
8 |
SEE ALSO |
|
|
9 |
AUTHOR |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
lmhosts - The Samba NetBIOS hosts file |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
''lmhosts'' is the SambaNetBIOS name to IP address |
|
|
19 |
mapping file. |
|
|
20 |
!!DESCRIPTION |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
This file is part of the Sambasuite. |
|
|
24 |
|
|
|
25 |
|
|
|
26 |
''lmhosts'' is the __Samba__ NetBIOS name to IP |
|
|
27 |
address mapping file. It is very similar to the |
|
|
28 |
''/etc/hosts'' file format, except that the hostname |
|
|
29 |
component must correspond to the NetBIOS naming |
|
|
30 |
format. |
|
|
31 |
!!FILE FORMAT |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
It is an ASCII file containing one line for NetBIOS name. |
|
|
35 |
The two fields on each line are separated from each other by |
|
|
36 |
white space. Any entry beginning with '#' is ignored. Each |
|
|
37 |
line in the lmhosts file contains the following information |
|
|
38 |
: |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
IP Address - in dotted decimal format. |
|
|
42 |
|
|
|
43 |
|
|
|
44 |
NetBIOS Name - This name format is a maximum fifteen |
|
|
45 |
character host name, with an optional trailing '#' character |
|
|
46 |
followed by the NetBIOS name type as two hexadecimal |
|
|
47 |
digits. |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
If the trailing '#' is omitted then the given IP address |
|
|
51 |
will be returned for all names that match the given name, |
|
|
52 |
whatever the NetBIOS name type in the lookup. |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
An example follows : |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
# |
|
|
59 |
# Sample Samba lmhosts file. |
|
|
60 |
# |
|
|
61 |
192.9.200.1 TESTPC |
|
|
62 |
192.9.200.20 NTSERVER#20 |
|
|
63 |
192.9.200.21 SAMBASERVER |
|
|
64 |
|
|
|
65 |
|
|
|
66 |
Contains three IP to NetBIOS name mappings. The first and |
|
|
67 |
third will be returned for any queries for the names |
|
|
68 |
|
|
|
69 |
|
|
|
70 |
The second mapping will be returned only when the |
|
|
71 |
|
|
|
72 |
|
|
|
73 |
The default location of the ''lmhosts'' file is in the |
|
|
74 |
same directory as the smb.conf(5)'' |
|
|
75 |
!!VERSION |
|
|
76 |
|
|
|
77 |
|
|
|
78 |
This man page is correct for version 2.2 of the Samba |
|
|
79 |
suite. |
|
|
80 |
!!SEE ALSO |
|
|
81 |
|
|
|
82 |
|
|
|
83 |
__smbclient(1)__ |
|
|
84 |
!!AUTHOR |
|
|
85 |
|
|
|
86 |
|
|
|
87 |
The original Samba software and related utilities were |
|
|
88 |
created by Andrew Tridgell. Samba is now developed by the |
|
|
89 |
Samba Team as an Open Source project similar to the way the |
|
|
90 |
Linux kernel is developed. |
|
|
91 |
|
|
|
92 |
|
|
|
93 |
The original Samba man pages were written by Karl Auer. The |
|
|
94 |
man page sources were converted to YODL format (another |
|
|
95 |
excellent piece of Open Source software, available at |
|
|
96 |
ftp://ftp.icce.rug.nl/pub/unix/ |
|
|
97 |
---- |