You are not logged in.

#1 2020-07-05 10:26:30

Scriptor
Member
Registered: 2011-01-16
Posts: 136

NFS v4 + Kerberos : mount.nfs Operation not permitted

Hello,

I am desperately trying to mount my NFS directory on my client with the use of Keberos. I think I managed to set up Keberos correctly, I am able to access the kadmin interface from the client on the server and create a ticket.

But, I when I execute:

mount -v -o vers=4 myserver:/my/mount/point /my/local/mount/point

I get:

mount.nfs: timeout set for <date>
mount.nfs: trying text-based options 'vers=4.2,addr=<addr>%<interface>,clientaddr=<addr>'
mount.nfs: mount(2): Operation not permitted
mount.nfs: Operation not permitted

My /etc/exports  looks like this:

/my/mount/point *(rw,async,no_subtree_check,no_root_squash,sec=krb5p)

As the wiki suggested, I am using systemd-timesyncd on both the server and the client.

Unfortunately, I wasn't able to find any log (server and client).

Thank you very much for any help.

Last edited by Scriptor (2020-07-05 10:30:15)

Offline

#2 2020-07-31 11:55:12

ezacaria
Member
Registered: 2007-12-10
Posts: 76

Re: NFS v4 + Kerberos : mount.nfs Operation not permitted

Did you manage to solve this?
There was another thread with NFS timeout some time ago, not sure if this could help.

Just to understand the setup, is the server hosting both the NFS directories and Kerberos? If that is the case, would it not be easier to use SSHFS?

Offline

Board footer

Powered by FluxBB