While accessing samba share, getting 'NT_STATUS_CONNECTION_REFUSED' error.
Issue
- Trying to access samba share gives following error:
Error connecting to x.x.x.x (Connection refused)
Connection to x.x.x.x failed (Error NT_STATUS_CONNECTION_REFUSED)
- samba share access via
smbclientcommand fails with an error below:
[root@sambaserver ~]# smbclient //sambaserver.example.com/sharename -U username
Password for [SAMBA\username]:
do_connect: Connection to sambaserver failed (Error NT_STATUS_CONNECTION_REFUSED)
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 10
- Samba
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.