[OpenAFS-devel] OpenAfs 1.2.8 and Win2K-XP wrong port number.

Kramer, Matthew mattkr@bu.edu
Tue, 4 Feb 2003 09:42:36 -0500


Hello,
	Our Kerberos 4 environment listens on only port 750 and doesn't
listen on port 88.  For Win2K/XP machines this causes a problem in
C:\openafs-1.2.8\src\kauth\user_nt.c line 144 when the Kerberos port is
queried from the %systemroot%\system32\drivers\etc\services file.  Win2K
and XP both return 88 which is correct for Kerberos 5 but in our case
not for Kerberos 4.  Why doesn't it instead query for kerberos-iv which
would return the correct value of 750?

Y:\src\kauth>diff user_nt.c.orig user_nt.c
144c144
<       sp =3D getservbyname("kerberos", "udp");
---
>       sp =3D getservbyname("kerberos-iv", "udp");


Thanks,
Matt Kramer
Boston University
Information Technology