自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

nmbd 中文man頁面

系統(tǒng)
nmbd 是一個(gè)回應(yīng)構(gòu)造于IP之上的NetBIOS名字服務(wù)請(qǐng)求的服務(wù)器,這些請(qǐng)求由SMBD/CIFS 客戶(如Windows 95/98、NT和LanManager客戶)產(chǎn)生。當(dāng)然它也參與構(gòu)造Windows的"網(wǎng)絡(luò)鄰居”查看的瀏覽協(xié)議。

NAME

nmbd - 向客戶端提供構(gòu)造在IP之上的NetBIOS名字服務(wù)的NetBIOS名字服務(wù)器  

總覽 SYNOPSIS

nmbd [-D] [-F] [-S] [-a] [-i] [-o] [-h] [-V][-d <debug level>] [-H <lmhosts file>] [-l <log directory>][-n <primary netbios name>] [-p <port number>] [-s <configuration file>]
    

描述 DESCRIPTION

此程序是 Samba(7) 套件的一部分。

nmbd 是一個(gè)回應(yīng)構(gòu)造于IP之上的NetBIOS名字服務(wù)請(qǐng)求的服務(wù)器,這些請(qǐng)求由SMBD/CIFS 客戶(如Windows 95/98、NT和LanManager客戶)產(chǎn)生。當(dāng)然它也參與構(gòu)造Windows的"網(wǎng)絡(luò)鄰居”查看的瀏覽協(xié)議。

當(dāng)SMB/CIFS客戶機(jī)啟動(dòng)時(shí),會(huì)試圖查找一個(gè)SMB/CIFS服務(wù)器。說得更精確些就是它們要知道正在使用的主機(jī)對(duì)應(yīng)的IP地址。

在其它的服務(wù)中,nmbd 將監(jiān)聽這樣的請(qǐng)求,如果客戶自身的NetBIOS名字已被指定的話就用正在運(yùn)行的主機(jī)IP地址回復(fù)它。這個(gè)“自身的NetBIOS名字”在默認(rèn)情況下將是正在運(yùn)行的主機(jī)在 DNS中的名字,但可以用 -n 參數(shù)(查看后面關(guān)于OPTIONS的描述)越過它。從而nmbd 將用它自已的名字來回應(yīng)廣播查詢。要讓 nmbd 回應(yīng)額外名字的話可以在smb.conf(5)配置文件中通過參數(shù)來設(shè)定。

nmbd 也可用作一個(gè)WINS(Windows互聯(lián)網(wǎng)名稱服務(wù))服務(wù)器。它作為WINS數(shù)據(jù)庫服務(wù)器運(yùn)作時(shí),用名字注冊(cè)請(qǐng)求來建立一個(gè)數(shù)據(jù)庫以接收和回應(yīng)客戶對(duì)這些名字的查詢。

另外,nmbd 也可以作WINS代理,轉(zhuǎn)發(fā)用戶不能直接以WINS協(xié)議和WINS服務(wù)器交談的廣播查詢。

選項(xiàng) OPTIONS

-D
如果指定這個(gè)參數(shù)的話,將使 nmbd 作為一個(gè)后臺(tái)守護(hù)程序運(yùn)行。這樣,它分配本身的進(jìn)程在后臺(tái)運(yùn)行,并監(jiān)視適當(dāng)?shù)亩丝谡?qǐng)求。在默認(rèn)情況下, nmbd 通常以命令行方式啟動(dòng),后臺(tái)運(yùn)行。 nmbd 也能通過inetd 這個(gè)超級(jí)守護(hù)程序來啟動(dòng),但不推薦這樣做。
-F
If specified, this parameter causes the main nmbd process 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 nmbd under process supervisors such as supervise and svscan from Daniel J. Bernstein's daemontools package, or the AIX process monitor.
-S
If specified, this parameter causes nmbd to log to standard output rather than a file.
-i
If 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. nmbd also logs to standard output, as if the -S parameter had been given.
-h|--help
Print a summary of command line options.
-H <filename>
指定NetBIOS的lmhosts文件。 NetBIOS的lmhosts文件是一份NetBIOS名字到IP地址對(duì)應(yīng)關(guān)系的列表, nmbd服務(wù)器將會(huì)通過在smb.conf (5)文件中name resolve order描述的名字解析機(jī)制來裝入和使用這個(gè)文件,以便讓服務(wù)器解析可能的NetBIOS名字查詢。注意到nmbd并用這個(gè)文件的內(nèi)容來回答可能的名字查詢。在這個(gè)文件中添加內(nèi)容只會(huì)影響本計(jì)算機(jī)的NetBIOS名字解析。

