CVE and update status of the FreeBSD ports tree4,526 unaddressed CVEs in 616 portsAll times are CET

Port details

net/samba4164.16.11_13

Free SMB/CIFS and AD/DC server and client for Unix

Maintainer
samba@FreeBSD.org
Packages
samba416 4.16.11_13
Upstream
up to date
CPE
samba:samba
WWW
https://gitlab.com/samba-freebsd/
Links
cgit · VuXML

Unaddressed (12) · The CVE record lists this version as affected, no VuXML entry names the CVE

Updating to 4.21.0 would fix 11 of 12 unaddressed CVEs, according to the CVE records.
Fixed up to each version, cumulative: 4.17.0 2 · 4.17.12 7 · 4.18.9 8 · 4.19.2 9 · 4.21.0 11
CVE-2023-39619.12023-11-03A path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix domain sockets within a private directory. Samba typically us…
CVE-2026-44089.02026-05-28A flaw was found in Samba. A remote attacker can exploit a misconfiguration in Samba file servers and classic domain controllers that use the "check password script" fea…
CVE-2026-30128.02026-05-27A flaw was found in Samba’s certificate auto-enrollment Group Policy handling. When certificate auto-enrollment is enabled, Samba may retrieve a CA certificate over an u…
CVE-2023-41547.52023-11-07A design flaw was found in Samba's DirSync control implementation, which exposes passwords and secrets in Active Directory to privileged users and Read-Only Domain Contr…
CVE-2022-327437.52022-09-01Samba does not validate the Validated-DNS-Host-Name right for the dNSHostName attribute which could permit unprivileged users to write it.
CVE-2026-23406.52026-05-27A flaw was found in Samba’s vfs_worm module. The module is intended to provide write-once, read-many (WORM) protections by preventing modification of files after a confi…
CVE-2023-426696.52023-11-06A vulnerability was found in Samba's "rpcecho" development server, a non-Windows RPC server used to test Samba's DCE/RPC stack elements. This vulnerability stems from an…
CVE-2023-40916.52023-11-03A vulnerability was discovered in Samba, where the flaw allows SMB clients to truncate files, even with read-only permissions when the Samba VFS module "acl_xattr" is co…
CVE-2023-426706.52023-11-03A flaw was found in Samba. It is susceptible to a vulnerability where multiple incompatible RPC listeners can be initiated, causing disruptions in the AD DC service. Whe…
CVE-2023-55685.92023-10-25A heap-based Buffer Overflow flaw was discovered in Samba. It could allow a remote, authenticated attacker to exploit this vulnerability to cause a denial of service.
CVE-2022-16155.52022-09-01In Samba, GnuTLS gnutls_rnd() can fail and give predictable random values.
CVE-2018-146284.32023-01-17An information leak vulnerability was discovered in Samba's LDAP server. Due to missing access control checks, an authenticated but unprivileged attacker could discover …

VuXML only (0) · listed, port not fixed yet

None. pkg audit reports nothing for this version.

Fixed (3)

Show 3 fixed
VuXML entries whose affected range this version has left.

Commits (45)

Xavier Beaudouin (kiwi) · 4.16.11_13
net/samba4*: fix lmdb breakage

PR:		299660
Reported by:	Matthew Wener <matthew@wener.org>
Sponsored by:	Klara, Inc.
d5267ac859
Baptiste Daroussin (bapt)
databases/lmdb: allow to install both 0.x and 1.x together

LMDB 1.0 and the legacy 0.9 ABI cannot be mixed, the datanase format are
incompatibles as well.

Rename or relocate everything databases/lmdb0 installs so that it no
longer overlaps with databases/lmdb:
- the utilities are now mdb_copy0, mdb_dump0, mdb_load0 and mdb_stat0
- the header is include/lmdb0/lmdb.h
- the linker name is liblmdb0.so, the shared object keeps its ABI name
  liblmdb.so.0 so already linked programs are unaffected
