Click the Restart button.

Using the Red Hat Samba Server Configuration tool Red Hat Linux includes a handy GNOME-based configuration tool that simplifies the task of configuring Samba. To start it, choose Main Menu➪ System Settings➪Server Settings➪Samba Server. When you do, the Samba Server Configuration window appears, as shown in Figure 21-3. This tool lets you configure basic server settings and manage shares. To make your Samba server visible on the network, choose Preferences➪ Server Settings. This brings up a dialog box that lets you set the workgroup name which much match the workgroup or domain name you want the Samba server to belong to and a description for the server, as well as some basic security settings that control how users can access the Samba server. You can set four basic types of security for your Samba server: ⻬ Domain: This mode configures the Samba server to use a Windows domain controller to verify the user. If you specify this option, you must provide the name of the domain controller in the Authentication Server field. Also, you must set Encrypted Passwords to Yes if you use Domain mode. ⻬ Server: This mode configures Samba to use another Samba server to authenticate users. If you have more than one Samba server, this feature lets you set up user accounts on just one of the servers. Then, in the Authentication Server field, specify the name of the Samba server that you want to perform the authentication. Figure 21-3: Using the Samba Server Configura- tion tool. 312 Part IV: Network Operating Systems ⻬ Share: This mode authorizes users separately for each share they attempt to access. ⻬ User: This is the default mode. It requires that users provide a valid user- name and password when they first connect to a Samba server. That authentication then grants them access to all shares on the server, sub- ject to the restrictions of the account they are authorized under. You must create a separate Samba user account for each network user who needs to access the Samba server. In addition, you must first create a Linux user account for each user. The Samba user account maps to an existing Linux user account; you must create the Linux user account first. To create a Samba user account, choose Preferences➪Samba Users from the Samba Server Configuration window. This brings up the Samba Users dialog box. You can use this dialog box to add, edit, or delete users. To be useful, a file server should offer one or more shares — directories that have been designated as publicly accessible via the network. Again, you use the Samba Server Configuration program to manage your shares. To add a share, click the Add button in the Samba Server Configuration program’s tool- bar. This brings up the Add Share dialog box. You can then enter the path for the directory you want to share, as well as a description for the share and whether you want to allow read-only or read-write access. You can also click the Access tab if you want to set limits on access for example, to specific users. When you create a new share using the Samba Configuration program, the share should be immediately visible to other network users. If not, try restart- ing the Samba server, as described in the section “Starting and Stopping Samba” earlier in this chapter. 313

Chapter 21: Using a Linux Server