SMB, SMB2 : STATUS_ACCESS_DENIED for Session setup command
Issue
-
The
mount.cifscommand fails withEACCESerror :# mount -t cifs -o credentials=/root/.credentials //192.168.1.5/share /mountpoint mount error(13): Permission denied -
smbclientcommand successfully list share contents with the same credentials.
Environment
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
- SMB/CIFS
- Windows Server
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.