Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am having a problem when mounting the NFS server share using sec=krb5 The error is

WARNING: Failed to create krb5 context for user with uid 0 for server YYY
WARNING: Failed to create machine krb5 context with credentials cache FILE:/tmp/krb5cc_machine_XX
WARNING: Failed to create machine krb5 context with any credentials cache for server YYY

I test the ketab entry using

 #kinit -k  <client name>$ -t /etc/krb5.keytab ----> works
 #kinit -k  <client name>$ -c /tmp/krb5cc_machine_XX ----> works

I have below service running:

 rpc.gssd
 rpc.idmap 
 krb5.keytab
 krb5.conf

but when I try to mount

 # mount -t nfs4 -o sec=krb5 <server name>:/mnt/HD/public /mnt/public

The error said

 mount.nfs4: access denied by server while mounting <server name>::/mnt/HD/public
share|improve this question
    
Check your general system log on the NFS server, and the krb5kdc log on the KDC. –  Michael Hampton May 22 at 10:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.