标签:值班 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
标签:值班 cifs word source win cti linux ice username
原文地址:http://www.cnblogs.com/rb258/p/7160214.html