On 7/29/26 20:07,
fre...@vanderzwan.org wrote:
>>> Can I just do pkg remove samba419 followed by pkg install samba423 ?
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...
>>> Or are there issues to expect ? And where can I find documentation of those issues ?
At the very least you should read the release notes. There are very few
FreeBSD specific items.
>> Maybe configuration has changed, you should read the release notes for Samba. Then removing the old one and installing the new one is fine.
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.
>> Do a backup of you old config first, so you can revert if needed.
>>
>
> I run samba in a jail and the jails are snapshotted using sanoid every hour so rolling back is easy.
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.
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.
bye
av.