[comp.protocols.appletalk] CAP 6.0 opentalkdb problem

hflai@squid.ucsb.edu (Hsun-Feng Lai) (05/01/91)

	Recently when we tried to install CAP 6.0 on our system, a weird problem
occurred after a smooth compilation and installation of CAP 6.0.  The
getzones in cap60/samples reported that bad format was found in atalk.local.
After a close look into the program, I found that the node number for the 
host was masked with 0x7f.  You can find this statement in atalkdbm.c, 
procedure openatalkdb.  Unfortunately, our host has a lower byte 128(0x80) and
after the mask, it becomes 0(0x00) and causes the pause of program.

	If you have a CAP host with node number lower than 128, nothing will happen,if you have a node number like us, then you will shurely get a error.  However,
I guess, what is worse is for those hosts with node number greater thatn 128.
It may success in sending out message but fail to receive any response since
the desired destination has been masked and the message goes to somewhere else.

	I am curious about the reason of the mask.  Is there any specific purpose
to do that?  What if I just remove it?(In fact, I did and the atlook and getzones timeout without any response)  Help is needed and will be much appreciated.

//////////////////////////////////////////////////////////////////////////////
Hsun-Feng Lai
hflai@squid.ucsb.edu
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\