[2410] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Finding out interface addresses under Windows 95/NT

daemon@ATHENA.MIT.EDU (Ken Hornstein)
Wed Jul 2 23:04:56 1997

To: krbdev@MIT.EDU
Date: Wed, 02 Jul 1997 23:02:18 -0400
From: Ken Hornstein <kenh@cmf.nrl.navy.mil>

In doing testing at our site, the WinNT-Alpha2 snapshot does not work
on the majority of our machines.

The reason?  "Incorrect Net Address".

Some of this is generated by NT having a local host file that seems to
get old/wrong entries in it.  This took a while to track down, but is
fixable in some cases.

However, the root of the problem is that the version of krb5_os_localaddr()
used for the win32 stuff (and for the Mac as well) uses DNS to determine
the local IP address, and this is broken for many machines.  This also
fails miserably for machines that come in via dialups with dynamic IP
addresses assigned (because on those machines, the hostname doesn't exist
in DNS 99% of the time).

While machines under our control are easy enough to fix, making this
work for machines outside of our control is impractical at best (and
impossible for dialup machines with dynamic IP addresses).

I'm wondering if anyone has thought about these problems, and possible
solutions?  Obviously the "right" solution is the make krb5_os_localaddr()
work for real on Win32 machines, but since I'm not a Wintel programmer,
I don't know if that's possible or not.

--Ken

home help back first fref pref prev next nref lref last post