| Port details |
- samba423 Free SMB/CIFS and AD/DC server and client for Unix
- 4.23.7_1 net
=5 4.23.6_1Version of this port present on the latest quarterly branch. - Maintainer: samba@FreeBSD.org
 - Port Added: 2025-12-15 13:50:48
- Last Update: 2026-05-12 07:37:55
- Commit Hash: 2f0c0ba
- People watching this port, also watch:: rsync, apache24, smartmontools, openssl, sudo
- License: GPLv3+
- WWW:
- https://gitlab.com/samba-freebsd/
- Description:
- Samba4 is an attempt to implement an Active Directory compatible Domain
Controller.
In short, you can join a WinNT, Win2000, WinXP or Win 2003 - 2016 member
server to a Samba4 domain, and it will behave much as it does in AD,
including Kerberos domain logins where applicable.
¦ ¦ ¦ ¦ 
- Manual pages:
-
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
-
- Dependency lines:
-
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/net/samba423/ && make install clean
- To add the package, run one of these commands:
- pkg install net/samba423
- pkg install samba423
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: samba423
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1777991342
SHA256 (samba-4.23.7.tar.gz) = bb563bd9b438f2c8e8d25ae262e68c09aa41fe6606b0351d5ff45e3af842b92c
SIZE (samba-4.23.7.tar.gz) = 43305961
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- jansson>=2.10 : devel/jansson
- libarchive>=3.1.2 : archivers/libarchive
- libtasn1>=3.8 : security/libtasn1
- p5-Parse-Yapp>=0 : devel/p5-Parse-Yapp
- lmdb>=0.9.16 : databases/lmdb
- py311-markdown>=3.3.7 : textproc/py-markdown@py311
- py311-dnspython>=2.2.1 : dns/py-dnspython@py311
- cmocka>=1.1.3 : sysutils/cmocka
- talloc243>=2.4.3 : devel/talloc243
- tdb1>=1.4.14 : databases/tdb1
- tevent017>=0.17.1 : devel/tevent017
- docbook.xsl : textproc/docbook-xsl
- xsltproc : textproc/libxslt
- pkgconf>=1.3.0_1 : devel/pkgconf
- gettext-runtime>=0.26 : devel/gettext-runtime
- bison : devel/bison
- python3.11 : lang/python311
- perl5>=5.42.r<5.43 : lang/perl5.42
- Test dependencies:
-
- bash : shells/bash
- tshark : net/wireshark@nox11
- cmocka>=1.1.3 : sysutils/cmocka
- python3.11 : lang/python311
- Runtime dependencies:
-
- jansson>=2.10 : devel/jansson
- libarchive>=3.1.2 : archivers/libarchive
- libtasn1>=3.8 : security/libtasn1
- lmdb>=0.9.16 : databases/lmdb
- py311-markdown>=3.3.7 : textproc/py-markdown@py311
- py311-dnspython>=2.2.1 : dns/py-dnspython@py311
- talloc243>=2.4.3 : devel/talloc243
- tdb1>=1.4.14 : databases/tdb1
- tevent017>=0.17.1 : devel/tevent017
- python3.11 : lang/python311
- Library dependencies:
-
- libgnutls.so : security/gnutls
- libgcrypt.so : security/libgcrypt
- libiconv.so : converters/libiconv
- libinotify.so : devel/libinotify
- libsunacl.so : sysutils/libsunacl
- libreadline.so : devel/readline
- libpopt.so : devel/popt
- libunwind.so : devel/libunwind
- libicui18n.so : devel/icu
- libicuuc.so : devel/icu
- libavahi-client.so : net/avahi-app
- libfam.so.0 : devel/gamin
- libintl.so : devel/gettext-runtime
- libldap.so.2 : net/openldap26-client
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for samba423-4.23.7_1:
ADS=on: Active Directory client
AD_DC=on: Active Directory Domain Controller(implies PYTHON3)
CLUSTER=off: Clustering support
CUPS=off: CUPS printing system support
DOCS=on: Build and/or install documentation
FAM=on: File Alteration Monitor
GPGME=off: GpgME support
LDAP=on: LDAP client
MANPAGES=on: Build and/or install manual pages
PROFILE=on: Profiling data
PYTHON3=on: Python 3.x bindings or support
QUOTAS=on: Disk quota support
SYSLOG=on: Syslog logging support
UTMP=on: UTMP accounting
====> Bundled dependencies
BUNDLED_CMOCKA=off: Bundle cmocka instead of depending on a standalone port
BUNDLED_TALLOC=off: Bundle talloc instead of depending on a standalone port
BUNDLED_TDB=off: Bundle TDB instead of depending on a standalone port
BUNDLED_TEVENT=off: Bundle Tevent instead of depending on a standalone port
====> Testing, debugging, and development
DEVELOPER=off: With developer framework
MEMORY_DEBUG=off: Debug memory allocator
TEST=off: Build and/or run tests
====> VFS modules
FRUIT=on: MacOSX and TimeMachine support
GLUSTERFS=off: GlusterFS support
====> GSSAPI Security API support: you have to select exactly one of them
GSSAPI_BUILTIN=on: GSSAPI support via bundled Heimdal
GSSAPI_MIT=off: GSSAPI support via security/krb5
====> Zero configuration networking: you have to select exactly one of them
ZEROCONF_NONE=off: Zeroconf support is absent
AVAHI=on: Zeroconf support via Avahi
MDNSRESPONDER=off: Zeroconf support via mDNSResponder
===> Use 'make config' to modify these settings
- Options name:
- net_samba423
- USES:
- cpe compiler:c++11-lang iconv localbase:ldflags ncurses perl5 pkgconfig shebangfix waf gettext-runtime samba:self bison ldap python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
4.23.7_1 12 May 2026 07:37:55
    |
