NFS4 with kerberos authentication

AxelTwin

Well-Known Member
Oct 10, 2017
138
6
58
40
Hi everybody,

I am trying painfully to setup a nfs server with kerberos authentication following thi howto: NFSv4Howto

When I try to issue the command: modprobe rpcsec_gss_krb5
I get the following error:
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/5.3.18-2-pve/modules.dep.bin' modprobe: FATAL: Module rpcsec_gss_krb5 not found in directory /lib/modules/5.3.18-2-pve
Any ideas ?

FYI: nesting / NFS features are enabled
 
hi,

command works here. could you post your pveversion -v?

edit: wait you're running the modprobe command in a container? because you need to run on the PVE host.
 
Last edited:
Re-run your package installation on the NFS server and client for the Heimdal KDC configuration. Modprobe/kernel install must be completed on NFS client and server, too, but if either is virtualized, install it at the kernel layer on the PVE host

You can verify installation on the kernel module with
Code:
lsmod | grep rpcsec_gss_krb5

To roll a failed kernel mod install back, run

Code:
rmmod rpcsec_gss_krb5

I’m recommending you DONT modify your krb5.conf with
Code:
allow_weak_crypto = true

in fact, lol, please disable all 3des encryption modes and allow only AES