samba Error NT_STATUS_CONNECTION_REFUSED Failed to connect with SMB1 — no workgroup available

Error connecting to a colleague’s Shared service:
Smbclient-l ip-u user
WARNING: The “syslog” option is deprecated
Enter WORKGROUP\administrator’s password:
Sharename Type the Comment
— — — — — — — — — — — — — — — — —

XXX XXX Disk remote management Shared Disk default IPC remote IPC

XXX XXX Disk Logon server share
XXX Disk Logon server share
share_dir Disk
Reconnecting with SMB1 for workgroup listing.
Connection To IP failed (Error nt_status_connection_union)
failed to connect with SMB1 — no workgroup available
 
The problem was located for a long time, and finally it was found that the problem could be ignored and accessed directly by using the following instructions:
The smbclient// IP/share_dir -u administrator

Read More: