SMB, SMB2 : STATUS_ACCESS_DENIED for Session setup command

Solution In Progress - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content