I am trying to mount a krb5p NFS export. For this I have followed these instructions.
When attempting the mount on the client I get:
root@client:/home# mount -t nfs4 -o sec=krb5p server:/home/users /home/users/ -vvv mount: fstab path: "/etc/fstab" mount: mtab path: "/etc/mtab" mount: lock path: "/etc/mtab~" mount: temp path: "/etc/mtab.tmp" mount: UID: 0 mount: eUID: 0 mount: spec: "server:/home/users" mount: node: "/home/users/" mount: types: "nfs4" mount: opts: "sec=krb5p" mount: external mount: argv = "/sbin/mount.nfs4" mount: external mount: argv = "server:/home/users" mount: external mount: argv = "/home/users/" mount: external mount: argv = "-v" mount: external mount: argv = "-o" mount: external mount: argv = "rw,sec=krb5p" mount.nfs4: timeout set for Sun May 12 14:46:22 2013 mount.nfs4: trying text-based options 'sec=krb5p,addr=192.168.1.2,clientaddr=192.168.1.82' mount.nfs4: mount(2): Permission denied mount.nfs4: access denied by server while mounting server:/home/users
On the server however I could find no relevant log entry or any information at all that scribes the reason on why the access was denied.
When changing the security from
sys the mount works fine.
kinit etc for kerberos works fine though.
How can I find out the reason why the access is being rejected? Or do you perhaps know what I am doing wrong here?