Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Administration Guide
Prev Next
Chapter 15. Samba
Samba uses the SMB protocol to share
files and printers across a network
connection. Operating systems that
support this protocol include Microsoft
Windows, OS/2, and Linux.
The Red Hat Enterprise Linux 4 kernel
contains Access Control List (ACL)
support for ext3 file systems. If the
Samba server shares an ext3 file system
with ACLs enabled for it, and the kernel
on the client system contains support for
reading ACLs from ext3 file systems, the
client automatically recognizes and uses
the ACLs.
15.1. Why Use Samba?
Samba is useful if you have a network
of both Windows and Linux machines.
Samba allows files and printers to be
shared by all the systems in a network.
To share files between Linux machines
only, use NFS as discussed in Chapter
14 Network File System (NFS). To
share printers between Linux
machines only, you do not need to use
Samba; refer to Chapter 26 Printer
Configuration.
Prev Home Next
Additional Up Configuring
Resources a Samba
Server
Red Hat Enterprise Linux
4: System Administration
Guide
Chapter 15.
Prev Samba Next
15.2. Configuring a Samba Server
The default configuration file
(/etc/samba/smb.conf) allows users to
view their home directories as a Samba
share. It also shares all printers
configured for the system as Samba
shared printers. In other words, you can
attach a printer to the system and print to
it from the Windows machines on your
network.
15.2.1. Graphical Configuration
To configure Samba using a graphical
interface, use the Samba Server
Configuration Tool. For command line
configuration, skip to Section 15.2.2
Command Line Configuration.
The Samba Server Configuration Tool is a
graphical interface for managing Samba
shares, users, and basic server settings.
It modifies the configuration files in the
/etc/samba/ directory. Any changes to
these files not made using the application
are preserved.
To use this application, you must be
running the X Window System, have root
privileges, and have the system-config-
samba RPM package installed. To start
the Samba Server Configuration Tool from
the desktop, go to the Main Menu Button
(on the Panel) => System Settings =>
Server Settings => Samba or type the
command system-config-samba at a shell
prompt (for example, in an XTerm or a
GNOME terminal).
Figure 15-1. Samba Server Configuration
Tool
Note
Note
Tip