des/md5 problems?

From: Sam Fleitman (samf@dallas.net)
Date: Sun Jan 09 2000 - 23:14:35 EST


I've got the 2.0pre client setup and working up to a point.
I'm using perl 5.005_02 on a Solaris box running 2.7.

When I use "reg_system.cgi", I get the following error:

      Failed attempt: Authentication Error.

When I turn off DES via the $AUTH_TYPE variable in OpenSRS.conf, the
registration works fine so presumably, I have the proper
username/password.

In order to compile Crypt::DES that I downloaded from CPAN, I had to add

   typedef unsigned char u_int8_t;
   typedef unsigned short u_int16_t;
   typedef unsigned int u_int32_t;

in order to get it to compile. It appeared to compile fine that way, but
on a "make test" it still failed the last 2 out of 4 tests. I went ahead
and installed it anyway and tried to use it like that.

To see what type of responses I was getting, I put some print stmts in
OpenSRS.pl:sub _authenticate. The $challenge var that is set on line 363
of that file does get set with a value, so I know I'm communicating with
the server. However, "$answer = _read_data($fh);" on line ~375 does not
get a value so authentication is reported as "failed".

If you've seen something familiar, or if you have any ideas, I'ld
certainly appreciate suggestions, comments, etc.,. I'm running out of
ideas...

Sam F
samf@catalog.com



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:35:14 EDT