Subject: Re: NetBSD master CVS tree commits
To: The Source of All Evil <source@NetBSD.ORG>
From: Greg Hudson <ghudson@mit.edu>
List: tech-userlevel
Date: 03/22/1996 12:09:53
> explorer
> Fri Mar 22 03:45:10 EST 1996
> Update of /a/cvsroot/src/domestic/usr.bin/telnet
> In directory pain.lcs.mit.edu:/b/tmp/cvs-serv9104

> Modified Files:
> 	commands.c 
> Log Message:
> Fix telnet so that KerberosIV encryption works with CNAMEs:
>         for ip # based telnets:
>                 get the host name via gethostbyaddr() and use the
>                         name returned.  If the call fails, keep
>                         the numeric version and let kerberos fail.
>         for telnets to CNAMEs:
>                 After the gethostbyname() has returned the correct
>                         ip #, use it as above to get the true
>                         name of the machine.

The second part of this change should be unnecessary.  Our
gethostbyname() returns a canonical name in the h_name field of the
hostent structure.

I have a somewhat difficult time believing that you tested the
resulting telnet on cnames before and after the change you made.  Am I
missing something?