码迷,mamicode.com
首页 > Windows程序 > 详细

linux访问 window的共享文件夹

时间:2017-07-13 16:30:53      阅读:299      评论:0      收藏:0      [点我收藏+]

标签:值班   cifs   word   source   win   cti   linux   ice   username   

linux:centos7

windows:windows server 2008 ip:192.168.200.3


[sirius@centos ~]$ sudo mkdir /mnt/200_3
[sirius@centos ~]$ sudo smbclient -L //192.168.200.3 -U administrator
Enter administrator‘s password:
Domain=[WHYB] OS=[Windows Server 2008 R2 Enterprise 7601 Service Pack 1] Server=[Windows Server 2008 R2 Enterprise 6.1]

Sharename Type Comment
--------- ---- -------
FTP Disk
IPC$ IPC 远程 IPC
Connection to 192.168.200.3 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
NetBIOS over TCP disabled -- no workgroup available
[sirius@centos ~]$ sudo mount -t cifs -o username=administrator,password=bdadmin //192.168.200.3/ftp /mnt/200_3

[sirius@centos ~]$ ls /mnt/200_3
ISO Software Thumbs.db 值班表 公司通讯录 
[sirius@centos ~]$ 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/新建文件夹 /mnt/200_5_newfold cifs defaults,username=administrator,password=bdadmin 0 0

 

linux访问 window的共享文件夹

标签:值班   cifs   word   source   win   cti   linux   ice   username   

原文地址:http://www.cnblogs.com/rb258/p/7160214.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!