rinald_未来往事

Linux Mount CIFS 共享?mount error 13 = Permission denied

Linux
How to Mount a CIFS Share in Linux Environment? 

经常在我们挂载cifs共享时遇到mount error 13 = Permission denied这类错误,请耐心的阅读完本文,我相信你将会有所收获.


解释:?
mount.cifs - mount using the Common Internet File System (CIFS)


参数:
mount.cifs {service} {mount-point} [-o options]


I am getting sick and tired of this so called Smbfs replacement \"Cifs\". I have yet another error trying to mount a share on a Windows server 2003 standard edition machine. I get an error saying \"Permission denied\" despite entering the right credentials:

Code:
Cifs \"mount error 13 = Permission denied\" CIFS SUCKS

Most of people got this Permission Denied access when mounting a Windows Shared folder


following mounting ->

usually :
mount -t cifs //<MachineName>/<Shared Folder> /mnt/Shared -o username=<username>,password=<password>
give you error 13.


correct :
mount -t cifs //<MachineName>/<SharedFolder> /mnt/Shared -o username=<DomainName>/<username>,password=<password>


OR
mount.cifs //<MachineName>/<SharedFolder> /mnt/Shared -o username=<DomainName>/<username>,password=<password>

Yes! the only deference is \"domain name:\" is missing. In case of No Domain try to put your there.
cifs does not locate domain itself (I guess).

-
原文作者:rinald
原文地址:http://fity.cn/post/35.html
互联网技术更新较快,本站很多文章具有实效性,我会及时更新原文,但转载的文章无法通知更新。为了不给读者造成困惑或误导,请您在转载时保留此出处信息,尊重别人也是尊重自己。

已有6位网友发表了看法:

1L坏坏男 2011-09-05 10:05:21 回复
来你这里还是有好处的哈哈。可以多学东西。
1Lrinald 2011-09-05 10:19:31 回复
@坏坏男 呵呵   那以后就常来哈   多多支持
2Lzxy 2012-09-11 11:16:36 回复
hi,如果没有域名怎么办,
2Lrinald 2012-11-07 11:55:27 回复
@zxy Are you sure you really understand the content?
3Lruixiang 2014-03-14 15:06:02 回复
非常感谢 解决了我的问题
4Labc 2014-07-05 11:05:59 回复
回复zxy:   In case of No Domain try to put your <MachineName> there  这没显示  <MachineName>!!

发表评论

必填

选填

选填

必填

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。