Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
YaST's Samba Server module can be found in the "Network Services" section of the YaST menus, or can be started using the command yast2 samba-server.
As with other Samba modules, the Samba Server module behaves differently according to whether YaST finds a previous configuration already in existence or not. If there is no previous configuration it runs as a wizard asking essential questions until it has the information to create a configuration. If a previous configuration already exists, it allows you to make modifications. The functionality in each case is almost the same. Here we look at a previously created configuration. There are three tabs on the main screen. The left-hand tab allows you to set whether the Samba services are started at boot time or manually (see Figure 18-7).
The right-hand tab (see Figure 18-8) controls the way the Samba server interacts with the Windows network. Here you can choose the Workgroup or Domain name and the NetBIOS host name (in other words the "Windows name" for the server). You can also choose whether this server is to act as a domain controller (for more information on this, see below). If you click Advanced Settings, you can define authentication sources. By default, Samba users are authenticated through the smbpasswd file (described later in this chapter) but LDAP and other authentication sources are possible.
On the middle tab (see Figure 18-9) you can define the actual shares that the server offers. A default set of shares is already defined here, through reading the default configuration file. These include the shares that give access to the home directories of all users, and the printers share. In this dialog you can add new directories to share and set options on each share. The dialog where you edit the details of a share requires some knowledge of the syntax of Samba's configuration file, but the YaST developers have made it easier for you by offering a drop-down box containing the keywords that can go into any section of the configuration file (see Figure 18-10).