The redhat-config-samba Alternative

The redhat-config-samba Alternative

SWAT can seem overwhelming. There is a simpler, though less flexible, way to configure your computer as a Samba server: redhat-config-samba . Install the redhat-config-samba RPM if required, and then run the program with the same name . You should see a tool similar to Figure 29.19.

click to expand
Figure 29.19: redhat-config-samba      

This tool reads its initial settings from your current smb.conf file. The settings you see in Figure 29.19 reflect some of the shared directories from the packaged smb.conf file.


The redhat-config-samba tool is fairly new, and its features are still subject to significant changes. Use it carefully . SWAT is a more mature tool and is at least my preferred choice.

In the following sections, we ll look at configuring basic server settings, managing Samba users, and creating a new share.

Server Settings

In redhat-config-samba , click Preferences ˜ Server Settings to get to the Server Settings dialog box shown in Figure 29.20. As you can see, the basic server settings are simple, and the options should be familiar from previous sections. Since the Workgroup textbox is blank, the workgroup variable is set to the default, which is WORKGROUP; the server comment is "Mike s Samba Server."

Figure 29.20: The Basic tab of the Server Settings dialog box

Click the Security tab to see several key security variables . Remember, you can select between SHARE, USER , SERVER, or DOMAIN authentication modes. If you ve selected SERVER or DOMAIN, you ll get to specify the name of the authentication server. Most current Windows servers use encrypted passwords. The Guest Account is an account you can designate in /etc/passwd , such as guest or ftp. These options are illustrated in Figure 29.21.

Figure 29.21: The Security tab of the Server Settings dialog box

User Management

You can manage users in redhat-config-samba . In this tool, click Preferences Samba Users to get to the Samba Users dialog box shown in Figure 29.22.

Figure 29.22: Managing Samba users

The options are fairly self-explanatory; you can add, edit, or delete users from the /etc/samba/ smbusers database. Click Add User to see the Create New Samba User dialog box. If you remember the discussion on the smbadduser command earlier in this chapter, you ll recognize the text boxes shown in Figure 29.23; the information that you need is identical.

Figure 29.23: The Create New Samba User dialog box

Creating a New Share

You can add a new directory share with redhat-config-samba . In this tool, click the Add button to reveal the Create Samba Share dialog box. There are several options shown in Figure 29.24.

Figure 29.24: The Create Samba Share dialog box

The options are fairly straightforward, but since they don t directly match the variables described earlier, we ve summarized each option under the Basic tab in Table 29.11.

Table 29.11: Creating a Samba Share




Specifies the directory that you want to share.


Calls a Select Directory dialog box to help you find the directory that you want to share.


Corresponds to an smb.conf comment.


Remote users aren t permitted to write to this directory.


Remote users are allowed to write to this directory.

Under the Access tab, you can allow access to specified users from what you ve added to the /etc/samba/smbusers file, or allow access to all users.


Mastering Red Hat Linux 9
Building Tablet PC Applications (Pro-Developer)
ISBN: 078214179X
EAN: 2147483647
Year: 2005
Pages: 220 © 2008-2017.
If you may any questions please contact us: