• Trouble with Samba 4.23 after 14.4 -> 15.1 upgrade

    From Andrea Venturoli@ml@netfence.it to muc.lists.freebsd.ports on Tue Jul 14 11:32:59 2026
    From Newsgroup: muc.lists.freebsd.ports

    Hello.

    I'm heavily using Samba and I use Nagios to monitor it: a script
    periodically writes a file to a dedicated share and deletes it, so I'm informed early of any failure.

    After upgrading a 14.4 machine to a 15.1 this started to fail.
    Notice my fileserver is in a jail.

    I tracked this down to the following:
    smbclient -m smb2 -W domain -U user //server/share password
    Try "help" to get a list of possible commands.
    smb: \> put testfile
    putting file testfile as \testfile (2411.4 kb/s) (average 2411.5 kb/s)
    smb: \> ls
    NT_STATUS_CONNECTION_DISCONNECTED listing \*
    smb: \>

    smbclient -m smb2 -W domain -U user //server/share password
    Try "help" to get a list of possible commands.
    smb: \> ls
    NT_STATUS_CONNECTION_DISCONNECTED listing \*
    smb: \>

    Going the fileserver side:
    root@fileserver:/share
    ls
    testfile
    lsextattr user testfile
    testfile DOSATTRIB

    Now the interesting thing:
    rmextattr user DOSATTRIB testfile

    Back to the client:
    smbclient -m smb2 -W domain -U user //server/share password
    Try "help" to get a list of possible commands.
    smb: \> ls
    . D 0 Tue Jul 14 11:23:11 2026
    .. D 0 Tue Jul 14 11:23:11 2026
    testfile N 22224 Tue Jul 14 11:23:11 2026

    949166087 blocks of size 1024. 948339257 blocks available




    So, having a file with DOSATTRIB seems to break smbclient.
    This didn't happen on 14.4.

    Before I start digging into the logs and getting mad with gdb, does
    anyone have any hypotesis?
    What has changed between 14.4 and 15.1 WRT extended attributes on ZFS?

    bye & Thanks
    av.


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Andrea Venturoli@ml@netfence.it to muc.lists.freebsd.ports on Tue Jul 14 11:43:41 2026
    From Newsgroup: muc.lists.freebsd.ports

    On 7/14/26 11:32, Andrea Venturoli wrote:
    After upgrading a 14.4 machine to a 15.1 this started to fail.

    One correction!
    This did not start when I upgraded 14.4 -> 15.1

    It started after "pkg upgrade -f" which installed the same packages,
    built by the same Poudriere with the same options, but for 15.1
    Packages compiled for 14.4 worked! :-O

    bye
    av.


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2