mount attempts with sec=krb5 result in ‘access denied’
This document (7008928) is provided subject to the disclaimer at the end of this document.
Environment
Situation
"mount.nfs: access denied by server while mounting"
Mounting without sec=krb5 is successful.
Restarting rpc.gssd in debug mode in the foreground: "rpc.gssd -vvvf" prints i.a. the following messages:
DEBUG: port already set to 2049
creating context with server info@host.domain.com
WARNING: Failed to create krb5 context for user with uid 0 for server host.domain.com
WARNING: Failed to create machine krb5 context with credentials cache
FILE:/tmp/krb5cc_machine_DOMAIN.COM for server host.domain.com
WARNING: Machine cache is prematurely expired or corrupted trying to recreate cache for server host.domain.com
This can cause problems when using large krb5 tickets. libtirpc was changed to allow larger ticket sizes with RPCSEC_GSS.
Resolution
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7008928
- Creation Date: 30-Jun-2011
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com