這個(gè)文件的默認(rèn)存放路徑已被作為編譯處理的一部分加入到samba中了。通常默認(rèn)路徑是
 /usr/local/samba/lib/lmhosts/usr/samba/lib/lmhosts 或是 /etc/samba/lmhosts。 在lmhosts (5)手冊(cè)頁中查找描述此文件的詳細(xì)內(nèi)容。

-V
打印出nmbd的版本信息。
-s <configuration file>
The 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 smb.conf for more information. The default configuration file name is determined at compile time.
-d|--debug=debuglevel
debuglevel 是一個(gè)從0到10的整數(shù)。如果沒有指定此參數(shù)則默認(rèn)的值是0。

如果這個(gè)值越高,越多關(guān)于服務(wù)器的詳細(xì)活動(dòng)信息將被記錄到文件中。在0調(diào)試級(jí)時(shí),只記錄緊急錯(cuò)誤和嚴(yán)重警告。對(duì)于日以即日地運(yùn)行服務(wù),1調(diào)試級(jí)是個(gè)合理的等級(jí),它只產(chǎn)生一定數(shù)量的關(guān)于執(zhí)行操作的信息。

1以上的調(diào)試級(jí)將產(chǎn)生相當(dāng)多的記錄數(shù)據(jù),并且只在研究問題時(shí)才有用。3以上的調(diào)試級(jí)只被設(shè)計(jì)為讓開發(fā)者使用并會(huì)產(chǎn)生極大數(shù)量的記錄數(shù)據(jù),而且其中很多部分非常難以理解。

注意在此使用這個(gè)參數(shù)將越過在smb.conf 文件中的log level 參數(shù)。

-l|--logfile=logbasename
用參數(shù)-l可以指定一個(gè)帶路徑的文件名作為記錄文件,并會(huì)在你給出的名稱后自動(dòng)加上 ".client"的擴(kuò)展名。The log file is never removed by the client.
-p <UDP port number>
UDP端口號(hào)是一個(gè)正整數(shù)。 這個(gè)選項(xiàng)來改變nmbd響應(yīng)查詢的默認(rèn)UDP端口號(hào)(通常它是 137) 。除非你是位這方面的專家,否則請(qǐng)不要用這個(gè)選項(xiàng)改變它。

文件 FILES

/etc/inetd.conf
如果你用 inetd 這個(gè)超級(jí)守護(hù)程序來運(yùn)行nmbd服務(wù)器,那么必須在這個(gè)文件中包含適當(dāng)?shù)膯?dòng)參數(shù)和信息。
/etc/rc
(也可以是你的系統(tǒng)所用的其它初始化腳本)

如果將nmbd當(dāng)作服務(wù),在啟動(dòng)時(shí)運(yùn)行,這個(gè)文件必須包含合適的服務(wù)啟動(dòng)順序。

/etc/services
If running the server via the meta-daemon 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).
/usr/local/samba/lib/smb.conf
這是服務(wù)器配置文件 smb.conf(5) 默認(rèn)的存放位置。 系統(tǒng)安裝配置文件通常的一些其它位置也可能是 /usr/samba/lib/smb.conf/etc/samba/smb.conf。

當(dāng)nmbd被用作WINS服務(wù)器時(shí)(參見 smb.conf(5) 手冊(cè)頁中對(duì) wins support 參數(shù)的描述), nmbd 將會(huì)把WINS數(shù)據(jù)庫文件wins.dat寫到 var/locks 目錄下。

