Unable to access Samba shares with errors : "tree connect failed: NT_STATUS_INVALID_SID"
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.