Samba configuration--in VMware and Windows directory sharing

Source: Internet
Author: User
Iv. Accessing Windows clients

After SMB startup, you can already access the machine running Windows without making any settings. There are now two machines, running Linux and Windows98, respectively, with the host name Redhat and Lily. Lily has the directory "download", has the printer "HP", the directory is set to "full access", the password is "ABC".

1, visit the shared directory on Lily.

The first step is to view the shared resources of Lily's machine, "Smbclient-l//lily", and when prompted, enter the password to list the resources available to Lily.
The second step, "Mkdir/mnt/download", establishes a directory under "/mnt".
The third step, "Mount-t smbfs-o username=abc,password=abc//lily/download/mnt/download", links the shared directory on Lily to Redhat's "/mnt/download" Below. Next, you can access the shared directory as you would with your local hard drive. You can also edit "/etc/rc.d/rc.local" to add "mount-t smbfs-o username=abc,password=abc//lily/download/mnt/download" to the last line of the file, so that As soon as the system starts, the shared directory is hooked up as well.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.