如果 nmbd 作為 主瀏覽器 (參見smb.conf (5)手冊(cè)頁中對(duì)local master參數(shù)的描述),nmbd將會(huì)把瀏覽數(shù)據(jù)庫browse.dat 寫到var/locks目錄下。

信號(hào) SIGNALS

我們 推薦你使用SIGKILL (-9)來終止nmbd進(jìn)程除非這是***的方法,因?yàn)檫@樣做可能導(dǎo)致名字?jǐn)?shù)據(jù)庫不一致。正確的方法是發(fā)送SIGTERM (-15)信號(hào)并等待程序自行結(jié)束。

nmbd 可以接受SIGHUP信號(hào),這樣程序?qū)衙智鍐螌懭胛挥?i>/usr/local/samba/var/locks (或是var/locks)目錄下的namelist.debug文件,同時(shí)這個(gè)信號(hào)也將導(dǎo)致程序把服務(wù)器的數(shù)據(jù)庫寫入log.nmb文件。

另外,nmbd程序的調(diào)試記錄等級(jí)也可以通過smbcontrol(1) 調(diào)高或者調(diào)低。(向程序發(fā)送一個(gè)SIGUSR1信號(hào)(kill -USR1 <nmbd-pid>)或SIGUSR2信號(hào)(kill -USR2 <nmbd-pid>)的方法在Samba2.2 中已經(jīng)不再使用。) 通過使用這樣的方法可以診斷一些暫時(shí)的問題,同時(shí)仍然可以在一個(gè)正常的并且較低的記錄等級(jí)來運(yùn)行。

版本 VERSION

此手冊(cè)頁是針對(duì)samba套件版本3.0的。

參見 SEE ALSO

inetd(8), smbd(8), smb.conf(5), smbclient(1), testparm(1), testprns(1)還有互聯(lián)網(wǎng)草案 rfc1001.txt, rfc1002.txt. 另外,CIFS (從前的 SMB) 規(guī)約可以在 http://samba.org/cifs/網(wǎng)頁上找到鏈接。

#p#

NAME

nmbd - NetBIOS name server to provide NetBIOS over IP naming services to clients  

SYNOPSIS

nmbd [-D] [-F] [-S] [-a] [-i] [-o] [-h] [-V] [-d <debug level>] [-H <lmhosts file>] [-l <log directory>] [-p <port number>] [-s <configuration file>]

DESCRIPTION

 

This program is part of the samba(7) suite.

nmbd is 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.

SMB/CIFS clients, when they start up, may wish to locate an SMB/CIFS server. That is, they wish to know what IP number a specified host is using.

Amongst other services, nmbd will 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 netbios name in smb.conf. Thus nmbd will reply to broadcast queries for its own name(s). Additional names for nmbd to respond on can be set via parameters in the smb.conf(5) configuration file.

nmbd can 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.

In addition, nmbd can act as a WINS proxy, relaying broadcast queries from clients that do not understand how to talk the WINS protocol to a WINS server.

OPTIONS

-D
If specified, this parameter causesnmbd to operate as a daemon. That is, it detaches itself and runs in the background, fielding requests on the appropriate port. By default, nmbd will operate as a daemon if launched from a command shell. nmbd can also be operated from the inetd meta-daemon, although this is not recommended.
-F
If specified, this parameter causes the main nmbd process 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 runningnmbd under process supervisors such as supervise and svscan from Daniel J. Bernstein's daemontools package, or the AIX process monitor.
-S
If specified, this parameter causesnmbd to log to standard output rather than a file.
-i
If 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. nmbd also logs to standard output, as if the -S parameter had been given.
-h|--help
Print a summary of command line options.
-H <filename>
NetBIOS lmhosts file. The lmhosts file is a list of NetBIOS names to IP addresses that is loaded by the nmbd server and used via the name resolution mechanism name resolve order described in smb.conf(5) to resolve any NetBIOS name queries needed by the server. Note that the contents of this file are NOT used by nmbd to answer any name queries. Adding a line to this file affects name NetBIOS resolution from this host ONLY.

