Changeset 134 for branches/samba-3.0/docs/manpages/lmhosts.5
- Timestamp:
- May 23, 2008, 6:56:41 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/docs/manpages/lmhosts.5
r44 r134 1 .\"Generated by db2man.xsl. Don't modify this, modify the source. 2 .de Sh \" Subsection 3 .br 4 .if t .Sp 5 .ne 5 6 .PP 7 \fB\\$1\fR 8 .PP 9 .. 10 .de Sp \" Vertical space (when we can't use .PP) 11 .if t .sp .5v 12 .if n .sp 13 .. 14 .de Ip \" List item 15 .br 16 .ie \\n(.$>=3 .ne \\$3 17 .el .ne 3 18 .IP "\\$1" \\$2 19 .. 20 .TH "LMHOSTS" 5 "" "" "" 1 .\" Title: lmhosts 2 .\" Author: 3 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/> 4 .\" Date: 05/21/2008 5 .\" Manual: File Formats and Conventions 6 .\" Source: Samba 3.0 7 .\" 8 .TH "LMHOSTS" "5" "05/21/2008" "Samba 3\.0" "File Formats and Conventions" 9 .\" disable hyphenation 10 .nh 11 .\" disable justification (adjust text to left margin only) 12 .ad l 21 13 .SH "NAME" 22 14 lmhosts - The Samba NetBIOS hosts file … … 26 18 is the 27 19 \fBsamba\fR(7) 28 NetBIOS name to IP address mapping file .20 NetBIOS name to IP address mapping file\. 29 21 .SH "DESCRIPTION" 30 22 .PP 31 23 This file is part of the 32 24 \fBsamba\fR(7) 33 suite .25 suite\. 34 26 .PP 35 27 \fIlmhosts\fR 36 28 is the 37 \f BSamba \fR38 NetBIOS name to IP address mapping file . It is very similar to the29 \fISamba \fR 30 NetBIOS name to IP address mapping file\. It is very similar to the 39 31 \fI/etc/hosts\fR 40 file format, except that the hostname component must correspond to the NetBIOS naming format .32 file format, except that the hostname component must correspond to the NetBIOS naming format\. 41 33 .SH "FILE FORMAT" 42 34 .PP 43 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: 44 .TP 3n 45 \(bu 46 IP Address - in dotted decimal format. 47 .TP 3n 48 \(bu 49 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. 35 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: 50 36 .sp 51 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. 37 .RS 4 38 .ie n \{\ 39 \h'-04'\(bu\h'+03'\c 40 .\} 41 .el \{\ 42 .sp -1 43 .IP \(bu 2.3 44 .\} 45 IP Address \- in dotted decimal format\. 46 .RE 47 .sp 48 .RS 4 49 .ie n \{\ 50 \h'-04'\(bu\h'+03'\c 51 .\} 52 .el \{\ 53 .sp -1 54 .IP \(bu 2.3 55 .\} 56 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\. 57 .sp 58 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\. 59 .sp 60 .RE 52 61 .PP 53 62 An example follows: 54 55 63 .sp 56 64 .RS 4 57 65 .nf 58 59 66 # 60 # Sample Samba lmhosts file .67 # Sample Samba lmhosts file\. 61 68 # 62 192.9.200.1 TESTPC 63 192.9.200.20 NTSERVER#20 64 192.9.200.21 SAMBASERVER 65 69 192\.9\.200\.1 TESTPC 70 192\.9\.200\.20 NTSERVER#20 71 192\.9\.200\.21 SAMBASERVER 66 72 .fi 67 73 .RE 68 74 .PP 69 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.75 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\. 70 76 .PP 71 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.77 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\. 72 78 .PP 73 79 The default location of the … … 75 81 file is in the same directory as the 76 82 \fBsmb.conf\fR(5) 77 file .83 file\. 78 84 .SH "FILES" 79 85 .PP 80 lmhosts is loaded from the configuration directory . This is usually86 lmhosts is loaded from the configuration directory\. This is usually 81 87 \fI/etc/samba\fR 82 88 or 83 \fI/usr/local/samba/lib\fR .89 \fI/usr/local/samba/lib\fR\. 84 90 .SH "VERSION" 85 91 .PP 86 This man page is correct for version 3 .0 of the Samba suite.92 This man page is correct for version 3\.0 of the Samba suite\. 87 93 .SH "SEE ALSO" 88 94 .PP … … 92 98 .SH "AUTHOR" 93 99 .PP 94 The original Samba software and related utilities were created by Andrew Tridgell . Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.100 The original Samba software and related utilities were created by Andrew Tridgell\. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\. 95 101 .PP 96 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 97 ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 was done by Alexander Bokovoy. 98 102 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 103 ftp://ftp\.icce\.rug\.nl/pub/unix/) and updated for the Samba 2\.0 release by Jeremy Allison\. The conversion to DocBook for Samba 2\.2 was done by Gerald Carter\. The conversion to DocBook XML 4\.2 was done by Alexander Bokovoy\.
Note:
See TracChangeset
for help on using the changeset viewer.