Samba Server Configuration

Abstract

Samba is a software package which allows GNU/Linux to act as a file and/or printer server for Windows machines. This wizard will only help you configure public shares, not private shares (if you wish to do so, refer to the documentation in the Samba package).

Figure 19.8. Choose the work group for your shares

Choose the work group for your shares

Now you must enter the work group for which these shares will be available (Figure 19.8). You can either create a new work group or choose an existing one, but if you don't know what to do, please refer to your system administrator.

Figure 19.9. What name for your Samba server?

What name for your Samba server?

Then you will have to specify the name by which your Mandrake Linux server will be known to Windows machines, as shown in Figure 19.9. You may choose whatever name you want.

After that you have the option to restrict access to the Samba shares served by your server. Choose All if you don't want to restrict access or My rules if you want to define which machines are allowed to access the shares. You will be then asked to define the access rules.

Figure 19.10. Define the Samba access rules

Define the Samba access rules

Fill the fields according to the examples provided.

Figure 19.11. Share files and printers?

Share files and printers?

You finally need to decide whether you want to enable files and printer sharing, as shown in Figure 19.11. Here are the three available features:

Note

All the users that wish to access their home directory from other machines of the local network will have to set their password thanks to the smbpasswd command.