On Fri, Dec 21, 2001 at 10:14:44PM +0000, Donn Cave wrote: > I filed a bug report against ftp's DNS, I have probably filed it > every other release since 1.0.5 or so, and I guess it or something > like it may be in service at many sites through various "monster patch" > collections of stuff that MIT gets but won't look at. I'm not at all > sure it would solve your problem. The problem isn't really GSSAPI, > and it turns up in Kerberos clients like Heimdal telnet. All ftp needs > is a "reverse lookup": gethostbyaddr() on the IP address it used for > the connection. That just anticipates the gethostbyaddr() that will > eventually occur in gss_import_name -> krb5_sname_to_principal anyway. > The idea is that IP -> DNS -> IP -> ... is a stable loop, but it has > to start with IP - initial DNS can be a "cluster" name whose "A" records > vary dynamically. At my site, see homer.u.washington.edu, a "host" with > ca. 40 actual host addresses, and there appear to be plenty of other > sites that have hosts like this.
The krb5 libs already do perform the reverse lookup, and, since it hits /etc/hosts first, it doesn't help. > I don't know if it would solve your problem, because when I use /etc/hosts > on NetBSD, gethostbyaddr() returns the short name. But then, telnet > doesn't work for me in this case, either. Right. BTW, I've solved this problem, in a hackish way, by making wrappers around gethostby*() which try to fully qualify non-fully qualified hostnames - this is done only for the localhost's hostname in my hack. It works well - as long you only have few, few entries in /etc/hosts and use DNS primarily. > Donn Cave, [EMAIL PROTECTED] Cheers, Nico -- -DISCLAIMER: an automatically appended disclaimer may follow. By posting- -to a public e-mail mailing list I hereby grant permission to distribute- -and copy this message.- Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments.
