Unable to access Samba shares with errors : "tree connect failed: NT_STATUS_INVALID_SID"

Solution Verified - Updated -

Issue

  • Unable to access Samba shares with errors : tree connect failed: NT_STATUS_INVALID_SID
smbclient //sama.example.com/PRISMS -U EXAMPLE\\user
Enter EXAMPLE\users's password: 

tree connect failed: NT_STATUS_INVALID_SID

Share definition on the smb.conf looks like below :

[share]
        comment = PRISMS Data
        path = /export/data/PRISMS
        public = no
        writable = yes
        browseable = yes
        printable = no
        write list = @ad_users
        read list = @ad_read
        force group = download
        force user = download

"Force User" specifies a UNIX user name that will be assigned as the default user of all the share.

Environment

  • Red Hat Enterprise Linux 7.0
  • samba-4.1.1-35.el7_0.x86_64

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