Linux Access window's shared folder

Source: Internet
Author: User

Linux:centos7

Windows:windows Server ip:192.168.200.3


[email protected] ~]$ sudo mkdir/mnt/200_3
[email protected] ~]$ sudo smbclient-l//192.168.200.3-u administrator
Enter Administrator ' s password:
DOMAIN=[WHYB] os=[windows server R2 Enterprise 7601 Service Pack 1] server=[windows Server R2 Enterprise 6.1]

Sharename Type Comment
--------- ---- -------
FTP Disk
ipc$ IPC Remote IPC
Connection to 192.168.200.3 failed (Error nt_status_resource_name_not_found)
NetBIOS over TCP Disabled--no workgroup available
[email protected] ~]$ sudo mount-t cifs-o username=administrator,password=bdadmin//192.168.200.3/ftp/mnt/200_3

[Email protected] ~]$ Ls/mnt/200_3
ISO Software thumbs.db Watch Company Directory
[Email protected] ~]$ Sodu Vi/etc/fstab

Add

192.168.200.3/ftp/mnt/200_3 CIFS defaults,username=administrator,password=bdadmin 0 0
192.168.200.5/vbexe/mnt/200_5_exe CIFS defaults,username=administrator,passworkd=bdadmin 0 0
192.168.200.5/new Folder/mnt/200_5_newfold cifs defaults,username=administrator,password=bdadmin 0 0

Linux Access window's shared folder

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.