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