- the pkg-config file is lmdb0.pc

A compatibility prefix holding the previous layout is also installed
under ${PREFIX}/lmdb0/ (include/, lib/ and libdata/pkgconfig/) so that
build systems which expect to find lmdb.h and -llmdb relative to a
single directory only need a path change.

Now all ports should migrate to lmdb 1.X and use the lmdb 0.9 port to ease
in the migration path, lmdb, the lmdb 0.x is supposed to get removed at
some point.

Approved by:	mat (portmgr)
Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D60741
85ba298b7e
Gleb Popov (arrowd)
*: Fix dependency on lmdb0
7a7dea4414
Xin LI (delphij)
databases/lmdb0: Add port for LMDB 0.9.x legacy ABI

LMDB 1.0 introduced an incompatible on-disk format change and subtle
API breakage: applications that compiled cleanly against 1.0 headers
could fail silently at run time. Known affected ports include dns/knot3,
mail/bogofilter, and mail/postfix; the postfix issue has been confirmed
upstream. Linux distributions such as Arch Linux have observed the same
breakage. Samba can also be affected in certain configurations.

Because the regression is not detectable in an -exp build run -- the
postfix failure only manifests at run time, and bogofilter was caught
only because post-build self-tests happen to exercise this path -- we
cannot rely on package builds to validate the 1.0 upgrade.

This commit introduces databases/lmdb0 as a holding port for the 0.9.35
release, pinned to the 0.x branch with PORTSCOUT=limit:^0. and mutually
conflicting with databases/lmdb, which retains 1.0. The two packages
cannot be installed simultaneously, but having lmdb0 available means:

* Ports known to require the 0.9 ABI can declare an explicit dependency
  on databases/lmdb0 until they are validated against 1.0.
* Users with existing databases in the 0.9 format can still access the
  mdb_dump and mdb_load utilities to migrate data before upgrading.
* The package conflict prevents accidental mixing.

All 50 direct dependents of databases/lmdb are redirected to
databases/lmdb0 for now with a PORTREVISION bump, effectively restoring
the tree to the state prior to the LMDB 1.0 update. Once all dependent
ports are validated against LMDB 1.0, they will be moved back to
databases/lmdb and databases/lmdb0 will be removed.

PR:             ports/296530
5f9d389f29
Dag-Erling Smørgrav (des)
net/samba416: Fix build with newer Python

PyEval_CallObjectWithKeywords() has been deprecated since Python 3.9 and
was removed in Python 3.13.  Add an upstream patch that replaces it with
PyObject_Call() and bump the upper Python version limit to 3.14.

Reviewed by:	kiwi
Differential Revision:	https://reviews.freebsd.org/D57713
654a7a02bb
Rene Ladan (rene)
all: drop support for FreeBSD 13, mips and risc64sf

Reviewed by:            many (*)
Differential Revision:  https://reviews.freebsd.org/D55624
Differential Revision:  https://reviews.freebsd.org/D55642 (merged in from bofh)

many (*)
  acm arrowd brooks cmt dch decke dinoex eduardo fluffy fuz gahr garga
  jbeich joerg jrm kai kenrap martymac matthew mfechner michaelo mizhka
  nobutaka pkubaj se tagattie thj

  Anton Saietskii
  GenericRikka
  Gert Doering
  Jan Bramkamp
  Oleh Hushchenkov
  Oleksandr Kryvulia
  Ralf van der Enden
  Yamagi

  desktop kde python tcltk office
2a7c056120
Mateusz Piotrowski (0mp)
net/samba416: opt out from Features/fortify.mk

[...]
sendfile support not found but it was requested !
(complete log in /wrkdirs/usr/ports/net/samba416/work-default/samba-4.16.11/bin/config.log)
===>  Script "configure" failed unexpectedly.
[...]

