Re: Samba versions in ports and updating to newer version

[email protected] Thu, 30 Jul 2026 11:59:27 +0200
Newsgroups gmane.os.freebsd.questions
Message-ID <[email protected]>
Hi
My Samba server has very limited use, TimeMachine for 2 Mac and some =
filesharing on my local LAN.
So I removed samba419 and installed samba423, which seems to work fine, =
except for for some logging about Apple metadata.
Removed some vfs_fruit settings to go back to defaults and the logs are =
quiet now.

Cheers.
	Paul


> On 30 Jul 2026, at 08:05, Andrea Venturoli <[email protected]> wrote:
>=20
> On 7/29/26 20:07, [email protected] wrote:
>=20
>>>> Can I just do pkg remove samba419 followed by pkg install samba423 =
?
>=20
> Most of the times it works, but Samba is so vast, with hundreds of =
configuration tweaks, that it's impossible to tell without knowing your =
setup, your config, your network...
>=20
>>>> Or are there issues to expect ? And where can I find documentation =
of those issues ?
>=20
> At the very least you should read the release notes. There are very =
few FreeBSD specific items.
>=20
>>> Maybe configuration has changed, you should read the release notes =
for Samba. Then removing the old one and installing the new one is fine.
>=20
> If you do, don't remember to run testparm, after the upgrade and =
before starting Samba, and check the logs just after you start it.
>=20
>=20
>=20
>>> Do a backup of you old config first, so you can revert if needed.
>>>=20
>> I run samba in a jail and the jails are snapshotted using sanoid =
every hour so rolling back is easy.
>=20
> This is 99% true.
> Alas, Samba is a network software, so it also interacts with other =
machines and in some edge-cases just rolling back a single one might not =
work.
>=20
>=20
>=20
> P.S.
> Some people say 4.16 is the last version that works/has been fully =
tested on FreeBSD.
> I personally only use 4.22 and 4.23 without any trouble.
> I hope others will move on, so that more testing is done.
>=20
>=20
>=20
> bye
> 	av.
>=20