BSD Ports

net/samba423 4.23.13_2 FreeBSD

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

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
d5267ac859
License
GPLv3+
Categories
net
Package size
16320.3 KiB, 92965.9 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.

In the other systems

SystemPortVersion
FreeBSDnet/samba4234.23.13_2
MidnightBSDnet/samba4234.23.11

Install

Binary package:

pkg install samba423

From the ports tree:

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

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

RUN_DEPENDS=	samba423>0:net/samba423

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.23.13_14.23.13_1--4.23.13_1
FreeBSD:14:quarterly4.23.11_34.23.11_3n/a-4.23.11_3
FreeBSD:15:latest4.23.13_14.23.13_1n/a--
FreeBSD:15:quarterly4.23.11_34.23.11_3n/an/an/a
FreeBSD:16:latest4.23.134.23.13_1n/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_samba423

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
cpe compiler:c++11-lang iconv localbase:ldflags ncurses perl5 pkgconfig shebangfix waf gettext-runtime samba:self
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 116
  • 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_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 477
  • 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/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
  • include/samba4/ndr/ndr_drsuapi.h

The first 100 are listed.

distinfo 1
FileSizeSHA256
samba-4.23.13.tar.gz4.338521e+07eb8b3a1e621aa5d817b4e7e14a6a5153f38c6f648dcb3136725a0819bda2985f
Master sites 2
  • SAMBA/samba/stable
  • SAMBA/samba/rc

Commit history 10

DateCommitCreditsLog message
d5267ac859 Xavier Beaudouin net/samba4*: fix lmdb breakage
PR: 299660 Reported by: Matthew Wener <[email protected]> Sponsored by: Klara, Inc.
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 …
aa62780e14 Jordan Ostreff net/samba423: add LMDB selection options (LMDB0 / LMDB1)
This patch introduces a new radio option group (LMDBG1) allowing users to select between LMDB 0.9 (databases/lmdb0) and LMDB 1.0 (databases/lmdb), following the pattern used in mail/postfix. Summary of changes: - Introduced LMDBG1 radio option group with LMDB0 and LMDB1 choices. - Added LMDB0 to OPTIONS_DEFAULT to preserve existing default behavior. - Updated _LMDB_DEPDENDS for AD_DC / DEVELOPER builds to depend on databases/lmdb when LMDB1 is selected, defaulting to databases/lmdb0. - Guarded FORTIFY_UNSAFE with .ifnmake portclippy to prevent portclippy warnings. Inspired by mail/postfix workaround of the problem with LMDB. PR: 299147 Approved by: samba (kiwi)
479c4ab490 Xavier Beaudouin net/samba423: update to 4.23.13
Changes since 4.23.12 --------------------- * BUG 16097: POSIX ACL backend silently discards errors when processing NT ACLs with non-canonical ordering * 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 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 * BUG 16258: Python smbconf transaction_start() lacks a talloc stack frame with CTDB * BUG 16254: CTDB database operations can be run against incorrect nodes Reported by: portscout Sponsored by: Klara, Inc.
06d4d26f90 Xavier Beaudouin net/samba42[234Ø: fix on ZFS STATUS_INTERNAL_ERROR, Input/output error from vfs_freebsd.c
Replace strlcpy() to memmove() in vfs_freebsd.c. PR: 292618 Reported by: Dave Baukus <[email protected]> Sponsored by: Klara, Inc

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