Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726050 - sys-auth/pambase: add pam_sss from sssd
Summary: sys-auth/pambase: add pam_sss from sssd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2020-05-29 09:17 UTC by Joakim Tjernlund
Modified: 2024-01-22 14:02 UTC (History)
5 users (show)

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


Attachments
Add sssd support (0001-Add-sssd-support.patch,5.34 KB, patch)
2023-09-03 16:46 UTC, Christopher Byrne
Details | Diff
added sssd USE flag to ebuild (pambase-20240119-r1.ebuild,3.03 KB, text/plain)
2024-01-19 22:54 UTC, Tim Buchheim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim Tjernlund 2020-05-29 09:17:08 UTC
sssd has a pam_sss module that needs to be used when sssd is used
Comment 1 Christopher Byrne 2023-09-03 16:46:03 UTC
Created attachment 869482 [details, diff]
Add sssd support

Here's a patch that adds sssd support to pambase.To ensure it would not break non-sssd systems, I compared the output the old version with the new version for all 262144 argument combinations and all were identical.
Comment 2 Larry the Git Cow gentoo-dev 2024-01-19 05:31:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/pambase.git/commit/?id=c2060f499d483e11ba4524283c2d95a6a8beb8dc

commit c2060f499d483e11ba4524283c2d95a6a8beb8dc
Author:     Christopher Byrne <salah.coronya@gmail.com>
AuthorDate: 2023-09-03 16:32:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-19 05:31:42 +0000

    Add sssd support
    
    Bug: https://bugs.gentoo.org/726050
    Closes: https://github.com/gentoo/pambase/issues/1
    Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
    Closes: https://github.com/gentoo/pambase/pull/17
    Signed-off-by: Sam James <sam@gentoo.org>

 pambase.py                   |  7 ++++++-
 templates/system-auth.tpl    | 38 ++++++++++++++++++++++++++++++++------
 templates/system-session.tpl |  4 ++++
 3 files changed, 42 insertions(+), 7 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2024-01-19 05:39:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f64254e990a01567b0a01f173c730aa01934f2d8

commit f64254e990a01567b0a01f173c730aa01934f2d8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-19 05:36:04 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-19 05:39:00 +0000

    sys-auth/pambase: add 20240119
    
    Closes: https://bugs.gentoo.org/726050
    Closes: https://bugs.gentoo.org/916869
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-auth/pambase/Manifest                 |   1 +
 sys-auth/pambase/pambase-20240119.ebuild  | 116 ++++++++++++++++++++++++++++++
 sys-auth/pambase/pambase-999999999.ebuild |  24 ++++---
 3 files changed, 131 insertions(+), 10 deletions(-)
Comment 4 Tim Buchheim 2024-01-19 22:54:16 UTC
Created attachment 882661 [details]
added sssd USE flag to ebuild

It would be useful if the ebuild had a USE flag to actually enable the sssd support. Here's what I'm using on my systems. I named the USE flag "sssd" rather than something like "pam_sssd" in order to match the "sssd" USE flag used by app-admin/sudo
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-22 13:58:36 UTC
(In reply to Tim Buchheim from comment #4)
> Created attachment 882661 [details]
> added sssd USE flag to ebuild
> 
> It would be useful if the ebuild had a USE flag to actually enable the sssd
> support. Here's what I'm using on my systems. I named the USE flag "sssd"
> rather than something like "pam_sssd" in order to match the "sssd" USE flag
> used by app-admin/sudo

My apologies -- yes, that is absolutely required.
Comment 6 Larry the Git Cow gentoo-dev 2024-01-22 14:02:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b19951c8ee9e8cfbc718e0287ed78d9dbc2170b

commit 6b19951c8ee9e8cfbc718e0287ed78d9dbc2170b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-22 14:01:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-22 14:01:59 +0000

    sys-auth/pambase: wire up sssd
    
    Closes: https://bugs.gentoo.org/726050
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/arch/alpha/package.use.mask        | 1 +
 profiles/arch/amd64/package.use.stable.mask | 1 +
 profiles/arch/ia64/package.use.mask         | 1 +
 profiles/arch/loong/package.use.mask        | 1 +
 profiles/arch/s390/package.use.mask         | 1 +
 profiles/arch/x86/package.use.stable.mask   | 3 ++-
 profiles/base/package.use.stable.mask       | 1 +
 profiles/features/musl/package.use.mask     | 1 +
 sys-auth/pambase/metadata.xml               | 4 ++++
 sys-auth/pambase/pambase-20240119.ebuild    | 4 +++-
 sys-auth/pambase/pambase-999999999.ebuild   | 4 +++-
 11 files changed, 19 insertions(+), 3 deletions(-)