The default path to this file is compiled into Samba as part of the build process. Common defaults are /usr/local/samba/lib/lmhosts,/usr/samba/lib/lmhosts or/etc/samba/lmhosts. See the lmhosts(5) man page for details on the contents of this file.

-V
Prints the program version number.
-s <configuration file>
The 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 smb.conf for more information. The default configuration file name is determined at compile time.
-d|--debug=debuglevel
debuglevel is an integer from 0 to 10. The default value if this parameter is not specified is zero.

The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.

Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.

Note that specifying this parameter here will override the log level parameter in the smb.conf file.

-l|--logfile=logdirectory
Base directory name for log/debug files. The extension ".progname" will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.
-p <UDP port number>
UDP port number is a positive integer value. This option changes the default UDP port number (normally 137) that nmbd responds to name queries on. Don't use this option unless you are an expert, in which case you won't need help!
 

FILES

/etc/inetd.conf
If the server is to be run by theinetd meta-daemon, this file must contain suitable startup information for the meta-daemon.
/etc/rc
or whatever initialization script your system uses).

If running the server as a daemon at startup, this file will need to contain an appropriate startup sequence for the server.

/etc/services
If running the server via the meta-daemon 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).
/usr/local/samba/lib/smb.conf
This is the default location of the smb.conf(5) server configuration file. Other common places that systems install this file are /usr/samba/lib/smb.conf and /etc/samba/smb.conf.

When run as a WINS server (see thewins support parameter in the smb.conf(5) man page),nmbd will store the WINS database in the file wins.dat in the var/locks directory configured under wherever Samba was configured to install itself.

If nmbd is acting as a browse master (see the local master parameter in the smb.conf(5) man page, nmbd will store the browsing database in the file browse.dat in the var/locks directory configured under wherever Samba was configured to install itself.

 

SIGNALS

To shut down an nmbd process it is recommended that SIGKILL (-9) NOT be used, except as a last resort, as this may leave the name database in an inconsistent state. The correct way to terminate nmbd is to send it a SIGTERM (-15) signal and wait for it to die on its own.

nmbd will accept SIGHUP, which will cause it to dump out its namelists into the file namelist.debug in the /usr/local/samba/var/locks directory (or the var/locks directory configured under wherever Samba was configured to install itself). This will also cause nmbd to dump out its server database in the log.nmb file.

The debug log level of nmbd may be raised or lowered using smbcontrol(1) (SIGUSR[1|2] signals are no longer used since Samba 2.2). This is to allow transient problems to be diagnosed, whilst still running at a normally low log level.

VERSION

This man page is correct for version 3.0 of the Samba suite.

SEE ALSO

inetd(8), smbd(8), smb.conf(5), smbclient(1), testparm(1), testprns(1), and the Internet RFC's rfc1001.txt, rfc1002.txt. In addition the CIFS (formerly SMB) specification is available as a link from the Web page http://samba.org/cifs/.

 

責(zé)任編輯:韓亞珊 來源: CMPP.net
相關(guān)推薦

2011-08-15 10:21:09

man中文man

2011-08-24 16:48:36

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-11 15:03:21

ACCESS中文man

2011-08-11 15:28:43

ali中文man

2011-08-11 16:31:49

biff中文man

2011-08-11 16:48:04

cal中文man

2011-08-11 17:16:43

cce中文man

2011-08-11 17:21:47

chattr中文man

2011-08-11 17:27:20

charset中文man

2011-08-11 18:05:04

chvt中文man

2011-08-11 18:13:07

clear中文man

2011-08-11 18:41:29

cpio中文man

2011-08-12 09:05:09

dd中文man

2011-08-12 09:13:02

df中文man

2011-08-12 09:38:06

dircolors中文man

2011-08-12 09:44:37

dirname中文man

2011-08-12 10:03:57

du中文man

2011-08-12 10:20:02

echo中文man
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)