notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2025Q3
samba416 Free SMB/CIFS and AD/DC server and client for Unix
4.16.11_10 net on this many watch lists=21 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 4.16.11_8Version of this port present on the latest quarterly branch.
Maintainer: samba@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2022-10-16 23:24:48
Last Update: 2025-07-30 14:44:29
Commit Hash: 9e305ca
People watching this port, also watch:: apache24, rsync, smartmontools, curl, zstd
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • samba416>0:net/samba416
Conflicts:
CONFLICTS_INSTALL:
  • samba4*
To install the port:
cd /usr/ports/net/samba416/ && make install clean
To add the package, run one of these commands:
  • pkg install net/samba416
  • pkg install samba416
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: samba416
Package flavors (<flavor>: <package>)
  • default: samba416
  • externalldb: samba416-externalldb
distinfo:
TIMESTAMP = 1689931801 SHA256 (samba-4.16.11.tar.gz) = 5218878cdcc01aa8e83d2c84ad16c5f37a01ea5e1a93f640f9ee282053c46e12 SIZE (samba-4.16.11.tar.gz) = 30721388

Packages (timestamps in pop-ups are UTC):
samba416
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest4.16.11_84.16.11_10-4.16.11_84.16.11_10---
FreeBSD:13:quarterly4.16.11_84.16.11_8-4.16.11_84.16.11_8-4.16.11_24.16.11_2
FreeBSD:14:latest4.16.11_84.16.11_104.16.84.16.11_84.16.11_104.16.10_1-4.16.10_1
FreeBSD:14:quarterly4.16.11_84.16.11_8-4.16.11_84.16.11_8-4.16.11_24.16.11_2
FreeBSD:15:latest4.16.11_74.16.11_8n/a4.16.11_7n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. jansson>=2.10 : devel/jansson
  2. libtasn1>=3.8 : security/libtasn1
  3. p5-Parse-Yapp>=0 : devel/p5-Parse-Yapp
  4. libarchive>=3.1.2 : archivers/libarchive
  5. cmocka>=1.1.3 : sysutils/cmocka
  6. talloc>=2.3.3 : devel/talloc
  7. tevent>=0.11.0 : devel/tevent
  8. tdb>=1.4.6 : databases/tdb
  9. lmdb>=0.9.16 : databases/lmdb
  10. py311-markdown>=3.3.7 : textproc/py-markdown@py311
  11. py311-dnspython>=2.2.1 : dns/py-dnspython@py311
  12. p5-JSON>=4.0 : converters/p5-JSON
  13. pkgconf>=1.3.0_1 : devel/pkgconf
  14. gettext-runtime>=0.22_1 : devel/gettext-runtime
  15. bison : devel/bison
  16. python3.11 : lang/python311
  17. perl5>=5.40.r<5.41 : lang/perl5.40
Test dependencies:
  1. bash : shells/bash
  2. tshark : net/wireshark@nox11
  3. python3.11 : lang/python311
Runtime dependencies:
  1. jansson>=2.10 : devel/jansson
  2. libtasn1>=3.8 : security/libtasn1
  3. libarchive>=3.1.2 : archivers/libarchive
  4. talloc>=2.3.3 : devel/talloc
  5. tevent>=0.11.0 : devel/tevent
  6. tdb>=1.4.6 : databases/tdb
  7. lmdb>=0.9.16 : databases/lmdb
  8. py311-markdown>=3.3.7 : textproc/py-markdown@py311
  9. py311-dnspython>=2.2.1 : dns/py-dnspython@py311
  10. python3.11 : lang/python311
Library dependencies:
  1. libiconv.so : converters/libiconv
  2. libunwind.so : devel/libunwind
  3. libreadline.so : devel/readline
  4. libpopt.so : devel/popt
  5. libinotify.so : devel/libinotify
  6. libgnutls.so : security/gnutls
  7. libgcrypt.so : security/libgcrypt
  8. libsunacl.so : sysutils/libsunacl
  9. libavahi-client.so : net/avahi-app
  10. libintl.so : devel/gettext-runtime
  11. libfam.so.0 : devel/gamin
  12. libldap.so.2 : net/openldap26-client
This port is required by:
for Build
  1. net/smb4k
for Libraries
  1. devel/kio-extras
  2. filesystems/gvfs
  3. filesystems/smbnetfs
  4. net/pecl-smbclient
  5. security/sssd2
  6. sysutils/budgie-control-center
  7. sysutils/gnome-control-center
Expand this list (11 items / 4 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. x11-fm/doublecmd
  3. Collapse this list.

Deleted ports which required this port:

Expand this list of 3 deleted ports
  1. devel/gvfs*
  2. security/sssd-devel*
  3. sysutils/fusefs-smbnetfs*
  4. Collapse this list of deleted ports.
for Run
  1. net/prosearch
  2. net/smb4k
  3. security/gvmd

Configuration Options:
===> The following configuration options are available for samba416-4.16.11_10: ADS=on: Active Directory client(implies LDAP) 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 MANDOC=off: Build manpages from DOCBOOK templates 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 ====> 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_samba416
USES:
compiler:c++11-lang iconv localbase:ldflags perl5 pkgconfig shebangfix waf gettext-runtime fam bison gssapi ldap python
pkg-message:
For install:
How to start: http://wiki.samba.org/index.php/Samba4/HOWTO * Your configuration is: /usr/local/etc/smb4.conf * All the relevant databases are under: /var/db/samba4 * All the logs are under: /var/log/samba4 * Provisioning script is: /usr/local/bin/samba-tool For the working DNS updates you will need to either build dns/bind9* with the enabled GSSAPI(GSSAPI_MIT5 is recommended) or install dns/samba-nsupdate package, which is preconfigured with such a support. You will need to specify location of the 'nsupdate' command in the smb4.conf file: nsupdate command = /usr/local/bin/samba-nsupdate -g For additional documentation check: https://wiki.samba.org/index.php/User_Documentation Port related bug reports can go to the https://gitlab.com/samba-freebsd/ports/-/issues or to the FreeBSD Bugzilla https://bugs.freebsd.org/ All Samba related bug reports should go to the: https://bugzilla.samba.org/
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://ftp.samba.org/pub/samba/rc/
  2. https://ftp.samba.org/pub/samba/stable/
Collapse this list.

There are no commits on branch 2025Q3 for this port