PR:	292388
786c4115b0
Daniel Engberg (diizzy)
treewide: Remove references to USES= fam and move to LIB_DEPENDS

Only a handful of ports in tree uses this helper which
used to make a switch between devel/fam and devel/gamin more
convenient. With devel/fam going away there's no need to maintain
this any further for a handful of ports.

Approved by:	blanket
97f98ba45c
Antoine Brodin (antoine)
net/samba416: fix build with python 3.12

PR:		285957
3ad823adbe
Antoine Brodin (antoine)
*: allow testing 3.12 as default python version

PR:		285957
8d81b85e23
Mateusz Piotrowski (0mp)
net/samba416: Deprecate without expiration date

This is meant to give notice to Samba users that 4.16 is not supported
anymore. There are still some ports depending on Samba 4.16 and we need
to start porting them to newer versions soon.

PR:	281312
ca0197ab25
Michael Osipov (michaelo)
net/samba416: Limit Python to max 3.11 because of distutils

Samba 4.16 still requires distutils which have been removed in Python 3.12.
Explicitly limit supported Python versions.

PR:		289224
Reviewed by:	0mp
Approved by:	otis (mentor), samba (0mp)
Differential Revision:	https://reviews.freebsd.org/D52331
9b27560d80
Juraj Lutter (otis)
net/samba416: Fix generated README.FreeBSD

Fix the substitution variable (AC_DC -> AD_DC)

Approved by:	arrowd
9e305ca0dc
Cy Schubert (cy)
net/samba416: Add support for MIT KRB5 in base

FreeBSD 15 will ship with MIT KRB5 in base. Detect this accordingly.

