Linuxconf: SAMBA Global Share Configuration: Networking

Next Previous Contents

## 6. Networking

## 6.1 OS level

This integer value controls what level Samba advertises itself as for browse elections. See BROWSING.txt for details.

## 6.2 Preferred Master

This boolean parameter controls if Samba is a preferred master browser for its workgroup. If this is set to true, on startup, samba will force an election, and it will have a slight advantage in winning the election. It is recommended that this parameter is used in conjunction with Domain master set on, so that samba can guarantee becoming a domain master.

Use this option with caution, because if there are several hosts (whether samba servers, Windows 95 or NT) that are preferred master browsers on the same subnet, they will each periodically and continuously attempt to become the local master browser. This will result in unnecessary broadcast traffic and reduced browsing capabilities.

See OS level.

Default: Off

## 6.3 Domain Master

Enable WAN-wide browse list collation. Local master browsers on broadcast-isolated subnets will give samba their local browse lists, and ask for a complete copy of the browse list for the whole wide area network. Browser clients will then contact their local master browser, and will receive the domain-wide browse list, instead of just the list for their broadcast-isolated subnet.

Default: Off

## 6.4 Remote announce

This option allows you to setup nmbd to periodically announce itself to arbitrary IP addresses with an arbi trary workgroup name.

This is useful if you want your Samba server to appear in a remote workgroup for which the normal browse propagation rules don't work. The remote workgroup can be anywhere that you can send IP packets to.

For example:

Remote announce: 192.168.2.255/SERVERS 192.168.4.255/STAFF

the above line would cause nmbd to announce itself to the two given IP addresses using the given workgroup names. If you leave out the workgroup name then the one given in the "workgroup" option is used instead.

The IP addresses you choose would normally be the broad cast addresses of the remote networks, but can also be the IP addresses of known browse masters if your network con fig is that stable.

This option replaces similar functionality from the nmbd lmhosts file.

## 6.5 Enable samba as a WINS server

## 6.6 WINS server

If there is a WINS (Windows Name server) operating on your network, enter its IP here. This will tell samba to register with it and use it later to convert netbios names to IP numbers.

## 6.7 Interfaces

Normally, Samba will only operate on the first network. To let Samba operate on more networks, you must enter here the IP number of each network interface separated by spaces.

Next Previous Contents