Re: Updating Samba

From: Paul Mather <paul_at_gromit.dlib.vt.edu>
Date: Sun, 29 Jan 2023 15:30:24 UTC
On Jan 29, 2023, at 10:07 AM, Gerard E. Seibert <jerry@seibercom.net> wrote:

> On Sun, 29 Jan 2023 14:14:42 +0100, Andrea Venturoli stated:
>> On 1/29/23 12:57, Gerard E. Seibert wrote:
>> 
>>> Before I update to the newer version, I wonder if anyone else has
>>> done so and if there are any gotchas I should be looking for?  
>> 
>> WRT to FreeBSD, if you're running Samba in a jail, you'll need 
>> additional jail permissions for Samba in order for it to work.
>> 
>> Otherwise, this is more a question for Samba, than for FreeBSD.
>> Samba has so many functions/options/deployment/etc... that it is 
>> difficult to answer your question without additional info.
> 
> I am interested in knowing if my existing 'smb4.conf' file is still
> valid  or do I have to make major edits of it to work with the newer
> version. I can find quite a bit about Samba and its improvements over
> the years, but hardly anything when it comes to how Samba, especially
> the newer versions, interact with FreeBSD. There appears to be forty or
> so patches applied to Samba 4.16.8. Obviously, Samba is not a simple
> drop-in application on FreeBSD.


I switched over to Samba 4.16 just by flipping DEFAULT_VERSIONS to "samba=4.16" in my make.conf file used by Poudriere to build my packages.  I didn't have to make any changes to my existing smb4.conf file, but then I don't do anything complicated with Samba.

I've been using Samba 4.16 (on FreeBSD 13) since shortly after it became available as a port.

Cheers,

Paul.