Trouble with Samba 4.23 after 14.4 -> 15.1 upgrade
Andrea Venturoli <[email protected]> Tue, 14 Jul 2026 11:32:59 +0200
| Newsgroups | gmane.os.freebsd.devel.ports |
|---|---|
| Message-ID | <[email protected]> |
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.