Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1053877

Summary: RHEL7 nfs-utils not working correctly with keyring ccaches
Product: Red Hat Enterprise Linux 7 Reporter: Scott Poore <spoore>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED CURRENTRELEASE QA Contact: JianHong Yin <jiyin>
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: eguan, fs-qe, jiyin, sgallagh, ssorce
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nfs-utils-1.2.9-3.0.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1055077 (view as bug list) Environment:
Last Closed: 2014-06-13 09:58:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 991169, 1055077    
Attachments:
Description Flags
Patch that fixes the issue none

Description Scott Poore 2014-01-15 21:25:38 UTC
Description of problem:

I am seeing failures accessing kerberized NFS mount as AD Trusted user on IPA Client.

After some debugging, IPA Dev found that somewhere sssd is returning the AD Users principal as all lower case when it should include some upper case:

aduser1.test 

instead of:

Aduser1.TEST

Thus NFS lookup is not matching the principal in question to find the key.  

Version-Release number of selected component (if applicable):
nfs-utils-1.2.9-0.5.el7.x86_64

How reproducible:
always


Steps to Reproduce:
On IPA Server:
1. Setup IPA Server with Trust to AD Domain
2. setup kerberized NFS export (using gssproxy)
On IPA Client:
4. Setup IPA Client
5. setup kerberized NFS mount (using gssproxy) of server export
6. su - Aduser
7. cd /nfsmount/aduser1

There is probably an easier way to do this but, above is where I saw the issue.

Actual results:
permission denied error or not a directory

Expected results:
should be able to cd into dir and perform normal file operations as user

Additional info:

Comment 2 Simo Sorce 2014-01-15 21:42:49 UTC
Created attachment 850717 [details]
Patch that fixes the issue

I tested this patch and it fixes the issue and generally improves credential acquisition in rpc.gssd

Comment 3 Simo Sorce 2014-01-15 21:51:04 UTC
Marking as regression as these scenario would work with the old ccache types, but we are changing the deault in RHEL7

Comment 7 JianHong Yin 2014-02-07 01:44:43 UTC
test pass in latest RHEL7 snapshot 4.1

Comment 8 Ludek Smid 2014-06-13 09:58:52 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.