Ubuntu – Samba: Software caused connection abort

14.04file-sharingsambasmb

I am trying to create samba file server (Ubuntu 14.04) on my local network,
I can connect to samba server from another Ubuntu 14.04 and enter the shared folder as a guest, but after creating a directory I'm getting following error:

Software caused connection abort

The point is that when I re-enter the shared folder I can see the created directory! So I have required write and read permissions,

I have tried different forms of configuration in smb.conf with no success,
even when I share a directory by right-clicking and selecting local network share from the context menu, I will face the same error!

Also when I do the same procedure using smbclient:

NT_STATUS_CONNECTION_DISCONNECTED making remote directory \test
smb: \> SMBecho failed (NT_STATUS_CONNECTION_DISCONNECTED). The connection is disconnected now

Best Answer

According to the Arch wiki this might be caused by deactivation of SMB1. SMB1 is deactivated by default since Samba 4.11 (at least on Arch). Adding the following to /etc/samba/smb.conf might solve to error:

[global]
client min protocol = CORE
Related Question