PR:		287597
exp-run by:	antoine
d94c7d4d80
Jason E. Hale (jhale)
*/*: Bump security/gpgme consumers
dbab074be0
Jason E. Hale (jhale)
security/gpgme: Update to 2.0.0

Upstream has split most of the bindings out into separate projects with
this release, so the child ports that were previously providing various
bindings are now autonomous and have new origins. The python bindings
should have been called py-gpg for many years now, since 'gpg' is the
actual module name, so this also corrects that issue.

security/gpgme-cpp -> security/gpgmepp
security/gpgme-qt -> security/qgpgme
security/py-gpgme -> security/py-gpg

gpgmepp and qgpgme have been converted to CMake. py-gpg is now a "fun"
autotools and FreeBSD ports system hybrid. Gpgme, itself, still uses
autotools, but with much less parenting (patching) to do for its
emancipated children.

Adjust several ports to fix API incompatibility with upstream patches
and with some of my own. Adjust all consumers to use the new port
origins of the former child ports.

https://dev.gnupg.org/T7673
217815b0af
Charlie Li (vishwin)
python.mk: rename PYTHON_EXT_SUFFIX to PYTHON_TAG, document, etc

EXT_SUFFIX, according to PEP 3149, refers to the full tag and
extension for compiled extension module objects, eg .cpython-311.so,
.cpython-313t.so, etc. We do not use the correct semantic meaning,
and this usage becomes ambiguous and confusing when tags do not
match between bytecode and compiled extension module objects.

Rename our PYTHON_EXT_SUFFIX to PYTHON_TAG to align with PEP 3147's
specification of a magic tag, which consists of implementation name
and shorthand version only. This is meant for bytecode and other
files containing this tag in their filename that do not depend on
a specific Python ABI for the same version. Chase all existing
consumers.

Introduce PYTHON_SOABI to align with PEP 3149's specification of a
tag, which consists of implementation name, shorthand version and
any ABI flags present (this and PYTHON_TAG are identical without
ABI flags). This is meant for compiled extension module objects and
other files that depend on a specific Python ABI for the same
version.

Add documentation for these variables that our PYTHON_EXT_SUFFIX
never had.

PR: 274671
Event: Kitchener-Waterloo Hackathon 202506
4f0eba1efd
Gleb Popov (arrowd)
net/samba416: Add patches to fix ndr.h consumers (i.e. SSSD)

Approved by:	samba (kiwi)
Differential Revision: https://reviews.freebsd.org/D50518
fd6a710e19
Gleb Popov (arrowd)
*: Bump revisions after dbus update

PR:		285253
Reported by:	Martin Birgmeier <d8zNeCFG@aon.at>
a347a92e6e
Baptiste Daroussin (bapt)
net/samba*: fix plist after removal of SPOTLIGHT option
326940989c
Baptiste Daroussin (bapt)
gnome: remove tracker2

Tracker2 has long ago been replaced by tracker3 which is also gone now
and replaced by tinysparql.

Tracker2 is creating some complication for many ports (including
grilo-plugins) when installed, considering it not supported anymore,
just remove it instead of fighting it in each related port
493e48d247
Dimitry Andric (dim)
net/samba416: fix rl_completion_func_t detection and usage

After a recent devel/readline update, net/samba416 fails to compile with
clang 19, resulting in errors similar to:

  ../../libcli/smbreadline/smbreadline.c:139:38: warning: 'CPPFunction' is deprecated [-Wdeprecated-declarations]
    139 |                 rl_attempted_completion_function = RL_COMPLETION_CAST completion_fn;
        |                                                    ^
  ../../lib/replace/system/readline.h:50:31: note: expanded from macro 'RL_COMPLETION_CAST'
     50 | #  define RL_COMPLETION_CAST (CPPFunction *)
        |                               ^
  /usr/local/include/readline/rltypedefs.h:38:50: note: 'CPPFunction' has been explicitly marked deprecated here
     38 | typedef char **CPPFunction (void) __attribute__((deprecated));
        |                                                  ^
  ../../libcli/smbreadline/smbreadline.c:139:36: error: incompatible function pointer types assigning to 'rl_completion_func_t *' (aka 'char **(*)(const char *, int, int)') from 'CPPFunction *' (aka 'char **(*)(void)') [-Wincompatible-function-pointer-types]
    139 |                 rl_attempted_completion_function = RL_COMPLETION_CAST completion_fn;
        |                                                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

There are two reasons: samba checks for `rl_completion_t`, while the
actual readline type is `rl_completion_func_t`, and samba's wrapper
`readline.h` header prefers the `CPPFunction` type which is deprecated,
while it should use `rl_completion_func_t` instead.

Fix the `wscript_configure` check to detect `rl_completion_func_t`, and
reverse the `HAVE_RL_COMPLETION_T` and `HAVE_CPPFUNCTION` checks in the
wrapper header.

PR:		281817
Approved by:	samba (0mp)
Reviewed by:	0mp
MFH:		2024Q3
48cea5704f
Mateusz Piotrowski (0mp)
net/samba416: Mark flavor externalldb as BROKEN

databases/ldb25 is not built with Python support by default, which is
required for the externalldb to build correctly. We are going to be
deprecating net/samba416 soon, so let's not introduce unnecessary
instabilities by enabling Python support in databases/ldb25 by default.

Interested parties building their own packages can still set TRYBROKEN
for this flavor and carry on.

For Samba 4.19, we have transitioned to the unbundled model anyway, so
net/samba416 is the only Samba version to be available the externalldb
flavor.

PR:		276835
Reported by:	pkg-fallout
Approved by:	samba (0mp)
Sponsored by:	Klara, Inc.
cac5bdd733
Mateusz Piotrowski (0mp)
*/*: Let samba@ maintain ldb, tdb, talloc, tevent, and Samba

PR:		280556
Approved by:	portmgr
b6ec64a9a2
Yoshihiro Takahashi (nyan)
net/samba416: Fix startup script in a jail environment

PR:		275343
Approved by:	maintainer timeout (6 months)
Approved by:	mikael (samba419 maintainer, ports committer)
8a71351326
Mateusz Piotrowski (0mp)
net/samba416: Add externalldb flavor

