BSD Ports

Deprecated: Discontinued upstream; transition to a supported versions of Samba (refer to https://wiki.samba.org/index.php/Samba_Release_Planning)

net/samba419 4.19.9_14 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
15228.4 KiB, 87308.1 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/samba4194.19.9_14
MidnightBSDnet/samba4194.19.9_2

Install

Binary package:

pkg install samba419

From the ports tree:

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

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

RUN_DEPENDS=	samba419>0:net/samba419

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.19.9_134.19.9_13-4.19.9_114.19.9_13
FreeBSD:14:quarterly4.19.9_134.19.9_13n/a4.19.9_94.19.9_13
FreeBSD:15:latest4.19.9_134.19.9_13n/a4.19.9_114.19.9_11
FreeBSD:15:quarterly4.19.9_134.19.9_13n/an/an/a
FreeBSD:16:latest4.19.9_134.19.9_13n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 4

Library 8

Runtime 3

Test 2

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

Build dependencies 97
Run dependencies 80

No port depends on this one.

Configuration

Options name: net_samba419

OptionDefaultDescription
ADSonActive Directory client(implies LDAP)
AD_DConActive Directory Domain Controller(implies PYTHON3)
AVAHIonZeroconf support via Avahi
CLUSTERoffClustering support
CUPSoffCUPS printing system support
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
MANPAGESonBuild and/or install manual pages
MDNSRESPONDERoffZeroconf support via mDNSResponder
PROFILEonProfiling data
PYTHON3onPython 3.x bindings or support
QUOTASonDisk quota support
SYSLOGonSyslog logging support
UTMPonUTMP accounting
ZEROCONF_NONEoffZeroconf support is absent
USES
compiler:c++11-lang iconv localbase:ldflags perl5 pkgconfig shebangfix waf gettext-runtime
Service scripts
samba_server
Conflicts with
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/

===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Discontinued upstream; transition to a supported versions of Samba (refer to https://wiki.samba.org/index.php/Samba_Release_Planning).

Files

Manual pages 114
  • 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)
  • 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-ldbadd(1)
  • samba-ldbdel(1)
  • samba-ldbedit(1)
  • samba-ldbmodify(1)
  • samba-ldbrename(1)
  • samba-ldbsearch(1)
  • 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)
pkg-plist 463
  • 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/vlp
  • bin/wbinfo
  • sbin/eventlogadm
  • sbin/nmbd
  • sbin/smbd
  • sbin/winbindd
  • 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/credentials.h
  • include/samba4/dcerpc.h
  • include/samba4/dcesrv_core.h
  • include/samba4/smb_ldap.h
  • include/samba4/smbldap.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_c.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
  • include/samba4/ndr/ndr_krb5pac.h
  • include/samba4/ndr/ndr_nbt.h
  • include/samba4/ndr/ndr_svcctl.h
  • include/samba4/netapi.h
  • include/samba4/param.h
  • include/samba4/passdb.h
  • include/samba4/rpc_common.h
  • include/samba4/samba/session.h
  • include/samba4/samba/version.h
  • include/samba4/share.h

The first 100 are listed.

distinfo 1
FileSizeSHA256
samba-4.19.9.tar.gz4.1877221e+0771ed406444714c90bb9d36c576d807b67af15449f297e91106d42b3ca2fa5549
Master sites 2
  • SAMBA/samba/stable
  • SAMBA/samba/rc

Commit history 4

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 …
7a7dea4414 Gleb Popov *: Fix dependency on lmdb0
5f9d389f29 Xin LI databases/lmdb0: Add port for LMDB 0.9.x legacy ABI
LMDB 1.0 introduced an incompatible on-disk format change and subtle API breakage: applications that compiled cleanly against 1.0 headers could fail silently at run time. Known affected ports include dns/knot3, mail/bogofilter, and mail/postfix; the postfix issue has been confirmed upstream. Linux distributions such as Arch Linux have observed the same breakage. Samba can also be affected in certain configurations. Because the regression is not detectable in an -exp build run -- the postfix failure only manifests at run time, and bogofilter was caught only because post-build self-tests happen to exercise this path -- we cannot rely on package builds to validate the 1.0 upgrade. This commit introduces databases/lmdb0 as a holding port for the 0.9.35 …