Core with 64Bit pam_radius_auth on Solaris 9

Alan DeKok aland at
Wed Sep 22 08:06:38 CEST 2010

Peter Lambrechtsen wrote:
> Hello
> I've managed to compile pam_radius-1.3.17 both 32Bit and 64Bit.
> I had to add -lsocket as part of linking to get it to work and modified
> the make file to have -m64 to compile on 64bit
> When I compile it for 64Bit this is my make output:
> But when I try and use the 64Bit version of pamtester it core dumps.

  Well... gdb should help to track it down.

> Any suggestions on what to do with gdb or to debug this problem??

$ gdb --args ./pamtester jpam peter authenticate
(gdb) run
(gdb) bt

> I've seen a number of posts such as this one:
> Talking about changing the typedef for md5.h
> -#define uint32 u_int32_t
> +#define uint32 uint32_t
> However 1.3.17 already seems to have this patch.
> struct MD5Context {
>     uint32_t buf[4];
>     uint32_t bits[2];
>     unsigned char in[64];
> };
> I'm no C developer so not sure where to go to from here.

  I don't have a 64-bit Solaris machine, so I can't help much.

  Alan DeKok.

More information about the Freeradius-Users mailing list