smbclient error NT_STATUS_ACCESS_DENIED for user which has write permission on CIFS share

Solution Unverified - Updated -

Issue

  • Configured Samba to share /DIR as a writeable CIFS share
    Used smbpasswd to create Samba user someuser (which is mapped to a system user that has write permissions to /DIR)
    Using smbclient to log in as someuser and create a file fails with error NT_STATUS_ACCESS_DENIED

Environment

  • Red Hat Enterprise Linux 6
  • 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