From d7fbe5a1006287ab982fd65ce961d4c95d1d993c Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Tue, 21 Sep 2004 00:11:53 +0000 Subject: [PATCH] Add documentation on netbios node-type, clarify NetBIOS-less ops. --- docs/Samba-HOWTO-Collection/NetworkBrowsing.xml | 60 +++++++++++++++++++++---- 1 file changed, 52 insertions(+), 8 deletions(-) diff --git a/docs/Samba-HOWTO-Collection/NetworkBrowsing.xml b/docs/Samba-HOWTO-Collection/NetworkBrowsing.xml index 3c33ad94b27..5dbfddce4ba 100644 --- a/docs/Samba-HOWTO-Collection/NetworkBrowsing.xml +++ b/docs/Samba-HOWTO-Collection/NetworkBrowsing.xml @@ -147,6 +147,8 @@ parameters is set, nmbd will still do its job. Discussion +SMB-based messaging +NetBIOS All MS Windows networking uses SMB-based messaging. SMB messaging may be implemented with or without NetBIOS. MS Windows 200x supports NetBIOS over TCP/IP for backwards compatibility. Microsoft appears intent on phasing out NetBIOS support. @@ -156,10 +158,14 @@ out NetBIOS support. NetBIOS over TCP/IP +encapsulating +broadcast +unicast +UDP Samba implements NetBIOS, as does MS Windows NT/200x/XP, by encapsulating it over TCP/IP. MS Windows products can do likewise. NetBIOS-based networking uses broadcast messaging to effect browse list management. When running NetBIOS over TCP/IP, this uses UDP-based messaging. -UDP messages can be broadcast or uni-cast. +UDP messages can be broadcast or unicast. @@ -172,19 +178,48 @@ implements browse list collation using uni-cast UDP. -The methods and order of methods used by MS Windows to perform name lookup requests (name resolution) -is determined by a configuration parameter called the netbios node-type. +The methods used by MS Windows to perform name lookup requests (name resolution) is determined by a +configuration parameter called the netbios node-type. There are four (4) basic NetBIOS node types: + + +b-node +p-node +m-node +h-node +node-type +WINS +broadcast +unicast + + b-node (type 0x01): The Windows client will use only + NetBIOS broadcast requests using UDP broadcast. + p-node (type 0x02): The Windows client will use point-to-point + (NetBIOS unicast) requests using UDP unicast directed to a WINS server. + m-node (type 0x04): The Windows client will first use + NetBIOS broadcast requests using UDP broadcast, then it will use (NetBIOS unicast) + requests using UDP unicast directed to a WINS server. + h-node (type 0x08): The Windows client will use + (NetBIOS unicast) requests using UDP unicast directed to a WINS server, then it will use + NetBIOS broadcast requests using UDP broadcast. + + + +Hybrid +The default Windows network client (or server) network configuration enables NetBIOS over TCP/IP +and b-node configuration. The use of WINS makes most sense with h-node (Hybid mode) operation so that +in the event of a WINS breakdown or non-availability the client can use broadcast based name resolution. -Secondly, in those networks where Samba is the only SMB server technology, -wherever possible nmbd should be configured on one machine as the WINS +LMBLocal Master Browser +Local Master Browser +In those networks where Samba is the only SMB server technology, wherever possible +nmbd should be configured on one machine as the WINS server. This makes it easy to manage the browsing environment. If each network segment is configured with its own Samba WINS server, then the only way to get cross-segment browsing to work is by using the -LMBLocal Master Browser -Local Master Browser -remote announce and the remote browse sync +remote announce and the +remote browse sync parameters to your &smb.conf; file. @@ -292,6 +327,15 @@ the use of BIND9 is preferred for its ability to adequately support the SRV (ser records that are needed for Active Directory. + +Use of raw SMB over TCP/IP (No NetBIOS layer) can be done only with Active +Directory domains. Samba is not an Active Directory Domain Controller: ergo, +it is not possible run Samba as a domain controller and at the same time NOT use +NetBIOS. Where Samba is used as an Active Directory Domain Member Server (DMS) +it is possible to configure Samba to not use NetBIOS over TCP/IP. A Samba DMS +can integrate fully into an Active Directory domain. + + -- 2.11.4.GIT