This is an endian problem that we ran into.
I believe we posted the patch for the CPAN DES module in the discuss-list.
If you don't have those emails, let me know and I will find it or find the
diff and post it here for you.
On Sun, Jan 09, 2000 at 10:14:35PM -0600, Sam Fleitman wrote:
>
> 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
>
--
+---------------------------------+--------------------------------+
| Michael Smith | TECHNICAL SUPPORT |
| Engineer (San Antonio) | San Antonio: (210) 357-9202 |
| msmith@texas.net | Austin : (512) 427-1652 |
| Texas Networking, Inc. | Houston : (713) 222-2260 |
| Hours Of Phone Support | Boerne : (830) 249-7058 |
| Monday - Friday :8am to 12am | Dripping Sp: (512) 858-5092 |
| Saturday - Sunday :10am to 7pm | Georgetown : (512) 869-5947 |
| http://lonestar.texas.net | Dallas : (214) 953-1005 |
+---------------------------------+--------------------------------+
This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:35:14 EDT