Hello Fajar, I already install gcc and ln -s /usr/bin/gcc /usr/bin/cc(if I didn't link cc to gcc, make will not work). All I find out man page list: man pam_get_item http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.i... pam_get_user http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.i... pam_sm_acct_mgmt http://publib.boulder.ibm.com/infocenter/aix/v7r1/index.jsp?topic=%2Fcom.ibm... man pam_sm_authenticate http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.i... pam_sm_chauthtok http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.i... pam_sm_close_session http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm... pam_sm_open_session http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.i... pam_sm_setcred http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm... Sam ============================================================== Sam Lin 林立山 Acom Networks E-MAIL : sam@acom-networks.com OFFICE : +886.2.2313.1416 MOBILE : +886.930.895.633 ============================================================== 於 2014/5/15 下午12:52, Fajar A. Nugraha 提到:
On Thu, May 15, 2014 at 9:56 AM, Sam 林立山 <sam@acom-networks.com <mailto:sam@acom-networks.com>> wrote:
Hello Arran,
I don't understand your step2. What's your mean man page? There is only error message on the screen.
Probably something like this
src/pam_radius_auth.c: At top level: src/pam_radius_auth.c:1037:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh,int flags,int argc,CONST char **argv) ^ src/pam_radius_auth.c:1240:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' PAM_EXTERN int pam_sm_setcred(pam_handle_t *pamh,int flags,int argc,CONST char **argv)
Note the errors (assuming those are from latest git master)? Now run
"man pam_sm_authenticate" and "man pam_sm_setcred". The documentation for those functions in AIX are probably available in the man page.
FWIW, google search for "aix pam_sm_authenticate" returns this: http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.i...
Also, have you tried using gcc? It might produce different result.
-- Fajar
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html