NT_STATUS_ACCESS_DENIED listing \* - Access denied to samba share locally from Linux server

Solution Verified - Updated -

Issue

  • Getting access denied while listing files while accessing samba share locally from Linux server:
# smbclient //example.com.local/smbtest -U username -d10
Password for [EXAMPLE\USERNAME]:
Try "help" to get a list of possible commands.
smb: \> ls
NT_STATUS_ACCESS_DENIED listing \*     <----
smb: \>

Environment

  • Red Hat Enterprise Linux 8
  • Samba

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