在我尝试在 Windows 2012 服务器上安装 SMB 共享时,这一直让我抓狂。共享就在那里,但每次我尝试安装它时都会收到以下错误
james-virtual-machine james # mount -t cifs //DOLA0056-WS/wssmbshare /samba/wssmbshare -o username=James
Password for James@//**DOLA0056-WS**/wssmbshare:
**mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)**
james-virtual-machine james # mount -t cifs //172.16.90.79/wssmbshare /samba/wssmbshare -o username=James
Password for James@//**172.16.90.79**/wssmbshare:
**mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)**
分享链接是\DOLA0056-WS\wssmbshare
域名是 nssDOLA0056.cst8242.com
用户 James 已获得完全控制权
这些是 /etc/samba/smb.conf 文件的内容
[global]
client man protocol = SMB2
#client ntlmv2 auth = yes
#client use spnego principal = no
#send spnego pricipal = no
workgroup = nssdola0056.cst8242.com
security = domain
netbios name = DOLA0056-LC
#server = access
#server string =
name resolve order = bcast host lmhosts wins
preferred master = no
log file = /var/log/samba/log.%m
this is the contents of the resolv.conf file
nameserver 172.16.90.79
search nssDOLA0056.cst8242.com
DNS appears to be working,
james-virtual-machine james # nslookup 172.16.90.79
Server: 172.16.90.79
Address: 172.16.90.79#53
79.90.16.172.in-addr.arpa name = ns.nssdola0056.cst8242.com.
79.90.16.172.in-addr.arpa name = dola0056-ws.nssdola0056.cst8242.com.
任何帮助将不胜感激。我用的是薄荷肉桂。