Command Line - Red Hat ENTERPRISE LINUX 5 - DEPLOYMENT Deployment Manual

Hide thumbs Also See for ENTERPRISE LINUX 5 - DEPLOYMENT:
Table of Contents

Advertisement

Chapter 20. Samba
Figure 20.2. SMB Machines in Nautilus
Figure 20.2, "SMB Machines in
Nautilus", there is an icon for each machine
As you can see from
within the workgroup. Double-click on an icon to view the Samba shares on the machine. If a
username and password combination is required, you are prompted for them.
Alternately, you can also specify the Samba server and sharename in the Location: bar for Nautilus
using the following syntax (replace <servername> and <sharename> with the appropriate values):
smb://<servername>/<sharename>

20.3.1. Command Line

To query the network for Samba servers, use the findsmb command. For each server found, it
displays its IP address, NetBIOS name, workgroup name, operating system, and SMB server version.
To connect to a Samba share from a shell prompt, type the following command:
smbclient //<hostname>/<sharename> -U <username>
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 Enter if no password 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
268

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 5 - DEPLOYMENT and is the answer not in the manual?

Questions and answers

Table of Contents