Finally I am able to compile and use the pam_radius_auth.so on the AIX
5.1 system.

Here is what I did, please tell me if it will cause any issue later.
Basically, I tell it to compile just like a SUN machine.

       - change to the md5.h file. Change line 18 from:
           #define uint32 u_int32_t
         to
           #define uint32 uint32_t
       - in md5.c, insert to line 38 (before any #include lines)
           #define __sparc
       - in pam_radius_auth.h, line 60, insert after the comment section
but
         before "#ifdef sun":
            #define sun

Thanks

Eric

-----Original Message-----
From: Alan DeKok [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 08, 2004 10:41 AM
To: Lam, Eric
Subject: Re: Pam_radius_auth on AIX 5.1 


> I am able compile the pam_radius_auth.so module after some changes in
> the source code. It can talk to my Radius server but the radius server
> does not understand the "shared secret". I think there is some issue
on
> the md5* source codes. It requires some changes for AIX ?

  Find a public domain md5.[ch] on the net, and use it in place of the
existing md5.[ch].  I haven't had the time yet to do that myself.

  Alan DeKok.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to