Same problem here. I've found the code on
http://www.gehrignet.de/cms/programming/ninjam.shtml , who also shares a patch for the AMD64 auth fix!
My server works on AMD64 with client auth. But the php script doesn't work. The autentication fails. It says "invalid login to server!". It has something to do with the pass challenge but I can't find the relevant part
. Here is a part of the code:
Quote:
nj_sendauthmsg($fp, $user, $pass, $res['challenge']);
while (!feof($fp))
{
$poo=nj_getmsg($fp);
if (!$poo) break;
print_r($poo);
if ($poo['type'] == 1)
{
echo "invalid login to server!<BR>";
break;
}
|