linux查看访问windows共享目录NT_STATUS_DUPLICATE_NAME问题解决
[jason@superfreak ~]$ smbclient //powerhouse-smb.mydomain.com/LogFiles -U doctor
Enter doctor’s password:
Domain=[POWERHOUSE] OS=[Windows Server 2008 R2 Standard 7601 Service Pack 1] Server=[Windows Server 2008 R2 Standard 6.1]
tree connect failed: NT_STATUS_DUPLICATE_NAME
问题原因是windows机器不允许通过别名访问,把别名换成IP就可以了。或者通过打补丁或修改注册表修复些问题。
参考:https://support.microsoft.com/zh-cn/kb/281308
smbclient //10.201.192.12/LogFiles -U doctor
另附:提示NT_STATUS_LOGON_FAILTURE,原因是用户名或密码错误。
挂载共享目录:
CentOS系列
------------------------------------------
mount -t cifs -o username='***',passwd='***' //192.168.1.101/TMP_Share /mnt/share
mount -t cifs username=julianz,password=123456 //192.168.11.51/deamon /mnt/win/
-------------------------------------------