(RADIATOR) Authby TACACSPLUS on 64-bit architecture
Hugh Irvine
hugh at open.com.au
Wed May 23 18:13:49 CDT 2007
Hello Ernst -
Many thanks for the patch.
Mike is travelling at the moment, but he will deal with this as soon
as he can.
regards
Hugh
On 23 May 2007, at 23:29, Ernst Oudhof wrote:
> Hi,
>
> I noticed that Authby TACACSPLUS didn't work on my 64-bit radius
> server.
> It gave mismatched encryption key errors on the TAC+ server.
> The problem is in the md5.h file in the Authen:TacacsPlus package.
>
> It uses an unsigned long as a 32-bit type. On a 64-bit arch a long is
> 64-bits I've changed it to an int which is 32-bit on both 32 en 64-bit
> architectures. (see patch below)
>
> --- md5.h 2007-05-23 05:06:02.000000000 +0000
> +++ md5.h 2007-05-23 20:22:12.000000000 +0000
> @@ -54,7 +54,7 @@
> #if defined(CISCO_MD5_MODS)
>
> /* typedef a 32-bit type */
> -typedef unsigned long int UINT4;
> +typedef unsigned int UINT4;
>
> /* typedef a generic pointer type */
> typedef unsigned char *POINTER;
>
> regards,
>
> Ernst
>
>
> --
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
NB:
Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/
radiator)?
Have you had a quick look on Google (www.google.com)?
Have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
Have you checked the RadiusExpert wiki:
http://www.open.com.au/wiki/index.php/Main_Page
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
Includes support for reliable RADIUS transport (RadSec),
and DIAMETER translation agent.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.
--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list