SMB, SMB2 : STATUS_ACCESS_DENIED for Session setup command
Issue
mount.cifs
fails with EACCES(13) error :
# mount -t cifs -o credentials=/root/.credentials //192.168.1.5/myshare /mnt
mount error(13): Permission denied
smbclient
command successfully list share contents with the same credentials
Environment
- RHEL7, RHEL8
- Windows server exporting CIFS share
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.