环境

Ubuntu14

windows共享目录//172.16.10.126/user2/

 

1.安装smbclient

2.smbclient -L //IP地址 -U 用户名”查看一下该用户共享权限下的共享情况。

Ubuntu 挂载windows共享文件夹

报错:NT_STATUS_CONNECTION_RESET

解决:

打开/etc/samba/smb.conf文件,在global标签下增加如下两个参数项:

client min protocol = CORE

client max protocol = SMB3

3.创建挂载点

mkdir -p /mnt/share126

4.挂载

mount -t cifs -o user=guest,password=1 //172.16.10.126/user2/mnt/share126/

Ubuntu 挂载windows共享文件夹

出错:mount: Host is down

修改:

mount -t cifs -o vers=2.0,user=guest,password=1 //172.16.10.126/user2 /mnt/share126/

cd出去挂载点在进入发现成功

成功

Ubuntu 挂载windows共享文件夹

 

 

相关文章:

  • 2021-05-22
  • 2021-12-25
  • 2022-01-05
  • 2021-08-05
  • 2021-04-30
  • 2022-01-29
  • 2021-11-23
猜你喜欢
  • 2021-11-30
  • 2021-10-09
  • 2021-06-03
  • 2022-01-18
  • 2022-01-29
  • 2021-07-17
相关资源
相似解决方案