[576] in testers
6.4R: Kerberos: krb_kntoln
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Sat Dec 30 15:04:49 1989
From: probe@ATHENA.MIT.EDU
Date: Sat, 30 Dec 89 15:04:15 -0500
To: bug-kerberos@ATHENA.MIT.EDU, testers@ATHENA.MIT.EDU
Reply-To: Richard Basch <probe@ATHENA.MIT.EDU>
1. In kerberos(3), krb_kntoln is not listed in the functions that can be
used. It is found in the text of the manual page along with the
description that it looks up mappings in /etc/aname.
2. The implementation of krb_kntoln does not use /etc/aname. The
function returns the principal if the instance is null and the realm is
the local realm. In other conditions, an error is flagged.
3. May I suggest an improvement to the function? Would it not be better
to have the map file (/etc/aname) as a parameter to the function call
and have the default in case the parameter is NULL be /etc/aname? This
will allow for different services to have different mappings. Though
this will not be common, it probably will not be all that rare either.
-Richard