[444] in Zephyr_Bugs
problem with kstuff.c in server code.
daemon@ATHENA.MIT.EDU (Scott Dawson)
Tue Jan 12 14:00:25 1993
To: zephyr-bugs@Athena.MIT.EDU
Cc: grnbrg@ccu.UManitoba.CA, thompsn@ccu.UManitoba.CA, sdawson@engin.umich.edu
Date: Tue, 12 Jan 93 13:30:09 -0500
From: Scott Dawson <sdawson@engin.umich.edu>
I don't know if you have already turned this up or not, but there is a
problem with GetKerberosData in src/server/kstuff.c. The problem is
that krb_rd_req is passed haddr which is a struct in_addr when it is
expecting a long. This seems to work ok on some platforms (it worked
for me on a DEC 5000), but not on others (suns in particular). The
solution is to pass haddr.s_addr into krb_rd_req.
Here's the diff:
% diff kstuff.c kstuff.c.new
100c100
< return(krb_rd_req(&ticket,service,instance,haddr,kdata, srvtab
? srvtab : ""));
---
> return(krb_rd_req(&ticket,service,instance,haddr.s_addr,kdata,
srvtab ? srvtab : ""));
%
Hope this helps.
-Scott