Bug 2187510 - Activating Session Recording disables IPA/IDM access
Summary: Activating Session Recording disables IPA/IDM access
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: cockpit-session-recording
Version: 9.3
Hardware: All
OS: All
unspecified
medium
Target Milestone: rc
: 9.3
Assignee: jstephen
QA Contact: Anuj Borah
URL:
Whiteboard:
Depends On: 2176378
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-17 19:18 UTC by jstephen
Modified: 2023-06-26 20:23 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2176378
Environment:
Last Closed:
Type: Bug
Target Upstream Version: v13
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-154976 0 None None None 2023-04-17 19:19:16 UTC
Red Hat Issue Tracker SSSD-5929 0 None None None 2023-04-17 19:19:25 UTC

Description jstephen 2023-04-17 19:18:06 UTC
+++ This bug was initially created as a clone of Bug #2176378 +++

Description of problem:
- Activating Session Recording disables IPA/IDM access

Version-Release number of selected component (if applicable):
- RHEL 8.7
- cockpit-session-recording-12-1.el8.noarch


How reproducible:


Steps to Reproduce:
1. enable IPA/IDM login on a client
2. Install cockpit-session-recording: yum install cockpit-session-recording
   No file /etc/sssd/conf.d/sssd-session-recording.conf is created by default
3. Go to Cockpit web page and select
4. Set the SSSD Config to Scope = All
5. Save configuration
   The file /etc/sssd/conf.d/sssd-session-recording.conf is then created:

   ------------------------
   [sssd]
   enable_files_domain=true
   services=nss

   [session_recording]
   scope=all
   exclude_users=
   exclude_groups=
   ------------------------

6. After that the IPA/IDM login fails

Actual results:
- The IPA/IDM login fails

Expected results:
- IPA/IDM login should be possible after activating cockpit-session-recording


Root Cause Analysis:
Due to the override for "services" in The file /etc/sssd/conf.d/sssd-session-recording.conf
the IPA/IDM access is disabled.

The default /etc/sssd/sssd.conf file sets the services to
   services = nss, pam, ssh, sudo


Workaround:
Remove the line "services=nss" from /etc/sssd/conf.d/sssd-session-recording.conf


Note You need to log in before you can comment on or make changes to this bug.