BSD Ports

net/samba424 4.24.8 FreeBSD

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

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
d5267ac859
License
GPLv3+
Categories
net
Package size
16377.5 KiB, 93261.5 KiB installed

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.

Install

Binary package:

pkg install samba424

From the ports tree:

cd /usr/ports/net/samba424/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	samba424>0:net/samba424

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest4.24.7_24.24.7_3--4.24.7_4
FreeBSD:14:quarterly4.24.7_14.24.7_1n/a-4.24.7_1
FreeBSD:15:latest4.24.7_34.24.7_4n/a--
FreeBSD:15:quarterly4.24.7_14.24.7_1n/an/an/a
FreeBSD:16:latest4.24.7_14.24.7_4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Library 10

Test 2

The full lists below include those, and their dependencies in turn.

Build dependencies 95
Run dependencies 79

No port depends on this one.

Configuration

Options name: net_samba424

OptionDefaultDescription
ADSonActive Directory client
AD_DConActive Directory Domain Controller(implies PYTHON3)
AVAHIonZeroconf support via Avahi
BUNDLED_CMOCKAoffBundle cmocka instead of depending on a standalone port
BUNDLED_TALLOCoffBundle talloc instead of depending on a standalone port
BUNDLED_TDBoffBundle TDB instead of depending on a standalone port
BUNDLED_TEVENToffBundle Tevent instead of depending on a standalone port
CLUSTERoffClustering support
CUPSoffCUPS printing system support
DEVELOPERoffWith developer framework
DOCSonBuild and/or install documentation
FAMonFile Alteration Monitor
FRUITonMacOSX and TimeMachine support
GLUSTERFSoffGlusterFS support
GPGMEoffGpgME support
GSSAPI_BUILTINonGSSAPI support via bundled Heimdal
GSSAPI_MIToffGSSAPI support via security/krb5
LDAPonLDAP client
LMDB0onUse LMDB 0.9 library
LMDB1offUse LMDB 1.0 library
MANPAGESonBuild and/or install manual pages
MDNSRESPONDERoffZeroconf support via mDNSResponder
MEMORY_DEBUGoffDebug memory allocator
PROFILEonProfiling data
PYTHON3onPython 3.x bindings or support
QUOTASonDisk quota support
SYSLOGonSyslog logging support
TESToffBuild and/or run tests
UTMPonUTMP accounting
ZEROCONF_NONEoffZeroconf support is absent
USES
compiler:c++11-lang cpe gettext-runtime iconv localbase:ldflags ncurses perl5 pkgconfig samba:self shebangfix waf
Service scripts
samba_server
Conflicts with
ldb2[0-9]-* samba4*

Message after installing

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/

Files

Manual pages 117
  • cifsdd(8)
  • dbwrap_tool(1)
  • eventlogadm(8)
  • gentest(1)
  • idmap_ad(8)
  • idmap_autorid(8)
  • idmap_hash(8)
  • idmap_ldap(8)
  • idmap_nss(8)
  • idmap_rfc2307(8)
  • idmap_rid(8)
  • idmap_script(8)
  • idmap_tdb(8)
  • idmap_tdb2(8)
  • ldb(3)
  • ldbadd(1)
  • ldbdel(1)
  • ldbedit(1)
  • ldbmodify(1)
  • ldbrename(1)
  • ldbsearch(1)
  • libsmbclient(7)
  • lmhosts(5)
  • locktest(1)
  • log2pcap(1)
  • masktest(1)
  • mdsearch(1)
  • mvxattr(1)
  • ndrdump(1)
  • net(8)
  • nmbd(8)
  • nmblookup(1)
  • ntlm_auth(1)
  • oLschema2ldif(1)
  • pam_winbind(8)
  • pam_winbind.conf(5)
  • pdbedit(8)
  • profiles(1)
  • regdiff(1)
  • regpatch(1)
  • regshell(1)
  • regtree(1)
  • rpcclient(1)
  • samba(7)
  • samba(8)
  • samba-bgqd(8)
  • samba-dcerpcd(8)
  • samba-log-parser(1)
  • samba-regedit(8)
  • samba-talloc(3)
  • samba-tdbbackup(8)
  • samba-tdbdump(8)
  • samba-tdbrestore(8)
  • samba-tdbtool(8)
  • samba-tool(8)
  • samba_downgrade_db(8)
  • sharesec(1)
  • smb.conf(5)
  • smb4.conf(5)
  • smbcacls(1)
  • smbclient(1)
  • smbcontrol(1)
  • smbcquotas(1)
  • smbd(8)
  • smbget(1)
  • smbpasswd(5)
  • smbpasswd(8)
  • smbspool(8)
  • smbspool_krb5_wrapper(8)
  • smbstatus(1)
  • smbtar(1)
  • smbtree(1)
  • testparm(1)
  • traffic_learner(7)
  • traffic_replay(7)
  • vfs_acl_tdb(8)
  • vfs_acl_xattr(8)
  • vfs_aio_fork(8)
  • vfs_aio_pthread(8)
  • vfs_aio_ratelimit(8)
  • vfs_audit(8)
  • vfs_cacheprime(8)
  • vfs_cap(8)
  • vfs_catia(8)
  • vfs_commit(8)
  • vfs_crossrename(8)
  • vfs_default_quota(8)
  • vfs_dirsort(8)
  • vfs_expand_msdfs(8)
  • vfs_extd_audit(8)
  • vfs_fake_perms(8)
  • vfs_freebsd(8)
  • vfs_full_audit(8)
  • vfs_linux_xfs_sgid(8)
  • vfs_media_harmony(8)
  • vfs_offline(8)
  • vfs_preopen(8)
  • vfs_readahead(8)
  • vfs_readonly(8)
  • vfs_recycle(8)
  • vfs_shadow_copy(8)
  • vfs_shadow_copy2(8)
  • vfs_shell_snap(8)
  • vfs_streams_depot(8)
  • vfs_streams_xattr(8)
  • vfs_syncops(8)
  • vfs_time_audit(8)
  • vfs_unityed_media(8)
  • vfs_virusfilter(8)
  • vfs_widelinks(8)
  • vfs_worm(8)
  • vfs_xattr_tdb(8)
  • vfs_zfsacl(8)
  • wbinfo(1)
  • winbind_krb5_locator(8)
  • winbindd(8)
  • wspsearch(1)
