Troubles accessing samba LAN shares on an ubuntu server

  • Hello everyone!

    I need some help on configuring kodi to access a samba share on a ubuntu machine. So far it always fails with an "Software caused connection abort" error message.

    The server shows that kodi is connected:

    Code
    Samba version 4.19.5-Ubuntu
    PID     Username     Group        Machine                                   Protocol Version  Encryption           Signing
    ----------------------------------------------------------------------------------------------------------------------------------------
    10564   kodi         kodi         moviebox (ipv4:192.168.0.56:60142)        SMB3_11           -                    partial(AES-128-GMAC)

    But "NT_STATUS_CONNECTION_DISCONNECTED" seems to be the reason the whole thing fails:

    Any idears what i am doing wrong?

    Server:

    Distributor ID: Ubuntu
    Description: Ubuntu 24.04.1 LTS
    Release: 24.04
    Codename: noble

    Kodi:

    LibreELEC (official): 12.0.1 (RPi4.aarch64)

  • chewitt Sorry, I mixed up client and server.

    taproots This seems to be the cause:

    Quote
    Code
    [2024/11/01 11:52:28.900990,  3] source3/smbd/smb2_negprot.c:345(smbd_smb2_request_process_negprot)
     Selected protocol SMB3_11

    On your Ubuntu Samba server, add/edit this at /etc/samba/smb.conf:

    Code
    client min protocol = SMB2
    client max protocol = SMB3

    Then restart the Samba server: sudo service smbd restart