Why do we need the externalldb flavor? Compiling tools like
security/sssd-devel with Kerberos support often requires a standalone
ldb as a dependency. By adding a externalldb flavor, ports can depend on
a flavor of Samba that does not depend on its bundled version of ldb.

PR:		276835
Approved by:	portmgr (maintainer timeout, 2+ weeks)
Sponsored by:	Klara, Inc.
Co-authored-by:	Mateusz Piotrowski <0mp@FreeBSD.org>
eaec7c2287
Joseph Mingrone (jrm)
net/samba416: Patch to prevent abnormal smbd abort

Update a call to memcpy() because readdir() only guarantees memory up to
result+result->d_reclen is readable.  Under certain conditions,
result+sizeof(struct dirent) landed in unmapped memory.

Most of the legwork to pinpoint the problem, as well as a solution
similar to the one applied here, was submitted by uratan@miomio.jp.
Martin Simmons <martin@lispworks.com> contributed to understanding the
problem and wrote a useful test case.

PR:		275597
Approved by:	maintainer timeout
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D43171
3fb51f85c5
Muhammad Moinur Rahman (bofh)
net/samba416: Sanitize MANPREFIX

Approved by:    portmgr (blanket)
3c5f4b3c2a
Muhammad Moinur Rahman (bofh)
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree

- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
bbab7f59e9
Muhammad Moinur Rahman (bofh)
net/samba416: Fix build with lld 17

Building net/samba416 with lld 17 results in the following link errors:

runner ['cc', '-Wl,--as-needed', '-Wl,--version-script=/wrkdirs/share/dim/ports/net/samba413/work/samba-4.13.17/bin/default/lib/replace/replace.vscript', '-shared', 'lib/replace/replace.c.2.o', 'lib/replace/strptime.c.2.o', 'lib/replace/cwrap.c.2.o', 'lib/replace/xattr.c.2.o', '-o/wrkdirs/share/dim/ports/net/samba413/work/samba-4.13.17/bin/default/lib/replace/libreplace-samba4.so', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/usr/local/lib', '-fstack-protector-strong', '-L/usr/local/lib', '-Wl,-z,relro,-z,now', '-Wl,-no-undefined', '-Wl,--export-dynamic']
ld: error: version script assignment of 'local' to symbol '_end' failed: symbol not defined
ld: error: version script assignment of 'local' to symbol '__bss_start' failed: symbol not defined
ld: error: version script assignment of 'local' to symbol '_edata' failed: symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)

Since the linker version scripts are generated dynamically, suppress
errors with lld >= 17 due to these undefined symbols.

Same patch from 8bc0f1e by dim@ to unbreak build on FreeBSD 15.

This is required as the DEFAULT version of sambe is being switched.

Approved by:	portmgr (blanket)
637ee716d9
Yasuhiro Kimura (yasu)
net/samba41[36]: Make 'USES=shebangfix' work as is expected

While testing patch submitted to bug #270383, I noticed
'USES=shebangfix' doesn't work as is expected with current samba
ports. According to the investigation by Tatsuki Makino, it is because
SHEBANG_FILES is defined after bsd.port.options.mk and bsd.port.pre.mk
are included. So fix the issue by moving the definition before the
inclusion of them

Reference:	https://lists.freebsd.org/archives/freebsd-ports/2023-November/004849.html
Reference:	https://lists.freebsd.org/archives/freebsd-ports/2023-November/004852.html
Reference:	https://lists.freebsd.org/archives/freebsd-ports/2023-November/004853.html
PR:		274885
Approved by:	maintainer timeout
88d031b449
Jan Beich (jbeich)
devel/icu: update to 74.1

Changes:	https://github.com/unicode-org/icu/releases/tag/release-74-1
Reported by:	GitHub (watch releases)
PR:		274317
Exp-run by:	antoine (incomplete)
Approved by:	fluffy
e55b80195e
Yasuhiro Kimura (yasu)
net/samba416: Update to 4.16.11

