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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.