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:
cifs does not locate domain itself (I guess).
-
本文作者:未来往事
本站使用「署名 4.0 国际」创作共享协议,可自由转载、引用,但需署名作者且注明文章出处
来你这里还是有好处的哈哈。可以多学东西。
@坏坏男
呵呵 那以后就常来哈 多多支持
hi,如果没有域名怎么办,
@zxy
Are you sure you really understand the content?
非常感谢 解决了我的问题
回复zxy: In case of No Domain try to put your <MachineName> there 这没显示 <MachineName>!!