From 27aef6855f1543547b8190f06fd264d1b52a558d Mon Sep 17 00:00:00 2001
From: Jelmer Vernooij
Note: MS Windows 2000 and later can be configured to operate with NO NetBIOS +>MS Windows 2000 and later can be configured to operate with NO NetBIOS over TCP/IP. Samba-3 and later also supports this mode of operation. |
Normally, only unicast UDP messaging can be forwarded by routers. The -"remote announce" parameter to smb.conf helps to project browse announcements -to remote network segments via unicast UDP. Similarly, the "remote browse sync" -parameter of smb.conf implements browse list collation using unicast UDP.
remote announce +parameter to smb.conf helps to project browse announcements +to remote network segments via unicast UDP. Similarly, the +remote browse sync parameter of smb.conf +implements browse list collation using unicast UDP.Secondly, in those networks where Samba is the only SMB server technology wherever possible nmbd should be configured on one (1) machine as the WINS server. This makes it easy to manage the browsing environment. If each network segment is configured with it's own Samba WINS server, then the only way to -get cross segment browsing to work is by using the "remote announce" and -the "remote browse sync" parameters to your smb.conf file.
remote announce and the remote browse sync +parameters to your smb.conf file.If only one WINS server is used for an entire multi-segment network then -the use of the "remote announce" and the "remote browse sync" parameters -should NOT be necessary.
As of Samba-3 WINS replication is being worked on. The bulk of the code has +the use of the remote announce and the +remote browse sync parameters should NOT be necessary.
As of Samba 3 WINS replication is being worked on. The bulk of the code has been committed, but it still needs maturation.
Right now samba WINS does not support MS-WINS replication. This means that when setting up Samba as a WINS server there must only be one nmbd configured as a WINS server on the network. Some sites have used multiple Samba WINS -servers for redundancy (one server per subnet) and then used "remote browse -sync" and "remote announce" to affect browse list collation across all +servers for redundancy (one server per subnet) and then used +remote browse sync and remote announce +to affect browse list collation across all segments. Note that this means clients will only resolve local names, and must be configured to use DNS to resolve names on other subnets in order to resolve the IP addresses of the servers they can see on other @@ -140,7 +198,7 @@ CLASS="SECT1" >
Where a WINS server is used, the MS Windows client will use UDP unicast to register with the WINS server. Such packets can be routed @@ -185,14 +247,23 @@ will annoy users because they will have to put up with protracted inability to use the network services.
Samba supports a feature that allows forced synchonisation -of browse lists across routed networks using the "remote -browse sync" parameter in the smb.conf file. This causes Samba -to contact the local master browser on a remote network and +of browse lists across routed networks using the remote +browse sync parameter in the smb.conf file. +This causes Samba to contact the local master browser on a remote network and to request browse list synchronisation. This effectively bridges two networks that are separated by routers. The two remote networks may use either broadcast based name resolution or WINS -based name resolution, but it should be noted that the "remote -browse sync" parameter provides browse list synchronisation - and +based name resolution, but it should be noted that the remote +browse sync parameter provides browse list synchronisation - and that is distinct from name to address resolution, in other words, for cross subnet browsing to function correctly it is essential that a name to address resolution mechanism be provided. @@ -207,21 +278,40 @@ CLASS="SECT1" >
The "remote announce" parameter of smb.conf can be used to forcibly ensure +>The remote announce parameter of +smb.conf can be used to forcibly ensure that all the NetBIOS names on a network get announced to a remote network. -The syntax of the "remote announce" parameter is: +The syntax of the remote announce parameter is:
remote announce = a.b.c.d [e.f.g.h] ...remote announce = a.b.c.d [e.f.g.h] ... _or_
remote announce = a.b.c.d/WORKGROUP [e.f.g.h/WORKGROUP] ...remote announce = a.b.c.d/WORKGROUP [e.f.g.h/WORKGROUP] ... where: @@ -231,7 +321,14 @@ where: CLASS="VARIABLELIST" >
is either the LMB (Local Master Browser) IP address @@ -246,7 +343,10 @@ undesirable but may be necessary if we do NOT know the IP address of the remote LMB.
is optional and can be either our own workgroup @@ -265,30 +365,49 @@ CLASS="SECT1" >
The "remote browse sync" parameter of smb.conf is used to announce to +>The remote browse sync parameter of +smb.conf is used to announce to another LMB that it must synchronise it's NetBIOS name list with our Samba LMB. It works ONLY if the Samba server that has this option is simultaneously the LMB on it's network segment.
The syntax of the "remote browse sync" parameter is: +>The syntax of the remote browse sync parameter is:
remote browse sync = a.b.c.dremote browse sync = a.b.c.d -where a.b.c.d is either the IP address of the remote LMB or else is the network broadcast address of the remote segment.a.b.c.d is either the IP address of the remote LMB or else is the network broadcast address of the remote segment.
lmhosts files that must reside on all clients in the +absence of WINS.
WINS also serves the purpose of forcing browse list synchronisation by all LMB's. LMB's must synchronise their browse list with the DMB (domain master @@ -330,8 +453,15 @@ machines that have not registered with a WINS server will fail name to address lookup attempts by other clients and will therefore cause workstation access errors.
To configure Samba as a WINS server just add "wins support = yes" to the -smb.conf file [globals] section.
To configure Samba as a WINS server just add +wins support = yes to the smb.conf +file [globals] section.To configure Samba to register with a WINS server just add "wins server = a.b.c.d" to your smb.conf file [globals] section.