Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709632 - sys-auth/sssd-1.16.3-r3 USE=samba - ?
Summary: sys-auth/sssd-1.16.3-r3 USE=samba - ?
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on: CVE-2018-16838
Blocks:
  Show dependency tree
 
Reported: 2020-02-14 16:34 UTC by Adam Purkrt
Modified: 2020-10-10 11:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.gz (build.log.gz,28.92 KB, application/gzip)
2020-02-14 17:39 UTC, Adam Purkrt
Details
0001-sys-auth-sssd-1.16.4-version-bump.patch (0001-sys-auth-sssd-1.16.4-version-bump.patch,6.71 KB, patch)
2020-02-14 21:48 UTC, Adam Purkrt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Purkrt 2020-02-14 16:34:01 UTC
sys-auth/sssd-1.16.3-r3 (current stable version) fails to compile with the "samba" use flag set. Without the use flag, it compiles fine.

Reproducible: Always

Steps to Reproduce:
1. USE=samba emerge sys-auth/sssd
Actual Results:  
The build fails.


The unstable version sys-auth/sssd-2.2.3 builds fine with USE=samba.

The problem probably started with the stabilization of net-fs/samba-4.11.6-r2 (bug 704998)

If =net-fs/samba-4.11.6-r2 is masked, and world is rebuilt, with:
  net-fs/samba-4.8.6-r4
    sys-libs/talloc-2.1.11
    sys-libs/tdb-1.3.15
    sys-libs/tevent-0.9.36

it is then possible to emerge sys-auth/sssd-1.16.3-r3 with USE=samba.
Comment 1 Ben Kohler gentoo-dev 2020-02-14 16:35:50 UTC
Can you test with latest sssd? This stable sssd is pretty ancient and seems to be affected by several other bugs as well.
Comment 2 Adam Purkrt 2020-02-14 16:38:13 UTC
(In reply to Ben Kohler from comment #1)
> Can you test with latest sssd? This stable sssd is pretty ancient and seems
> to be affected by several other bugs as well.

As I have written "The unstable version sys-auth/sssd-2.2.3 builds fine with USE=samba."
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2020-02-14 17:05:29 UTC
Fails to compile how? Please attach the entire build log to this bug report.
Comment 4 Adam Purkrt 2020-02-14 17:39:54 UTC
Created attachment 613768 [details]
build.log.gz

The error itself is:

src/providers/ad/ad_gpo_ndr.c: In function ‘ndr_pull_dom_sid’:
src/providers/ad/ad_gpo_ndr.c:261:48: error: implicit declaration of function ‘ARRAY_SIZE’ [-Werror=implicit-function-declaration]
  261 |         if (r->num_auths < 0 || r->num_auths > ARRAY_SIZE(r->sub_auths)) {
      |                                                ^~~~~~~~~~
cc1: some warnings being treated as errors
Comment 5 Ben Kohler gentoo-dev 2020-02-14 18:43:16 UTC
I missed your comment about 2.2.3.  The old stable sssd-1.16.3 is definitely broken against new samba.

This will probably get fixed with stabilization of 2.2.x for bug 699864.
Comment 6 Adam Purkrt 2020-02-14 21:48:05 UTC
Created attachment 613868 [details, diff]
0001-sys-auth-sssd-1.16.4-version-bump.patch

Here is a version bump to 1.16.4. This version which compiles fine with net-fs/samba-4.11.6-r2.
Comment 7 Adam Purkrt 2020-02-14 22:06:31 UTC
Though I get that 1.16.4 has a security flaw. Sorry for a futile patch.
Comment 8 Adam Purkrt 2020-08-16 05:51:22 UTC
I have changed my mind and think that the package sys-auth/sssd should be removed from the gentoo main repository.
Comment 9 Matt Turner gentoo-dev 2020-08-16 06:28:41 UTC
The ancient version, you mean?
Comment 10 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-10-10 11:44:56 UTC
Ancient is indeed now gone.