Xavier Beaudouin (kiwi)  |
net/samba423: Bump PORTREVISION
PR: 295130
Approved by: samba (kiwi)
Sponsored by: Klara, Inc. |
4.23.7 12 May 2026 01:54:04
    |
Xavier Beaudouin (kiwi)  Author: Dimitry Andric |
net/samba423: Fix SIGABRT in bsd_attr_list()
After FORTIFY_SOURCE was added for
https://bugzilla.samba.org/show_bug.cgi?id=16040, which landed in Samba 4.23.7,
the net/samba423 port started crashing quite soon after startup.
It turns out that bsd_attr_list() does a number of overlapping strncpy() calls,
and this is undefined behavior.
PR: 295130
Approved by: samba (kiwi)
Sponsored by: Klara, Inc. |
4.23.7 07 May 2026 21:47:29
    |
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 |
4.23.7 07 May 2026 10:40:50
    |
Xavier Beaudouin (kiwi)  Author: Charlie Bo |
net/samba423: Update to 4.23.7
Changelog: https://www.samba.org/samba/history/samba-4.23.7.html
PR: 295024
Approved-by: samba (kiwi)
Sponsored-by: Klara, Inc. |
4.23.6_1 20 Mar 2026 15:11:40
    |
Gleb Popov (arrowd)  |
net/samba423: Add patches to fix ndr.h consumers (i.e. SSSD)
This is the same change that was applied to net/samba416 in
fd6a710e199bdba2b2df37a481038e743da895dd
PR: 293566
Approved by: samba (maintainer timeout) |
4.23.6 11 Mar 2026 05:14:58
    |
Xavier Beaudouin (kiwi)  |
net/samba423: update to version 2.23.6
Sponsored by: Klara, Inc.
Reported by: portscout |
4.23.4 26 Feb 2026 19:58:36
    |
Mateusz Piotrowski (0mp)  Author: Evgenii Khramtsov |
net/samba423: opt out from Features/fortify.mk
[...]
Checking for freebsd sendfile support
: not found
sendfile support not found but it was requested !
(complete log in
/wrkdirs/usr/ports/net/samba423/work/samba-4.23.4/bin/config.log)
===> Script "configure" failed unexpectedly.
[...]
PR: 292392 |
4.23.4 13 Jan 2026 00:12:09
    |
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 |
4.23.4 21 Dec 2025 21:28:04
    |
Mateusz Piotrowski (0mp)  |
net/samba423: Fix plist for MANPAGES=off BUNDLED_TALLOC=on
PR: 291831
Reported by: intellisun@gmail.com |
4.23.4 19 Dec 2025 20:54:07
    |
Mateusz Piotrowski (0mp)  Author: Christian Ullrich |
net/samba423: Fix build with GSSAPI_MIT
PR: 291795 |
4.23.4 16 Dec 2025 13:34:18
    |
Mateusz Piotrowski (0mp)  |
net/samba423: Fix pkg-plist for option CLUSTER
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: @dir var/lib/ctdb/persistent
Error: Orphaned: @dir var/lib/ctdb/state
Error: Orphaned: @dir var/lib/ctdb/volatile
Error: Orphaned: @dir var/log
Error: Orphaned: @dir var/run/ctdb
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: @dir /var/lib/ctdb/persistent
Error: Missing: @dir /var/lib/ctdb/state
Error: Missing: @dir /var/lib/ctdb/volatile
Error: Missing: @dir /var/lib/ctdb
Error: Missing: @dir /var/lib
Error: Missing: @dir /var/run/ctdb
Also, address the problem with an symlink pointing to an absolute path:
Warning: Bad symlink '/usr/local/etc/ctdb/statd-callout' pointing to an
absolute pathname '/usr/local/libexec/ctdb/statd_callout'
PR: 291104
Reported by: vvd |
4.23.4 16 Dec 2025 11:03:08
    |
Mateusz Piotrowski (0mp)  |
net/samba423: Remove option PICKY_DEVELOPER
Samba's configure script does not support --picky-developer anymore. |
4.23.4 16 Dec 2025 11:03:07
    |
Mateusz Piotrowski (0mp)  |
net/samba423: Golf PKGCONFIGDIR into _SAMBA_SUB |
4.23.4 16 Dec 2025 11:03:06
    |
Mateusz Piotrowski (0mp)  |
net/samba423: Use ETCDIR instead of a custom variable |
4.23.4 15 Dec 2025 16:35:57
    |
Mateusz Piotrowski (0mp)  |
samba: Remove MEMORY_DEBUG_IMPLIES=DEBUG
There is no DEBUG option, so this assignment does not make
any sense. |
4.23.4 15 Dec 2025 13:44:43
    |
Mateusz Piotrowski (0mp)  |
net/samba423: Add Samba 4.23.4
Release notes:
https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.23
PR: 290327 |
4.22.6_6 15 Dec 2025 13:44:41
    |
Mateusz Piotrowski (0mp)  |
net/samba423: Repocopy from net/samba422
PR: 290327 |