RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1168735 - The Kerberos provider is not properly views-aware
Summary: The Kerberos provider is not properly views-aware
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sssd
Version: 7.1
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Sumit Bose
QA Contact: Kaushik Banerjee
URL:
Whiteboard:
Depends On:
Blocks: 1168850
TreeView+ depends on / blocked
 
Reported: 2014-11-27 17:09 UTC by Jakub Hrozek
Modified: 2020-05-02 17:52 UTC (History)
13 users (show)

Fixed In Version: sssd-1.12.2-32.el7
Doc Type: Bug Fix
Doc Text:
The following known issue description has been removed from the RHEL 7.1 Beta Release Notes: The Kerberos provider of SSSD does not take into account that UIDs can be overridden with the views functionality, which is new in Red Hat Enterprise Linux 7.1. In addition, if a user has his UID overridden, the original UID is used instead. Consequently, using an incorrect UID can, for example, cause failures when creating the Kerberos keyring cache. No workaround is available at the moment.
Clone Of:
Environment:
Last Closed: 2015-03-05 10:34:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 3552 0 None None None 2020-05-02 17:52:18 UTC
Red Hat Product Errata RHBA-2015:0441 0 normal SHIPPED_LIVE sssd bug fix and enhancement update 2015-03-05 15:05:27 UTC

Description Jakub Hrozek 2014-11-27 17:09:30 UTC
Description of problem:
The Kerberos provider does not handle views properly. This can result in strange behaviour, like the ccache being created with the original UID instead of the overriden one.

Version-Release number of selected component (if applicable):
sssd-1.12.2-28.el7

How reproducible:
always

Steps to Reproduce:
1. Assign an UID override on the server side
2. Log in to the client. Run "id" to make sure the ID is as expected
3. run klist

Actual results:
An error message, complaining that ccache is not present in the keyring for the specified UID

Expected results:
The ccache should be printed correctly.

Additional info:

Comment 1 Jakub Hrozek 2014-11-27 17:11:09 UTC
Upstream ticket:
https://fedorahosted.org/sssd/ticket/2510

Comment 2 Jakub Hrozek 2014-12-03 13:39:25 UTC
Fixed in master:

 * b7088215501c99e40ae71d1c57e0b789bbae2c87
 * 2bf1cbffaac3b4bc0bd736493c985ca865092805
 * 61d2ccf1dae3f1e7fc987ae98cb5c493cc73a782

Comment 4 Steeve Goveas 2015-01-28 14:16:05 UTC
Verified in version

[root@sideswipe ~]# rpm -q sssd ipa-server
sssd-1.12.2-52.el7.x86_64
ipa-server-4.1.0-17.el7.x86_64

On Server

[root@sideswipe ~]# ipa idoverrideuser-add 'default trust view' aduser1 --uid 1672600010
------------------------------------------
Added User ID override "aduser1"
------------------------------------------
  Anchor to override: aduser1
  UID: 1672600010

[root@sideswipe ~]#  service sssd stop; rm -rf /var/lib/sss/{db,mc}/*; service sssd start

On Client

[root@ratchet ~]#  service sssd stop; rm -rf /var/lib/sss/{db,mc}/*; service sssd start

[root@ratchet ~]# ssh -l aduser1 `hostname` "id;klist"
aduser1@ratchet.ipabugs.test's password: 
Could not chdir to home directory /home/adtest.qe/aduser1: Permission denied
uid=1672600010(aduser1) gid=1148401313(aduser1) groups=1148401313(aduser1),1148400513(domain users),1148401449(adgroup1),1148402424(adunigroup1),1148402425(adgroup2),1672600004(sudogroup) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

Ticket cache: KEYRING:persistent:1672600010:krb_ccache_QCg9JGw
Default principal: aduser1

Valid starting       Expires              Service principal
01/28/2015 19:43:32  01/29/2015 05:43:32  krbtgt/ADTEST.QE
	renew until 01/29/2015 19:43:32

Comment 6 errata-xmlrpc 2015-03-05 10:34:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0441.html


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