Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2019 13:13:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 238465] security/sssd: Update to 1.13.4
Message-ID:  <bug-238465-7788-O8FPcIBUp8@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238465-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238465-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238465

--- Comment #16 from vrwmiller@gmail.com ---
(In reply to Richard Frewin from comment #15)

Comment #15 guided me to identify security/sssd builds [ from HEAD ] and
functions as desired w/ Samba support given the configuration below, which
upgrades Samba from 4.[678] to 4.10.

This mitigates SSSD build failures w/ SMB=3Don, but fails to update the por=
t to a
more recent version. The attached patch should be ported to ports -HEAD.

Updates to make.conf:

DEFAULT_VERSIONS=3Dsamba=3D4.10

.if ${.CURDIR:M*/security/sssd}
OPTIONS_FILE_SET+=3DSMB
.endif

.if ${.CURDIR:M*/net/samba410}
OPTIONS_FILE_UNSET+=3DAD_DC
SAMBA4_BUNDLED_LDB=3Dno
SAMBA4_BUNDLED_TALLOC=3Dno
SAMBA4_BUNDLED_TEVENT=3Dno
SAMBA4_BUNDLED_TDB=3Dno
.endif

Updates to security/sssd/Makefile:

diff --git a/security/sssd/Makefile b/security/sssd/Makefile
index dddb1f6c2..265d9b818 100644
--- a/security/sssd/Makefile
+++ b/security/sssd/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS=3D  libpopt.so:devel/popt \
                libtalloc.so:devel/talloc \
                libtevent.so:devel/tevent \
                libtdb.so:databases/tdb \
-               libldb.so:databases/ldb14 \
+               libldb.so:databases/ldb15 \
                libcares.so:dns/c-ares \
                libdbus-1.so:devel/dbus \
                libdhash.so:devel/ding-libs \


Updates to security/sssd/files/patch-src__monitor__monitor.c:

--- src/monitor/monitor.c.org   2019-07-14 23:45:13.760141000 +0200
+++ src/monitor/monitor.c       2019-07-14 23:58:50.715935000 +0200
@@ -2832,6 +2832,20 @@
     ret =3D server_setup(MONITOR_NAME, flags, monitor->conf_path, &main_ct=
x);
     if (ret !=3D EOK) return 2;

+    /* Use confd initialized in server_setup. ldb_tdb module (1.4.0) check=
 PID=20
+   * of process which initialized db for locking purposes.=20=20=20=20=20=
=20=20=20=20=20=20=20
+   * Failed to unlock db: ../ldb_tdb/ldb_tdb.c:147:=20=20=20=20=20=20=20=
=20=20=20=20=20
+   *    Reusing ldb opened by pid 28889 in process 28893=20=20=20=20=20=20=
=20=20=20=20=20=20
+   */=20=20=20=20=20=20=20=20=20=20=20=20
+   talloc_zfree(monitor->cdb);=20=20=20=20=20=20=20=20=20=20=20=20
+   monitor->cdb =3D main_ctx->confdb_ctx;=20=20=20=20=20=20=20=20=20=20=20=
=20
+
+   ret =3D confdb_get_domains(monitor->cdb, &monitor->domains);=20=20=20=
=20=20=20=20=20=20=20=20=20
+   if (ret !=3D EOK) {=20=20=20=20=20=20=20=20=20=20=20=20
+       DEBUG(SSSDBG_FATAL_FAILURE, "No domains configured.\n");=20=20=20=
=20=20=20=20=20=20=20=20=20
+       return 4;=20=20=20=20=20=20=20=20=20=20=20=20
+   }=20=20=20=20=20=20=20=20=20=20=20=20
+
     monitor->is_daemon =3D !opt_interactive;
     monitor->parent_pid =3D main_ctx->parent_pid;
     monitor->ev =3D main_ctx->event_ctx;

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238465-7788-O8FPcIBUp8>