From owner-freebsd-ports-bugs@freebsd.org Mon Sep 30 13:13:50 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F06D91279D0 for ; Mon, 30 Sep 2019 13:13:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 46hjXG5tmSz3Nkq for ; Mon, 30 Sep 2019 13:13:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C861D1279CF; Mon, 30 Sep 2019 13:13:50 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C81E61279CE for ; Mon, 30 Sep 2019 13:13:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46hjXG4GKgz3Nkp for ; Mon, 30 Sep 2019 13:13:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7739D3020 for ; Mon, 30 Sep 2019 13:13:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x8UDDoHo090761 for ; Mon, 30 Sep 2019 13:13:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x8UDDowf090760 for ports-bugs@FreeBSD.org; Mon, 30 Sep 2019 13:13:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 238465] security/sssd: Update to 1.13.4 Date: Mon, 30 Sep 2019 13:13:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vrwmiller@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2019 13:13:51 -0000 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.=