Connecting To A Samba Share - Red Hat LINUX 7.2 - OFFICIAL LINUX CUSTOMIZATION GUIDE Manual

Hide thumbs Also See for LINUX 7.2 - OFFICIAL LINUX CUSTOMIZATION GUIDE:
Table of Contents

Advertisement

116
printable = no
create mask = 0765
The above example allows the users tfox and carole to read and write to the directory /home/share,
on the Samba server, from a Samba client.

11.3 Connecting to a Samba Share

To connect to a Linux Samba share from a Microsoft Windows machine, use Network Neighborhood
or Windows Explorer.
To connect to a Samba share from a Linux system, from a shell prompt, type the following command:
smbclient // hostname / sharename -U username
You will need to replace hostname with the hostname or IP address of the Samba server you want
to connect to, sharename with the name of the shared directory you want to browse, and username
with the Samba username for the system. Enter the correct password or press
is required for the user.
If you see the smb:\> prompt, you have successfully logged in. Once you are logged in, type help
for a list of commands. If you wish to browse the contents of your home directory, replace sharename
with your username. If the -U switch is not used, the username of the current user is passed to the
Samba server.
To exit smbclient, type exit at the smb:\> prompt.
You can also use Nautilus to view available Samba shares on your network. On the GNOME desktop,
go to the
Main Menu Button
Nautilus window. Type smb: in the
As shown in Figure 11–1, SMB Browser in Nautilus, you will see an icon for each available SMB
workgroups on your network. To access one, double-click the icon for it.
(on the Panel) =>
Programs
bar.
Location:
Chapter 11:Samba
[Enter]
=>
=>
Applications
Nautilus
if no password
to open a

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux 7.2

Table of Contents