]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r285260
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 8 Aug 2015 22:06:07 +0000 (22:06 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 8 Aug 2015 22:06:07 +0000 (22:06 +0000)
commitc7931fe02f45e0cdcc46474596308e3ef336c468
treea343d7ad564134b65480a45707e91ffa5fd58c2e
parent141eae7d41f2f4e4df3c0f71c8cdee462c9764e8
MFC: r285260
Since the case where secflavor < 0 indicates the security flavor is
to be negotiated, it could be a Kerberized mount. As such, filling
in the "principal" argument using the canonized host name makes sense.
If it is negotiated as AUTH_SYS, the "principal" argument is meaningless
but harmless.

git-svn-id: svn://svn.freebsd.org/base/stable/10@286483 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/mount_nfs/mount_nfs.c