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

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).

-

本文最后更新于 2011-06-13 18:59:27 并被添加「linux cifs mount linux命令」标签,已有 79315 位童鞋阅读过。
本文作者:未来往事
本站使用「署名 4.0 国际」创作共享协议,可自由转载、引用,但需署名作者且注明文章出处

相关文章

已有 6 条评论
  1. 坏坏男

    来你这里还是有好处的哈哈。可以多学东西。

    坏坏男 error: 102
    1. Rinald

      @坏坏男

      呵呵   那以后就常来哈   多多支持

      Rinald error: 102
  2. zxy

    hi,如果没有域名怎么办,

    zxy error: 102
    1. Rinald

      @zxy

      Are you sure you really understand the content?

      Rinald error: 102
  3. ruixiang

    非常感谢 解决了我的问题

    ruixiang error: 102
  4. abc

    回复zxy:   In case of No Domain try to put your <MachineName> there  这没显示  <MachineName>!!

    abc error: 102

此处评论已关闭