Ignore:
Timestamp:
Mar 1, 2010, 3:05:48 PM (15 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3.x to 3.3.11

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/docs/manpages/nmbd.8

    r368 r411  
    1 '\" t
    21.\"     Title: nmbd
    32.\"    Author: [see the "AUTHOR" section]
    4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 01/14/2010
     3.\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/>
     4.\"      Date: 02/22/2010
    65.\"    Manual: System Administration tools
    76.\"    Source: Samba 3.3
    87.\"  Language: English
    98.\"
    10 .TH "NMBD" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools"
     9.TH "NMBD" "8" "02/22/2010" "Samba 3\&.3" "System Administration tools"
     10.\" -----------------------------------------------------------------
     11.\" * (re)Define some macros
     12.\" -----------------------------------------------------------------
     13.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     14.\" toupper - uppercase a string (locale-aware)
     15.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     16.de toupper
     17.tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
     18\\$*
     19.tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
     20..
     21.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     22.\" SH-xref - format a cross-reference to an SH section
     23.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     24.de SH-xref
     25.ie n \{\
     26.\}
     27.toupper \\$*
     28.el \{\
     29\\$*
     30.\}
     31..
     32.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     33.\" SH - level-one heading that works better for non-TTY output
     34.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     35.de1 SH
     36.\" put an extra blank line of space above the head in non-TTY output
     37.if t \{\
     38.sp 1
     39.\}
     40.sp \\n[PD]u
     41.nr an-level 1
     42.set-an-margin
     43.nr an-prevailing-indent \\n[IN]
     44.fi
     45.in \\n[an-margin]u
     46.ti 0
     47.HTML-TAG ".NH \\n[an-level]"
     48.it 1 an-trap
     49.nr an-no-space-flag 1
     50.nr an-break-flag 1
     51\." make the size of the head bigger
     52.ps +3
     53.ft B
     54.ne (2v + 1u)
     55.ie n \{\
     56.\" if n (TTY output), use uppercase
     57.toupper \\$*
     58.\}
     59.el \{\
     60.nr an-break-flag 0
     61.\" if not n (not TTY), use normal case (not uppercase)
     62\\$1
     63.in \\n[an-margin]u
     64.ti 0
     65.\" if not n (not TTY), put a border/line under subheading
     66.sp -.6
     67\l'\n(.lu'
     68.\}
     69..
     70.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     71.\" SS - level-two heading that works better for non-TTY output
     72.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     73.de1 SS
     74.sp \\n[PD]u
     75.nr an-level 1
     76.set-an-margin
     77.nr an-prevailing-indent \\n[IN]
     78.fi
     79.in \\n[IN]u
     80.ti \\n[SN]u
     81.it 1 an-trap
     82.nr an-no-space-flag 1
     83.nr an-break-flag 1
     84.ps \\n[PS-SS]u
     85\." make the size of the head bigger
     86.ps +2
     87.ft B
     88.ne (2v + 1u)
     89.if \\n[.$] \&\\$*
     90..
     91.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     92.\" BB/BE - put background/screen (filled box) around block of text
     93.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     94.de BB
     95.if t \{\
     96.sp -.5
     97.br
     98.in +2n
     99.ll -2n
     100.gcolor red
     101.di BX
     102.\}
     103..
     104.de EB
     105.if t \{\
     106.if "\\$2"adjust-for-leading-newline" \{\
     107.sp -1
     108.\}
     109.br
     110.di
     111.in
     112.ll
     113.gcolor
     114.nr BW \\n(.lu-\\n(.i
     115.nr BH \\n(dn+.5v
     116.ne \\n(BHu+.5v
     117.ie "\\$2"adjust-for-leading-newline" \{\
     118\M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
     119.\}
     120.el \{\
     121\M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
     122.\}
     123.in 0
     124.sp -.5v
     125.nf
     126.BX
     127.in
     128.sp .5v
     129.fi
     130.\}
     131..
     132.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     133.\" BM/EM - put colored marker in margin next to block of text
     134.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     135.de BM
     136.if t \{\
     137.br
     138.ll -2n
     139.gcolor red
     140.di BX
     141.\}
     142..
     143.de EM
     144.if t \{\
     145.br
     146.di
     147.ll
     148.gcolor
     149.nr BH \\n(dn
     150.ne \\n(BHu
     151\M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[]
     152.in 0
     153.nf
     154.BX
     155.in
     156.fi
     157.\}
     158..
    11159.\" -----------------------------------------------------------------
    12160.\" * set default formatting
     
    19167.\" * MAIN CONTENT STARTS HERE *
    20168.\" -----------------------------------------------------------------
    21 .SH "NAME"
     169.SH "Name"
    22170nmbd \- NetBIOS name server to provide NetBIOS over IP naming services to clients
    23 .SH "SYNOPSIS"
     171.SH "Synopsis"
     172.fam C
    24173.HP \w'\ 'u
    25 nmbd [\-D] [\-F] [\-S] [\-a] [\-i] [\-o] [\-h] [\-V] [\-d\ <debug\ level>] [\-H\ <lmhosts\ file>] [\-l\ <log\ directory>] [\-p\ <port\ number>] [\-s\ <configuration\ file>]
     174\FCnmbd\F[] [\-D] [\-F] [\-S] [\-a] [\-i] [\-o] [\-h] [\-V] [\-d\ <debug\ level>] [\-H\ <lmhosts\ file>] [\-l\ <log\ directory>] [\-p\ <port\ number>] [\-s\ <configuration\ file>]
     175.fam
    26176.SH "DESCRIPTION"
    27177.PP
     
    30180suite\&.
    31181.PP
    32 nmbd
     182\FCnmbd\F[]
    33183is a server that understands and can reply to NetBIOS over IP name service requests, like those produced by SMB/CIFS clients such as Windows 95/98/ME, Windows NT, Windows 2000, Windows XP and LanManager clients\&. It also participates in the browsing protocols which make up the Windows "Network Neighborhood" view\&.
    34184.PP
     
    36186.PP
    37187Amongst other services,
    38 nmbd
     188\FCnmbd\F[]
    39189will listen for such requests, and if its own NetBIOS name is specified it will respond with the IP number of the host it is running on\&. Its "own NetBIOS name" is by default the primary DNS name of the host it is running on, but this can be overridden by the
    40190\m[blue]\fBnetbios name\fR\m[]
    41191in
    42 smb\&.conf\&. Thus
    43 nmbd
     192\FCsmb\&.conf\F[]\&. Thus
     193\FCnmbd\F[]
    44194will reply to broadcast queries for its own name(s)\&. Additional names for
    45 nmbd
     195\FCnmbd\F[]
    46196to respond on can be set via parameters in the
    47197\fBsmb.conf\fR(5)
    48198configuration file\&.
    49199.PP
    50 nmbd
     200\FCnmbd\F[]
    51201can also be used as a WINS (Windows Internet Name Server) server\&. What this basically means is that it will act as a WINS database server, creating a database from name registration requests that it receives and replying to queries from clients for these names\&.
    52202.PP
    53203In addition,
    54 nmbd
     204\FCnmbd\F[]
    55205can act as a WINS proxy, relaying broadcast queries from clients that do not understand how to talk the WINS protocol to a WINS server\&.
    56206.SH "OPTIONS"
     
    59209.RS 4
    60210If specified, this parameter causes
    61 nmbd
     211\FCnmbd\F[]
    62212to operate as a daemon\&. That is, it detaches itself and runs in the background, fielding requests on the appropriate port\&. By default,
    63 nmbd
     213\FCnmbd\F[]
    64214will operate as a daemon if launched from a command shell\&. nmbd can also be operated from the
    65 inetd
     215\FCinetd\F[]
    66216meta\-daemon, although this is not recommended\&.
    67217.RE
     
    70220.RS 4
    71221If specified, this parameter causes the main
    72 nmbd
     222\FCnmbd\F[]
    73223process to not daemonize, i\&.e\&. double\-fork and disassociate with the terminal\&. Child processes are still created as normal to service each connection request, but the main process does not exit\&. This operation mode is suitable for running
    74 nmbd
     224\FCnmbd\F[]
    75225under process supervisors such as
    76 supervise
     226\FCsupervise\F[]
    77227and
    78 svscan
     228\FCsvscan\F[]
    79229from Daniel J\&. Bernstein\'s
    80 daemontools
     230\FCdaemontools\F[]
    81231package, or the AIX process monitor\&.
    82232.RE
     
    85235.RS 4
    86236If specified, this parameter causes
    87 nmbd
     237\FCnmbd\F[]
    88238to log to standard output rather than a file\&.
    89239.RE
     
    92242.RS 4
    93243If this parameter is specified it causes the server to run "interactively", not as a daemon, even if the server is executed on the command line of a shell\&. Setting this parameter negates the implicit daemon mode when run from the command line\&.
    94 nmbd
     244\FCnmbd\F[]
    95245also logs to standard output, as if the
    96246\fB\-S\fR
     
    112262\fINOT\fR
    113263used by
    114 nmbd
     264\FCnmbd\F[]
    115265to answer any name queries\&. Adding a line to this file affects name NetBIOS resolution from this host
    116266\fIONLY\fR\&.
    117267.sp
    118268The default path to this file is compiled into Samba as part of the build process\&. Common defaults are
    119 /usr/local/samba/lib/lmhosts,
    120 /usr/samba/lib/lmhosts
     269\FC/usr/local/samba/lib/lmhosts\F[],
     270\FC/usr/samba/lib/lmhosts\F[]
    121271or
    122 /etc/samba/lmhosts\&. See the
     272\FC/etc/samba/lmhosts\F[]\&. See the
    123273\fBlmhosts\fR(5)
    124274man page for details on the contents of this file\&.
     
    137287\m[blue]\fB\%smb.conf.5.html#\fR\m[]
    138288parameter in the
    139 smb\&.conf
     289\FCsmb\&.conf\F[]
    140290file\&.
    141291.RE
     
    149299.RS 4
    150300The file specified contains the configuration details required by the server\&. The information in this file includes server\-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide\&. See
    151 smb\&.conf
     301\FCsmb\&.conf\F[]
    152302for more information\&. The default configuration file name is determined at compile time\&.
    153303.RE
     
    163313.RS 4
    164314UDP port number is a positive integer value\&. This option changes the default UDP port number (normally 137) that
    165 nmbd
     315\FCnmbd\F[]
    166316responds to name queries on\&. Don\'t use this option unless you are an expert, in which case you won\'t need help!
    167317.RE
    168318.SH "FILES"
    169319.PP
    170 /etc/inetd\&.conf
     320\FC/etc/inetd\&.conf\F[]
    171321.RS 4
    172322If the server is to be run by the
    173 inetd
     323\FCinetd\F[]
    174324meta\-daemon, this file must contain suitable startup information for the meta\-daemon\&.
    175325.RE
    176326.PP
    177 /etc/rc
     327\FC/etc/rc\F[]
    178328.RS 4
    179329or whatever initialization script your system uses)\&.
     
    182332.RE
    183333.PP
    184 /etc/services
     334\FC/etc/services\F[]
    185335.RS 4
    186336If running the server via the meta\-daemon
    187 inetd, this file must contain a mapping of service name (e\&.g\&., netbios\-ssn) to service port (e\&.g\&., 139) and protocol type (e\&.g\&., tcp)\&.
    188 .RE
    189 .PP
    190 /usr/local/samba/lib/smb\&.conf
     337\FCinetd\F[], this file must contain a mapping of service name (e\&.g\&., netbios\-ssn) to service port (e\&.g\&., 139) and protocol type (e\&.g\&., tcp)\&.
     338.RE
     339.PP
     340\FC/usr/local/samba/lib/smb\&.conf\F[]
    191341.RS 4
    192342This is the default location of the
    193343\fBsmb.conf\fR(5)
    194344server configuration file\&. Other common places that systems install this file are
    195 /usr/samba/lib/smb\&.conf
     345\FC/usr/samba/lib/smb\&.conf\F[]
    196346and
    197 /etc/samba/smb\&.conf\&.
     347\FC/etc/samba/smb\&.conf\F[]\&.
    198348.sp
    199349When run as a WINS server (see the
     
    202352\fBsmb.conf\fR(5)
    203353man page),
    204 nmbd
     354\FCnmbd\F[]
    205355will store the WINS database in the file
    206 wins\&.dat
     356\FCwins\&.dat\F[]
    207357in the
    208 var/locks
     358\FCvar/locks\F[]
    209359directory configured under wherever Samba was configured to install itself\&.
    210360.sp
    211361If
    212 nmbd
     362\FCnmbd\F[]
    213363is acting as a
    214364\fI browse master\fR
     
    218368\fBsmb.conf\fR(5)
    219369man page,
    220 nmbd
     370\FCnmbd\F[]
    221371will store the browsing database in the file
    222 browse\&.dat
     372\FCbrowse\&.dat \F[]
    223373in the
    224 var/locks
     374\FCvar/locks\F[]
    225375directory configured under wherever Samba was configured to install itself\&.
    226376.RE
     
    228378.PP
    229379To shut down an
    230 nmbd
     380\FCnmbd\F[]
    231381process it is recommended that SIGKILL (\-9)
    232382\fINOT\fR
    233383be used, except as a last resort, as this may leave the name database in an inconsistent state\&. The correct way to terminate
    234 nmbd
     384\FCnmbd\F[]
    235385is to send it a SIGTERM (\-15) signal and wait for it to die on its own\&.
    236386.PP
    237 nmbd
     387\FCnmbd\F[]
    238388will accept SIGHUP, which will cause it to dump out its namelists into the file
    239 namelist\&.debug
     389\FCnamelist\&.debug \F[]
    240390in the
    241 /usr/local/samba/var/locks
     391\FC/usr/local/samba/var/locks\F[]
    242392directory (or the
    243 var/locks
     393\FCvar/locks\F[]
    244394directory configured under wherever Samba was configured to install itself)\&. This will also cause
    245 nmbd
     395\FCnmbd\F[]
    246396to dump out its server database in the
    247 log\&.nmb
     397\FClog\&.nmb\F[]
    248398file\&.
    249399.PP
     
    263413\fBtestparm\fR(1),
    264414\fBtestprns\fR(1), and the Internet RFC\'s
    265 rfc1001\&.txt,
    266 rfc1002\&.txt\&. In addition the CIFS (formerly SMB) specification is available as a link from the Web page
     415\FCrfc1001\&.txt\F[],
     416\FCrfc1002\&.txt\F[]\&. In addition the CIFS (formerly SMB) specification is available as a link from the Web page
    267417http://samba\&.org/cifs/\&.
    268418.SH "AUTHOR"
Note: See TracChangeset for help on using the changeset viewer.