pkg-plist 480
  • bin/cifsdd
  • bin/dbwrap_tool
  • bin/dumpmscat
  • bin/gentest
  • bin/locktest
  • bin/masktest
  • bin/mdsearch
  • bin/mvxattr
  • bin/ndrdump
  • bin/net
  • bin/nmblookup
  • bin/ntlm_auth
  • bin/oLschema2ldif
  • bin/pdbedit
  • bin/profiles
  • bin/regdiff
  • bin/regpatch
  • bin/regshell
  • bin/regtree
  • bin/rpcclient
  • bin/samba-log-parser
  • bin/samba-regedit
  • bin/samba-tool
  • bin/sharesec
  • bin/smbcacls
  • bin/smbclient
  • bin/smbcontrol
  • bin/smbcquotas
  • bin/smbget
  • bin/smbpasswd
  • bin/smbspool
  • bin/smbstatus
  • bin/smbtar
  • bin/smbtree
  • bin/testparm
  • bin/vfstest
  • bin/wbinfo
  • bin/wspsearch
  • sbin/eventlogadm
  • sbin/nmbd
  • sbin/smbd
  • sbin/winbindd
  • include/samba4/credentials.h
  • include/samba4/dcerpc.h
  • include/samba4/gen_ndr/ndr_samr_c.h
  • include/samba4/ldb.h
  • include/samba4/ldb_errors.h
  • include/samba4/ldb_handlers.h
  • include/samba4/ldb_module.h
  • include/samba4/ldb_version.h
  • include/samba4/param.h
  • include/samba4/policy.h
  • include/samba4/util/tevent_ntstatus.h
  • include/samba4/util/tevent_unix.h
  • include/samba4/util/tevent_werror.h
  • include/samba4/util/talloc_keep_secret.h
  • include/samba4/charset.h
  • include/samba4/core/doserr.h
  • include/samba4/core/error.h
  • include/samba4/core/hresult.h
  • include/samba4/core/ntstatus_gen.h
  • include/samba4/core/ntstatus.h
  • include/samba4/core/werror_gen.h
  • include/samba4/core/werror.h
  • include/samba4/smb_ldap.h
  • include/samba4/smbldap.h
  • include/samba4/dcesrv_core.h
  • include/samba4/domain_credentials.h
  • include/samba4/gen_ndr/atsvc.h
  • include/samba4/gen_ndr/auth.h
  • include/samba4/gen_ndr/claims.h
  • include/samba4/gen_ndr/dcerpc.h
  • include/samba4/gen_ndr/drsblobs.h
  • include/samba4/gen_ndr/drsuapi.h
  • include/samba4/gen_ndr/krb5pac.h
  • include/samba4/gen_ndr/lsa.h
  • include/samba4/gen_ndr/misc.h
  • include/samba4/gen_ndr/nbt.h
  • include/samba4/gen_ndr/ndr_atsvc.h
  • include/samba4/gen_ndr/ndr_dcerpc.h
  • include/samba4/gen_ndr/ndr_drsblobs.h
  • include/samba4/gen_ndr/ndr_drsuapi.h
  • include/samba4/gen_ndr/ndr_krb5pac.h
  • include/samba4/gen_ndr/ndr_misc.h
  • include/samba4/gen_ndr/ndr_nbt.h
  • include/samba4/gen_ndr/ndr_samr.h
  • include/samba4/gen_ndr/ndr_svcctl_c.h
  • include/samba4/gen_ndr/ndr_svcctl.h
  • include/samba4/gen_ndr/netlogon.h
  • include/samba4/gen_ndr/samr.h
  • include/samba4/gen_ndr/security.h
  • include/samba4/gen_ndr/server_id.h
  • include/samba4/gen_ndr/svcctl.h
  • include/samba4/ldb_wrap.h
  • include/samba4/libsmbclient.h
  • include/samba4/lookup_sid.h
  • include/samba4/machine_sid.h
  • include/samba4/ndr.h
  • include/samba4/ndr/ndr_dcerpc.h
  • include/samba4/ndr/ndr_drsblobs.h

