Here's a back port from current. It's still compiling for me, so things may not work.
You'll also need to update level/libtalloc and database/tdb. Ian McWilliam ________________________________________ From: alexmcwhir...@triadic.us [alexmcwhir...@triadic.us] Sent: Monday, 6 February 2017 6:59 PM To: Ian McWilliam Cc: Vijay Sankar; ports@openbsd.org; owner-po...@openbsd.org Subject: RE: samba4 and ACL's On 2017-02-06 01:00, Ian McWilliam wrote: > Generally back porting like this unless its a major security thing is > not done to stable. > > differences to the 6.0-stable from current > > --with-ntvfs-fileserver \ > --without-gpgme > > LDB_V = 1.1.27 > TEVENT_V = 0.9.29 > > vs > > LDB_V = 1.1.26 > TEVENT_V = 0.9.28 > > The trivial DB and the Tevent libs are also slightly different > versions. > > https://www.samba.org/samba/history/samba-4.4.6.html > > * BUG 12028: vfs_acl_xattr: Objects without NT ACL xattr. > * BUG 12105: async_req: Make async_connect_send() "reentrant". > * BUG 12177: vfs_acl_common: Fix unexpected synthesized default ACL > from > vfs_acl_xattr. > * BUG 12181: vfs_acl_xattr|tdb: Enforced settings when > "ignore system acls = yes". > > * BUG 11991: build: Build less of Samba when building > '--without-ntvfs-fileserver'. > > Make me wonder if there is more breakage in samba itself. Hmm wonder > if updating stable to 4.4.9 would help? > > > > Ian McWilliam Just fired up a -stable instance. I had to modify a few files, but i got 4.4.9 to build using the ports system. Fails in exactly the same way as 4.4.5. # samba -V Version 4.4.9 samba[96918]: [2017/02/06 03:16:14.569744, 0] ../source4/smbd/service.c:98(server_service_startup) samba[96918]: Failed to start service 'smb' - NT_STATUS_INVALID_SYSTEM_SERVICE samba[96918]: [2017/02/06 03:16:14.588105, 0] ../lib/util/become_daemon.c:111(exit_daemon) samba[13793]: [2017/02/06 03:16:14.589565, 0] ../source4/lib/tls/tlscert.c:72(tls_cert_generate) samba[96918]: STATUS=daemon failed to start: Samba failed to start services, error code -1073741796
samba-4.5.3.diff
Description: samba-4.5.3.diff
talloc-2.1.8.diff
Description: talloc-2.1.8.diff
tdb-1.3.12.diff
Description: tdb-1.3.12.diff