ChangeLog:	https://www.samba.org/samba/history/samba-4.16.11.html
PR:		272638
Approved by:	maintainer timeout
MFH:		2023Q3
Security:	441e1e1a-27a5-11ee-a156-080027f5fec9
21e6d0c41f
Rene Ladan (rene)
all: remove support for expired FreeBSD 13.1

Approved by:	portmgr (implicit), salvadore (gcc ports)
Reviewed by:	jbeich

Differential Revision: https://reviews.freebsd.org/D40845
5981a24740
Rene Ladan (rene)
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
3d9a815d9c
Jan Beich (jbeich)
devel/icu: update to 73.1

- Temporarily switch to GitHub auto archive (release artifacts are N/A atm)

Changes:	https://github.com/unicode-org/icu/releases/tag/release-73-1
Reported by:	GitHub (watch releases)
PR:		270422
Exp-run by:	antoine
f1f1a8be88
Timur I. Bakeyev (timur)
net/samba416: Security update for samba416 to the 4.16.10

Security:	CVE-2023-0225
		CVE-2023-0922
		CVE-2023-0614
73dbc16c1e
Joe Marcus Clarke (marcus)
MOVED: Use the nox11 flavor for tshark and friends

This includes net/py-pyshark, net/termshark, and the samba ports for
testing.
Reported by:	mat
cfeac1c240
Joe Marcus Clarke (marcus)
net/termshark|samba41[36]: Chase the tshark>wireshark change

Reported by:	cperciva
146c6cd531
Muhammad Moinur Rahman (bofh)
Mk/**ldap.mk: Convert USE_LDAP to USES=ldap

Convert the USE_LDAP=yes to USES=ldap and adds the following features:

- Adds the argument USES=ldap:server to add openldap2{4|5|6}-server as
  RUN_DEPENDS
- Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER
- Adds OPENLDAP versions in bsd.default-versions.mk
- Adds USE_OPENLDAP/WANT_OPENLDAP_VER in Mk/bsd.sanity.mk
- Changes consumers to use the features

Reviewed by:	delphij
Approved by:	portmgr
Differential Revision: https://reviews.freebsd.org/D38233
6e1233be22
Timur I. Bakeyev (timur)
net/samba416: Security update for the recent Heimdal/KRB5 related vulnerabilities.

Security:	CVE-2022-38023
		CVE-2022-37966
		CVE-2022-37967
		CVE-2022-45141
135b4febde
Timur I. Bakeyev (timur)
net/samba416: Security update for Samba 4.16

Security:	CVE-2022-42898
f99471cff0
Timur I. Bakeyev (timur)
net/samba416: Update port to address CVE-2022-3437

PR:		267141
Security:	CVE-2022-3437
890f94ea16
Jan Beich (jbeich)
devel/icu: update to 72.1

Changes:	https://github.com/unicode-org/icu/releases/tag/release-72-1
Reported by:	GitHub (watch releases)
PR:		266582
Exp-run by:	antoine
dfe25d73e7
Timur I. Bakeyev (timur)
net/samba416: New port for Samba 4.16

This is an initial attempt to add Samba to the FreeBSD after major
rewrite of the VFS code in the upstream.

Most of the port development is now carried in:

     https://gitlab.com/samba-freebsd

Due to the way how new Samba VFS code is written there is a constrain
that Samba 4.14+ can run only on FreeBSD 13.1+, as it requires support
of the `nodup` option for the `fdesc` file system, as well as it's
presence in the system in general.

    https://gitlab.com/samba-freebsd/-/wikis/The-New-VFS

I'd like to thank CyberSecure Pty Ltd. company for their supoort of
the port development and Andrew Walker from iXsystems Inc. for the
patches he created and made available for the Samba4 on TrueNAS.

PR:		263874
2daf87ac19