I am struggling to mount a windows 2008 share on a CentOS 6.4 (64 bits) server
when I use smbclient it works:
<code>smbclient //esb.local/dfs -U ESBSertal -W ESB -P MyPassword</p><p></code>
but with mount it does not. I tried on the command line:
<code>mount.cifs //esb.local/dfs -o username=ESBSertal,password=MyPassword,domain=ESB /mnt/win</p><p></code>
and adding a line to /etc/fstab
<code>//esb.local/dfs /mnt/win cifs username=ESBSertal,password=MyPassword,domain=ESB 0 0</p><p></code>
in both cases I get the same error:
<code>mount.cifs //esb.local/dfs -o username=ESBSertal,password=MyPassword,domain=ESB /mnt/win</p><p>mount error(13): Permission denied</p><p>Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)</p><p></code>
and for fstab
<code>mount -a</p><p>mount error(13): Permission denied</p><p>Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)</p><p></code>
I am grateful for your support.
just an update: this is executed as root. neither as root nor sudo work
Micha
来源URL:http://serverfault.com/questions/508573/mount-error13-permission-denied-with-windows-share