The first 100 are listed.

distinfo 1
FileSizeSHA256
samba-4.24.8.tar.gz4.345439e+079b6611ab9ae718f47ef0d54008403d7b60a3c6c13e59b2aba769b085caea1d75
Master sites 2
  • SAMBA/samba/stable
  • SAMBA/samba/rc

Commit history 16

DateCommitCreditsLog message
d5267ac859 Xavier Beaudouin net/samba4*: fix lmdb breakage
PR: 299660 Reported by: Matthew Wener <[email protected]> Sponsored by: Klara, Inc.
fb01128ce0 Xavier Beaudouin net/samba424: update to 4.24.8
Changelog: * BUG 16200: generate_unique_u64() may not protect against veto_value * BUG 16261: Rename with ReplaceIfExists to a target differing only in case creates a duplicate instead of replacing (regression in bb130f32) * BUG 15962: SMB3 SESSION SETUP responses must always be signed * BUG 16081: winbindd_child_msg_filter: talloc_get_type_abort crashes when winbind max domain connections > 1 * BUG 16200: generate_unique_u64() may not protect against veto_value * BUG 16239: Fix parsing of uppercase "0X" hex values in the "kdc default domain supported enctypes" smb.conf parameter. * BUG 16240: smbd temporary mkdir name can exceed NAME_MAX for otherwise valid client names …
85ba298b7e Baptiste Daroussin 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 …
bca7a3d068 Dimitry Andric net/samba424: avoid SIGFPE in streams_xattr_get_ea_value_fsp
As reported in https://bugzilla.samba.org/show_bug.cgi?id=16278, upstream commit 5fa43440ebd3 ("vfs: Implement larger streams in multiple xattrs"), results in many signal 8 (SIGFPE) crashes in smbd child processes on FreeBSD, if the streams_xattr vfs module is loaded. This is because streams_xattr_get_ea_value_fsp() can divide by zero, if the "max xattrs per stream" is left at its default value. Apply the upstream fix to avoid the crashes. PR: 299445 Obtained from: https://gitlab.com/samba-team/samba/-/commit/21f8b339 MFH: 2026Q4 Approved by: samba (kiwi)
1366f85da8 Michael Osipov net/samba424: restore missing FreeBSD mDNS/dns_sd support (MDNSRESPONDER)
Three FreeBSD-local patches providing dns_sd/mDNSResponder support (present identically in net/samba419, 420, 422, and 423) were silently dropped when net/samba424 was created, all gated behind the non-default MDNSRESPONDER port option (default is AVAHI): - source3/wscript/wscript_build: the --enable-dnssd waf option (dns_sd.h/DNSServiceRegister detection, WITH_DNSSD_SUPPORT define, dns_sd library linkage into smbd_base and smbclient) never existed in samba424 at all. - source3/smbd/dnsregister.c: the FreeNAS-authored mDNS advertise-per-interface fixes. Only the companion source3/client/dnsbrowse.c half of this combined patch survived into samba424; the dnsregister.c half was lost. - Makefile: MDNSRESPONDER_CONFIGURE_ENABLE=dnssd, so selecting the …

The latest 5 of 16 in the history this site was built from.