Need help with nfsv4 and krb5 access denied

Herbert Poeckl freebsdml at ist.tugraz.at
Thu Jun 28 14:25:27 UTC 2012


On 06/28/2012 02:07 AM, Rick Macklem wrote:
> The NFS server will authenticate nfs/tmp2.ist.intra against the Kerberos
> KDC, using the information in the keytab entry. The whole idea behind a
> host based principal like "nfs/tmp2.ist.intra" is that it can only be
> used by the host "tmp2.ist.intra". As such, when the Kerberos KDC receives
> an auathentication request for nfs/tmp2.ist.intra, it will DNS resolve
> tmp2.ist.intra (to 192.168.1.164 it seems) and will compare that to the
> IP address the authentication request is received from. I think this
> means the KDC will fail the request if it is sent to the KDC from 192.168.6.2.

Yes, of course. There is and will be no traffic on 192.168.6.2.

What I've tried to say (and probably failed), is that we have a network
card in the machine, where the result is always access denied (with the
correct server IP address set for that NIC).


> Your KDC should be logging something when this fails and the traffic you'd
> need to look at is the traffic between the NFS server and the KDC. (I'd use
> wireshark, since it probably knows a fair bit about Kerberos.)

Thank you, I will give it a try.

Kind regards,
 Herbert


More information about the freebsd-stable mailing list