To Compile source code: 1. install libpam-dev package in linux: ex for ubuntu: sudo apt-get install -y libpam-dev 2. edit Pam.c and comment //#include "net_sf_jpam_Pam.h" 3. Define JAVA_HOME using export JAVA_HOME=path of your jdk 4. go to src where make file is defined. 5. make <target> use your target, you can view makefile to see all targets.</target>
I am compiling the libjpam.so from linux machine: [root@mymachine c]#make libjpam.x86 gcc -fPIC -Wall -g -c -I/include -I/include/linux Pam.c Pam.c:73:10: fatal error: net_sf_jpam_Pam.h: No such file or directory #include "net_sf_jpam_Pam.h" ^~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [makefile:52: libjpam.x86] Error 1
Hi Issue is resolved. The lib "net.sf.jpam.Pam" was crashing as the password was going to be expired. A warning was coming for the password, we reset the password and now issue is resolved. Any plan to have the correction in the coming release. Thanks once again.. Regards Asif
JPAM crashing
This patch can improve PAM conversation to prevent JVM crash.
JVM crash for account with expired password
Crap, never mind, my bad, forgot the net-sf-jpam file configuration for pam, sor...
Crap, never mind, my bad, fogot the net-sf-jpam file configuration for pam, sorr...
Hi, I am using JPam obviously ;), everything works perfectly on Ubuntu but the exact...