Hello,
I'm new of this forum and have a problem mounting cifs share (shared by win2003 server) to my test CentOS 7 box.
I have already tried all tips/trick/workaround founded by google but any of these as worked.
My fstab line is the following
//veeamserver/val /winshare cifs sec=ntlm,user,rw,suid,credentials=/root/secret.txt 0 0
credential.txt is
username=MYUSER
password=MYPASSWD
Also mount.cifs //veeamserver/val /winshare not works
smbclient -L veeamserver
and smbclient //veeamserver/val /winshare
are working
I'm working as root.
"mount -a" writes following in /var/log/messages
Jul 20 15:29:44 localhost kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
Jul 20 15:29:44 localhost kernel: CIFS VFS: Send error in SessSetup = -13
Jul 20 15:29:44 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -13
Does anyone can help me ?
thanks in advance
Davide
mount error(13): Permission denied mounting CIFS
Re: mount error(13): Permission denied mounting CIFS
Have found this https://goo.gl/4HBF1R post
and using sudo (even though I'm working as root) I'm able to manually mount my CIFS share.
sudo mount.cifs //veeamserver/val /winshare -o username=centos,sec=ntlm
Now the questionm is how to make fstab working.
Tnx.
and using sudo (even though I'm working as root) I'm able to manually mount my CIFS share.
sudo mount.cifs //veeamserver/val /winshare -o username=centos,sec=ntlm
Now the questionm is how to make fstab working.
Tnx.
Re: mount error(13): Permission denied mounting CIFS
/etc/fstab:
//192.168.x.y/val /winshare cifs auto,_netdev,x-systemd.automount,sec=ntlm,user,rw,suid,credentials=/root/secret.txt 0 0
credential.txt:
username=MYUSER
password=MYPASSWD
workgroup=MYWORKGROUPNAME
domain=MYWORKGROUPNAME
This article is a good read:
https://wiki.centos.org/TipsAndTricks/WindowsShares
//192.168.x.y/val /winshare cifs auto,_netdev,x-systemd.automount,sec=ntlm,user,rw,suid,credentials=/root/secret.txt 0 0
credential.txt:
username=MYUSER
password=MYPASSWD
workgroup=MYWORKGROUPNAME
domain=MYWORKGROUPNAME
This article is a good read:
https://wiki.centos.org/TipsAndTricks/WindowsShares
Re: mount error(13): Permission denied mounting CIFS
Poky,
is not working.
dmesg reports:
Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[155434.173507] CIFS VFS: Send error in SessSetup = -13
[155434.173597] CIFS VFS: cifs_mount failed w/return code = -13
is not working.
dmesg reports:
Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[155434.173507] CIFS VFS: Send error in SessSetup = -13
[155434.173597] CIFS VFS: cifs_mount failed w/return code = -13
Re: mount error(13): Permission denied mounting CIFS
- Permissions on secret.txt file: -rw-------
- Temporaly disable selinux:
setenforce 0
- Please check whitespace in /root/secret.txt
- Temporaly disable selinux:
setenforce 0
- Please check whitespace in /root/secret.txt
Re: mount error(13): Permission denied mounting CIFS
Hello,
I noticed you are invoking disctinct files:
/veeamserver/val /winshare cifs sec=ntlm,user,rw,suid,credentials=/root/secret.txt 0 0
credential.txt is....
Is your credential file credential.txt or secret.txt ?
I noticed you are invoking disctinct files:
/veeamserver/val /winshare cifs sec=ntlm,user,rw,suid,credentials=/root/secret.txt 0 0
credential.txt is....
Is your credential file credential.txt or secret.txt ?