Linux 版 (精华区)
发信人: tcpip (高级草包), 信区: Linux
标 题: lmhosts (5)
发信站: 紫 丁 香 (Fri May 5 20:00:34 2000) WWW-POST
lmhosts (5)
Samba
23 Oct 1998
NAME
名称
lmhosts - The Samba NetBIOS hosts file
lmhosts - samba的NetBIOS主机列表文件
SYNOPSIS
语法
lmhosts is the Samba NetBIOS name to IP address mapping file.
lmhosts是一个samba的NetBIOS名字到IP地址映射文件。
DESCRIPTION
描述
This file is part of the Samba suite.
lmhosts is the Samba NetBIOS name to IP address mapping file. It is very
similar to the /etc/hosts file format, except that the hostname component
must correspond to the NetBIOS naming format.
此文件是samba套件的一部分。lmhosts是一个samba的NetBIOS名字到IP地址映射文件。它
与/etc/hosts文件的格式非常相似,除了主机名部分必须符合NetBIOS名字格式。
FILE FORMAT
文件格式
It is an ASCII file containing one line for NetBIOS name. The two fields on
each line are separated from each other by white space. Any entry beginning
with # is ignored. Each line in the lmhosts file contains the following
information :
这是一个在一行之内包含NetBIOS名字的ASCII文件。每行有两个字段用空格互相隔开。任
何以#号开始的条目将被忽略。这个文件的每一行都包含了以下的信息:
IP Address - in dotted decimal format.
IP地址 - 点分十进制格式。
NetBIOS Name - This name format is a maximum fifteen character host name,
with an optional trailing '#' character followed by the NetBIOS name type as
two hexadecimal digits.
If the trailing '#' is omitted then the given IP address will be returned for
all names that match the given name, whatever the NetBIOS name type in the
lookup.
NetBIOS名字 - 名字格式最大用十五个字符,后面可以跟以#号起头的两位十六进制值用
于指出NetBIOS名字类型。如果后跟的#被忽略,那么所给出的IP地址将返回所有与给出的
名字相匹配的机器名,而不管查找的是何种NetBIOS名字类型。
An example follows :
下面有个例子:
#
# Sample Samba lmhosts file.
#
192.9.200.1 TESTPC
192.9.200.20 NTSERVER#20
192.9.200.21 SAMBASERVER
Contains three IP to NetBIOS name mappings. The first and third will be
returned for any queries for the names "TESTPC" and "SAMBASERVER"
respectively, whatever the type component of the NetBIOS name requested.
这里包含了三个IP地址到NetBIOS名字的映射。第一和第三个将返回名字分别为"TESTPC"
和"SAMBASERVER"的任何查询结果,而不管所需的是何种类型NetBIOS名字成份。
The second mapping will be returned only when the "0x20" name type for a name
"NTSERVER" is queried. Any other name type will not be resolved.
第二个映射将只返回当被查询的"NTSERVER"名字类型为"0x20"的值。任何其它的名字类型
将不会被解释。
The default location of the lmhosts file is in the same directory as the
smb.conf file.
lmhosts文件的默认保存位置与smb.conf文件的目录相同。
VERSION
版本
This man page is correct for version 2.0 of the Samba suite.
此手册页是针对samba套件版本2.0的。
SEE ALSO
参见
smb.conf (5), smbclient (1), smbpasswd (8), samba (7).
AUTHOR
作者
The original Samba software and related utilities were created by Andrew
Tridgell samba-bugs@samba.org. Samba is now developed by the Samba Team as an
Open Source project similar to the way the Linux kernel is developed.
samba软件和相关工具最初由Andrew Tridgell samba-bugs@samba.org创建。samba现在由
开发组作为类似Linux内核开发采用的开放源代码计划方式来发展。
The original Samba man pages were written by Karl Auer. The man page sources
were converted to YODL format (another excellent piece of Open Source
software, available at ftp://ftp.icce.rug.nl/pub/unix/) and updated for the
Samba2.0 release by Jeremy Allison. samba-bugs@samba.org.
samba手册页最初由Karl Auer撰写。它的源码已被转换成YODL(一种极好的开放源代码软
件,可以在ftp://ftp.icce.rug.nl/pub/unix/处获得)格式并已由Jeremy Allison更新到
samba2.0版本。
See samba (7) to find out how to get a full list of contributors and details
on how to submit bug reports, comments etc.
请参见samba (7)查找如何获得一份完整的维护者列表以及如何提交错误报告及注解等等
。
--
"这一千多年没写诗了?"
"写了, 不过只写了两句."
"千年得两句, 一定是万古丽句了. 念来听听."
"好吧, 我现丑了" 太白星清了清嗓子, 浑厚的男中音在天庭响起:
大海啊, 都是水;
骏马啊, 四条腿;
※ 来源:·紫 丁 香 bbs.hit.edu.cn·[FROM: freesrc.hit.edu]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:3.522毫秒