[RHEL 6] CIFS VFS: Send error in SessSetup = -13
Issue
- Not able to mount CIFS share.
[root@server1 ~]# mount -vvv -t cifs -o username=shrusr01 //winserver1/Diapason_Test /opt/shared
mount: fstab path: "/etc/fstab"
mount: mtab path: "/etc/mtab"
mount: lock path: "/etc/mtab~"
mount: temp path: "/etc/mtab.tmp"
mount: UID: 0
mount: eUID: 0
mount: spec: "//winserver1/Diapason_Test"
mount: node: "/opt/shared"
mount: types: "cifs"
mount: opts: "username=shrusr01"
final mount options: 'username=shrusr01'
mount: external mount: argv[0] = "/sbin/mount.cifs"
mount: external mount: argv[1] = "//winserver1/Diapason_Test"
mount: external mount: argv[2] = "/opt/shared"
mount: external mount: argv[3] = "-v"
mount: external mount: argv[4] = "-o"
mount: external mount: argv[5] = "rw,username=shrusr01"
Password:
mount.cifs kernel mount options: ip=10.10.10.1,unc=\\winserver1/Diapason_Test,,ver=1,user=shrusr01,pass=********
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
- Logs in /var/log/messages:
Jan 22 12:45:10 server1 kernel: CIFS VFS: Send error in SessSetup = -13
Jan 22 12:45:10 server1 kernel: CIFS VFS: cifs_mount failed w/return code = -13
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Windows 2003 Server
- Windows 2008 Server
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
