成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

nmbd 中文man頁面

系統
nmbd 是一個回應構造于IP之上的NetBIOS名字服務請求的服務器,這些請求由SMBD/CIFS 客戶(如Windows 95/98、NT和LanManager客戶)產生。當然它也參與構造Windows的"網絡鄰居”查看的瀏覽協議。

NAME

nmbd - 向客戶端提供構造在IP之上的NetBIOS名字服務的NetBIOS名字服務器  

總覽 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 是一個回應構造于IP之上的NetBIOS名字服務請求的服務器,這些請求由SMBD/CIFS 客戶(如Windows 95/98、NT和LanManager客戶)產生。當然它也參與構造Windows的"網絡鄰居”查看的瀏覽協議。

當SMB/CIFS客戶機啟動時,會試圖查找一個SMB/CIFS服務器。說得更精確些就是它們要知道正在使用的主機對應的IP地址。

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

nmbd 也可用作一個WINS(Windows互聯網名稱服務)服務器。它作為WINS數據庫服務器運作時,用名字注冊請求來建立一個數據庫以接收和回應客戶對這些名字的查詢。

另外,nmbd 也可以作WINS代理,轉發用戶不能直接以WINS協議和WINS服務器交談的廣播查詢。

選項 OPTIONS

-D
如果指定這個參數的話,將使 nmbd 作為一個后臺守護程序運行。這樣,它分配本身的進程在后臺運行,并監視適當的端口請求。在默認情況下, nmbd 通常以命令行方式啟動,后臺運行。 nmbd 也能通過inetd 這個超級守護程序來啟動,但不推薦這樣做。
-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地址對應關系的列表, nmbd服務器將會通過在smb.conf (5)文件中name resolve order描述的名字解析機制來裝入和使用這個文件,以便讓服務器解析可能的NetBIOS名字查詢。注意到nmbd并用這個文件的內容來回答可能的名字查詢。在這個文件中添加內容只會影響本計算機的NetBIOS名字解析。

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

-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 是一個從0到10的整數。如果沒有指定此參數則默認的值是0。

如果這個值越高,越多關于服務器的詳細活動信息將被記錄到文件中。在0調試級時,只記錄緊急錯誤和嚴重警告。對于日以即日地運行服務,1調試級是個合理的等級,它只產生一定數量的關于執行操作的信息。

1以上的調試級將產生相當多的記錄數據,并且只在研究問題時才有用。3以上的調試級只被設計為讓開發者使用并會產生極大數量的記錄數據,而且其中很多部分非常難以理解。

注意在此使用這個參數將越過在smb.conf 文件中的log level 參數。

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

文件 FILES

/etc/inetd.conf
如果你用 inetd 這個超級守護程序來運行nmbd服務器,那么必須在這個文件中包含適當的啟動參數和信息。
/etc/rc
(也可以是你的系統所用的其它初始化腳本)

如果將nmbd當作服務,在啟動時運行,這個文件必須包含合適的服務啟動順序。

/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
這是服務器配置文件 smb.conf(5) 默認的存放位置。 系統安裝配置文件通常的一些其它位置也可能是 /usr/samba/lib/smb.conf/etc/samba/smb.conf

當nmbd被用作WINS服務器時(參見 smb.conf(5) 手冊頁中對 wins support 參數的描述), nmbd 將會把WINS數據庫文件wins.dat寫到 var/locks 目錄下。

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

信號 SIGNALS

我們 推薦你使用SIGKILL (-9)來終止nmbd進程除非這是***的方法,因為這樣做可能導致名字數據庫不一致。正確的方法是發送SIGTERM (-15)信號并等待程序自行結束。

nmbd 可以接受SIGHUP信號,這樣程序將把名字清單寫入位于/usr/local/samba/var/locks (或是var/locks)目錄下的namelist.debug文件,同時這個信號也將導致程序把服務器的數據庫寫入log.nmb文件。

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

版本 VERSION

此手冊頁是針對samba套件版本3.0的。

參見 SEE ALSO

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

#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/.

 

責任編輯:韓亞珊 來源: CMPP.net
相關推薦

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 17:16:43

cce中文man

2011-08-11 18:05:04

chvt中文man

2011-08-11 18:13:07

clear中文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:20:02

echo中文man

2011-08-12 10:25:55

eject中文man

2011-08-12 11:07:19

git中文man

2011-08-12 13:18:19

head中文man

2011-08-12 13:49:23

hostid中文man

2011-08-12 13:54:46

hostname中文man

2011-08-12 14:53:56

kill中文man
點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 97国产精品视频 | 欧美性生活免费 | 亚洲国产精品视频 | 亚洲高清av | 久草院线 | 日韩精品在线观看一区二区 | 特黄视频 | 草樱av| 99久久国产综合精品麻豆 | 亚洲 自拍 另类 欧美 丝袜 | 成人免费视频网站在线观看 | 成年人精品视频在线观看 | 日韩激情视频一区 | 亚洲一区在线日韩在线深爱 | 久久专区 | 国产在线精品一区二区三区 | www.日本在线观看 | 日韩av福利在线观看 | 奇米久久久 | 国产小视频在线看 | 国产激情在线观看 | 在线中文av| 就操在线 | www.av在线| 一级看片免费视频囗交动图 | 日韩毛片在线免费观看 | 狠狠综合久久av一区二区小说 | 久久久爽爽爽美女图片 | 亚洲三区在线观看 | 一级做a爰片性色毛片 | 欧美www在线 | 成人精品视频99在线观看免费 | 国产精品视频免费观看 | 亚洲a在线观看 | 中文字幕 国产精品 | 欧美日韩亚洲视频 | 亚洲一区二区视频 | 精品乱码一区二区三四区 | 国产精品一区二区在线 | 久久成人高清视频 | 中文字幕一区二区三区四区 |