Solved Samba version selection help

So I want to host a Samba server on my FreeBSD system but I'm having some trouble. The handbook only mentions Samba v416 but I've noticed a v419 has been posted since. My first instinct is to download v419 since it's newer and might have some important security or compatibility updates but, when I tried to install it it ran into some conflicts with my exciting packages.

Code:
root@ketflat1:~ # pkg install samba419
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    ldb28: 2.8.2
    samba419: 4.19.9_4

Number of packages to be installed: 2

The process will require 86 MiB more space.
16 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/2] Fetching ldb28-2.8.2.pkg: 100%  229 KiB 234.5kB/s    00:01  
[2/2] Fetching samba419-4.19.9_4.pkg: 100%   15 MiB  16.1MB/s    00:01  
Checking integrity... done (4 conflicting)
  - ldb28-2.8.2 conflicts with samba416-4.16.11_5 on /usr/local/lib/python3.11/site-packages/_ldb_text.py
  - ldb28-2.8.2 conflicts with samba416-4.16.11_5 on /usr/local/lib/python3.11/site-packages/_ldb_text.py
  - samba419-4.19.9_4 conflicts with samba416-4.16.11_5 on /usr/local/share/man/man8/vfs_fruit.8.gz
  - samba419-4.19.9_4 conflicts with samba416-4.16.11_5 on /usr/local/share/man/man8/vfs_fruit.8.gz
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 7 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
    gvfs: 1.50.2_3
    samba416: 4.16.11_5
    thunar: 4.20.1
    xfce: 4.20
    xfce4-desktop: 4.20.0

New packages to be INSTALLED:
    ldb28: 2.8.2
    samba419: 4.19.9_4

Number of packages to be removed: 5
Number of packages to be installed: 2

The operation will free 12 MiB.

Proceed with this action? [y/N]:

Is it safe to run v416? Is v416 compatible with my up to date Windows 10 system? I get these might be dense questions but I'm quite new to this.

Thanks in advance!

Edit: I've just noticed Samba v416 comes preinstalled. Does that mean I should definitely use v416?
 
The current default version of samba in ports is 4.16 so every other package is build against this version. If you want to use the newer version of samba 4.19 then you need to stop using pkgs and build all software from ports.

Samba 4.16 is compatible with Windows 10.
 
Back
Top