[Bug 284473] net/samba420_broken_replication
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 284473] net/samba420_broken_replication"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 31 Jan 2025 05:07:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284473 shellingfield@icloud.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |shellingfield@icloud.com --- Comment #1 from shellingfield@icloud.com --- (In reply to Oljas Kuzembaev from comment #0) Hi, i've also tried new net/samba420 as AD DC, and encounted same problem like you. > pkg-static: Unable to access file /wrkdirs/usr/ports/net/samba420/work/stage/usr/local/lib/samba4/private/libldb-mdb-int-samba4.so:No such file or directory i found some (bundled?) library name would be changed from net/samba419 to net/samba420. pkg-plist followed this change, for example net/samba419 %%SAMBA4_BUNDLED_LDB%%%%SAMBA4_LIBDIR%%/private/libldb-cmdline-samba4.so %%SAMBA4_BUNDLED_LDB%%%%SAMBA4_LIBDIR%%/private/libldb-key-value-samba4.so %%SAMBA4_BUNDLED_LDB%%%%SAMBA4_LIBDIR%%/private/libldb-samba4.so %%SAMBA4_BUNDLED_LDB%%%%SAMBA4_LIBDIR%%/private/libldb-tdb-err-map-samba4.so %%SAMBA4_BUNDLED_LDB%%%%SAMBA4_LIBDIR%%/private/libldb-tdb-int-samba4.so net/samba420 %%SAMBA4_BUNDLED_LDB%%%%SAMBA4_LIBDIR%%/private/libldb-cmdline-private-samba.so %%SAMBA4_BUNDLED_LDB%%%%SAMBA4_LIBDIR%%/private/libldb-key-value-private-samba.so %%SAMBA4_BUNDLED_LDB%%%%SAMBA4_LIBDIR%%/private/libldb-private-samba.so %%SAMBA4_BUNDLED_LDB%%%%SAMBA4_LIBDIR%%/private/libldb-tdb-err-map-private-samba.so %%SAMBA4_BUNDLED_LDB%%%%SAMBA4_LIBDIR%%/private/libldb-tdb-int-private-samba.so but Makefile not. then, at least, this patch would fix for me. diff --git a/net/samba420/Makefile b/net/samba420/Makefile index c32635e1f..67592ddd6 100644 --- a/net/samba420/Makefile +++ b/net/samba420/Makefile @@ -530,7 +531,7 @@ DEBUG_FLAGS?= -g -ggdb3 -O0 . if defined(SAMBA4_BUNDLED_LDB) && ${SAMBA4_BUNDLED_LDB} == yes && (${PORT_OPTIONS:MAD_DC} || ${PORT_OPTIONS:MDEVELOPER}) # LMDB SAMBA4_LMDB_DEPENDS= lmdb>=0.9.16:databases/lmdb -PLIST_FILES+= ${SAMBA4_LIBDIR}/private/libldb-mdb-int-samba4.so \ +PLIST_FILES+= ${SAMBA4_LIBDIR}/private/libldb-mdb-int-private-samba.so \ ${SAMBA4_MODULEDIR}/ldb/mdb.so as previous, using SAMBA4_BUNDLED_TDB and SAMBA4_BUNDLED_LDB also fix broken_replication. in my environment, between DC 4.19(debian12) <-> DC 4.20(net/samba420) would take successfull. I hope this helps you. Regards, -- You are receiving this mail because: You are the assignee for the bug.