Operating System - HP-UX
1834785 Members
2916 Online
110070 Solutions
New Discussion

Using PAM Libraries on HP-UX 11 from AcuCobol

 
Aca
New Member

Using PAM Libraries on HP-UX 11 from AcuCobol

I need to know if it is possible to perform PAM functions on HP-UX 11 in COBOL (AcuCobol), and if so, a piece of code would be appreciated.

I managed to include (CALL) libpam.sl, and after CALL "pam_start" getting PAM_STATUS = 0, but it looks like doesn't work as it is supposed to.
After that, when CALL "pam_authenticate", getting PAM_STATUS = 4 (PAM_SYSTEM_ERROR).

Thanks,
Aca