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.
22.3.2. Mounting the Share
Sometimes it is useful to mount a Samba share to a directory so that the files in the directory can be
treated as if they are part of the local file system.
To mount a Samba share to a directory, create the directory if it does not already exist, and execute
the following command as root:
mount -t smbfs -o username=<username> //<servername>/<sharename>/mnt/point/
This command mounts <sharename> from <servername> in the local directory /mnt/point/.
22.4. Additional Resources
For configuration options not covered here, please refer to the following resources.
22.4.1. Installed Documentation
• smb.conf man page — explains how to configure the Samba configuration file
• smbd man page — describes how the Samba daemon works
• smbclient and findsmb man pages — learn more about these client tools
• /usr/share/doc/samba-<version-number>/docs/ — help files included with the samba
package
22.4.2. Useful Websites
http://www.samba.org/
•
mailing lists, and a list of GUI interfaces.
http://www.samba.org/samba/docs/using_samba/toc.html
•
Edition by Jay Ts, Robert Eckstein, and David Collier-Brown; O'Reilly &Associates
— The Samba webpage contains useful documentation, information about
— an online version of Using Samba, 2nd
Mounting the Share
223
Need help?
Do you have a question about the ENTERPRISE LINUX 4 and is the answer not in the manual?
Questions and answers