Any time you use


CAUTION
Any time you use a GUI to change a plain-text configuration file (as you do with SWAT), you may lose some of the information that you put in by hand. In this case, SWAT deletes comment lines and rearranges other entries. To protect changes you have made manually, make a backup copy of your /etc/samba/smb.conf file before you edit it with SWAT.


Creating Global Samba Settings in SWAT
A group of global settings affects how file and print sharing are generally accomplished on a Samba server. These settings appear under the [global] heading in the /etc/samba/smb.conf file. Tonview and edit global variables, click the GLOBALS button on the SWAT window. Seven types of options are available: base, security, logging, tuning, printing, browse, and WINs.


NOTE Each option relates to the exact parameters used in the /etc/samba/smb.conf file. You can refer to the smb.conf man page (type man smb.conf) to get more information on these parameters.


Base Options
The following options relate to basic information associated with your Samba server: Workgroup - The name of the workgroup associated with the group of SMB hosts. By default, the value for this field is WORKGROUP.


Realm - If you are using kerberos authentication, this value indicates the kerberos realm to use. Typically, that is reflected by the hostname of the server providing the service.


NetBIOS name - The name assigned to this Samba server. You can use the same name as your DNS hostname or make it blank, in which case the DNS hostname is used auto- matically. Your DNS hostname is filled in for you by default.


NetBIOS alias - Enables you to set a way of referring to a host computer (an alias) that is different from the host's TCP/IP DNS name.


Server string - A string of text identifying the server. This name appears in places such as the printer comment box. By default, it says Samba and the version number.


Interfaces - Enables you to set up more than one network interface and let Samba browse several different subnetworks. The form of this field can be IP Address/Subnetwork Mask . Or, you could identify a network interface (such as eth0 for the first Ethernet card on your computer). For example, a Class C network address may appear as: 192.168.24.11/255.255.255.0


Menu