我的客户端/服务器都运行 Ubuntu 14.04 并且 kerberos 用户身份验证按预期工作。常规的 nfs4 安装也可以正常工作。所有机器都运行 heimdal 库。
我一直无法让 kerberized nfs4 工作。
挂载共享时,我在日志中收到以下条目:
Jun 22 11:25:13 SERVER rpc.svcgssd[7349]: leaving poll
Jun 22 11:25:13 SERVER rpc.svcgssd[7349]: handling null request
Jun 22 11:25:13 SERVER rpc.svcgssd[7349]: svcgssd_limit_krb5_enctypes: Calling gss_set_allowable_enctypes with 7 enctypes from the kernel
Jun 22 11:25:13 SERVER rpc.svcgssd[7349]: WARNING: gss_accept_sec_context failed
Jun 22 11:25:13 SERVER rpc.svcgssd[7349]: ERROR: GSS-API: error in handle_nullreq: gss_accept_sec_context(): GSS_S_FAILURE (Unspecified GSS failure. Minor code may provide more information) - Wrong principal in request …Run Code Online (Sandbox Code Playgroud)