Port details on branch 2025Q3 |
- samba420 Free SMB/CIFS and AD/DC server and client for Unix
- 4.20.7_10 net
=0 4.20.7_10Version of this port present on the latest quarterly branch. - Maintainer: samba@FreeBSD.org
 - Port Added: 2025-08-21 19:09:04
- Last Update: 2025-08-21 19:08:02
- Commit Hash: 4151236
- 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 - Dependency lines:
-
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/net/samba420/ && make install clean
- To add the package, run one of these commands:
- pkg install net/samba420
- pkg install samba420
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: samba420
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1737565689
SHA256 (samba-4.20.7.tar.gz) = 5afe8b66e612ab1c7e57c6146adfe98ec3ea9d40dee2962a2076a3d6d6973b78
SIZE (samba-4.20.7.tar.gz) = 42523056
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
- libtasn1>=3.8 : security/libtasn1
- p5-Parse-Yapp>=0 : devel/p5-Parse-Yapp
- libarchive>=3.1.2 : archivers/libarchive
- cmocka>=1.1.3 : sysutils/cmocka
- talloc242>=2.4.2 : devel/talloc242
- tevent016>=0.16.1 : devel/tevent016
- tdb1410>=1.4.10 : databases/tdb1410
- ldb29>=2.9.1 : databases/ldb29
- py311-markdown>=3.3.7 : textproc/py-markdown@py311
- py311-dnspython>=2.2.1 : dns/py-dnspython@py311
- p5-JSON>=4.0 : converters/p5-JSON
- docbook.xsl : textproc/docbook-xsl
- xsltproc : textproc/libxslt
- bison : devel/bison
- pkgconf>=1.3.0_1 : devel/pkgconf
- gettext-runtime>=0.22_1 : devel/gettext-runtime
- python3.11 : lang/python311
- perl5>=5.40.r<5.41 : lang/perl5.40
- Test dependencies:
-
- bash : shells/bash
- tshark : net/wireshark@nox11
- python3.11 : lang/python311
- Runtime dependencies:
-
- jansson>=2.10 : devel/jansson
- libtasn1>=3.8 : security/libtasn1
- libarchive>=3.1.2 : archivers/libarchive
- talloc242>=2.4.2 : devel/talloc242
- tevent016>=0.16.1 : devel/tevent016
- tdb1410>=1.4.10 : databases/tdb1410
- ldb29>=2.9.1 : databases/ldb29
- py311-markdown>=3.3.7 : textproc/py-markdown@py311
- py311-dnspython>=2.2.1 : dns/py-dnspython@py311
- python3.11 : lang/python311
- Library dependencies:
-
- libiconv.so : converters/libiconv
- libunwind.so : devel/libunwind
- libreadline.so : devel/readline
- libpopt.so : devel/popt
- libinotify.so : devel/libinotify
- libgnutls.so : security/gnutls
- libgcrypt.so : security/libgcrypt
- libsunacl.so : sysutils/libsunacl
- libavahi-client.so : net/avahi-app
- libintl.so : devel/gettext-runtime
- libfam.so.0 : devel/gamin
- libldap.so.2 : net/openldap26-client
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for samba420-4.20.7_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
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
====> 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_samba420
- USES:
- bison compiler:c++11-lang iconv localbase:ldflags perl5 pkgconfig shebangfix waf gettext-runtime fam 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:
|
Number of commits found: 3
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
4.20.7_10 21 Aug 2025 19:08:02
    |
Dimitry Andric (dim)  |
net/samba420: fix fdescfs handling which causes several issues
Issue from bug 284623: several PANIC errors in log.smbd, similar to:
[2025/02/02 16:56:09.823293, 0] ../../lib/util/fault.c:193(smb_panic_log)
PANIC (pid 8625): async open timeout in 4.20.7
[2025/02/02 16:56:09.827129, 0] ../../lib/util/fault.c:304(log_stack_trace)
BACKTRACE: 20 stack frames:
#0 0x3645750f6ec7 <log_stack_trace+0x37> at
/usr/local/lib/samba4/private/libgenrand-private-samba.so
#1 0x3645750f6f9e <smb_panic+0xe> at
/usr/local/lib/samba4/private/libgenrand-private-samba.so
#2 0x36456b707b24 <smbd_exit_server+0x1b4> at
/usr/local/lib/samba4/private/libsmbd-base-private-samba.so
#3 0x36456b707981 <smbd_exit_server+0x11> at
/usr/local/lib/samba4/private/libsmbd-base-private-samba.so
#4 0x364575394bcc <exit_server+0x1c> at
/usr/local/lib/samba4/private/libsmbd-shim-private-samba.so
#5 0x36456b6b2b10 <delete_all_streams> at
/usr/local/lib/samba4/private/libsmbd-base-private-samba.so
#6 0x364575935dff <tevent_common_invoke_timer_handler+0x18f> at
/usr/local/lib/libtevent.so.0 (Only the first 15 lines of the commit message are shown above ) |
4.20.7_9 21 Aug 2025 19:06:08
    |
Dimitry Andric (dim)  Author: Juraj Lutter |
net/samba420: Fix generated README.FreeBSD
Fix the substitution variable (AC_DC -> AD_DC)
Approved by: arrowd
(cherry picked from commit 5e252a13aa23f4ade61540a48aa1959acb7571c1) |
4.20.7_8 21 Aug 2025 19:05:56
    |
Dimitry Andric (dim)  Author: Cy Schubert |
net/samba420: 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
(cherry picked from commit 512e446a85207552add46105a630bc3fc497a9e3) |
Number of commits found: 3
|