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

-

相关文章

已有 6 条评论
  1. 坏坏男

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

    坏坏男
    1. Rinald

      @坏坏男

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

      Rinald
  2. zxy

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

    zxy
    1. Rinald

      @zxy

      Are you sure you really understand the content?

      Rinald
  3. ruixiang

    非常感谢 解决了我的问题

    ruixiang
  4. abc

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

    abc

此处评论已关闭