Here is my output of the build. Not clean, but it starts to authenticate, but logs me out. Anyone have an idea on why the build produced this?

        gcc -Wall -fPIC -c src/pam_radius_auth.c -o pam_radius_auth.o

src/pam_radius_auth.c: In function 'rad_converse':

src/pam_radius_auth.c:1004: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type

src/pam_radius_auth.c:1007: warning: passing argument 2 of 'conv->conv' from incompatible pointer type

src/pam_radius_auth.c: In function 'pam_sm_authenticate':

src/pam_radius_auth.c:1056: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type

src/pam_radius_auth.c:1071: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type

src/pam_radius_auth.c:1095: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type

src/pam_radius_auth.c:1109: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type

src/pam_radius_auth.c:1142: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type

src/pam_radius_auth.c: In function 'pam_sm_setcred':

src/pam_radius_auth.c:1246: warning: passing argument 3 of 'pam_get_data' from incompatible pointer type

src/pam_radius_auth.c: In function 'pam_private_session':

src/pam_radius_auth.c:1268: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type

src/pam_radius_auth.c:1288: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type

src/pam_radius_auth.c: In function 'pam_sm_chauthtok':

src/pam_radius_auth.c:1368: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type

src/pam_radius_auth.c:1388: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type

src/pam_radius_auth.c:1397: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type

src/pam_radius_auth.c:1402: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type

        gcc -Wall -fPIC -c src/md5.c -o md5.o

        gcc -shared pam_radius_auth.o md5.o -lpam -lc -o pam_radius_auth.so




From: Arran Cudbard-Bell <a.cudbardb@freeradius.org>
Reply-To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org>
Date: Thursday, March 27, 2014 at 2:30 PM
To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org>
Subject: Re: AIX client to MS RADIUS server


On 27 Mar 2014, at 18:20, Lloyd Gill <lhg@jhmi.edu> wrote:

Ok, I am now working on AIX 7.1 and have a build of free radius module v1.4. Configured the OS for pam auth,  and here are my results:
2-factor auth completes, but then the shell exits. I actually see the MOTD, but am right away logged out.

Well at least it builds and and authenticates...

Check the security logs to see why you get logged out, this might not even be an issue with pam_auth_radius.

Arran Cudbard-Bell <a.cudbardb@freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2