HomeFreeBSD

If a "principal" argument isn't provided for a Kerberized NFS mount,

Description

If a "principal" argument isn't provided for a Kerberized NFS mount,
the kernel would generate a bogus one with a ":/<path>" suffix.
This would only occur for the case where there was no explicit
"principal" argument and the getaddrinfo() call in mount_nfs.c failed to a
return a cannonical name for the server.
This patch fixes this unusual case.

PR: 201073
Submitted by: masato@itc.naist.jp
MFC after: 2 weeks

Details

Provenance
rmacklemAuthored on
Parents
rS285112: Latest clang uses openat(2).
Branches
Unknown
Tags
Unknown