The combination between pam_smb-2.0.0.r5 + mod_auth_pam-1.0a + apache+mod_ssl-1.3.28+2.8.15_1 is broken after the recent upgrade of pam_smb. The /var/log/all.log shows these lines: Aug 29 14:20:19 tomcat httpd: unable to resolve symbol: pam_sm_authenticate Aug 29 14:20:19 tomcat /kernel: Aug 29 14:20:19 tomcat httpd: unable to resolve symbol: pam_sm_authenticate Aug 29 14:20:19 tomcat httpd: unable to resolve symbol: pam_sm_setcred Aug 29 14:20:19 tomcat /kernel: Aug 29 14:20:19 tomcat httpd: unable to resolve symbol: pam_sm_setcred the apache log shows the following: [Fri Aug 29 14:21:14 2003] [error] (2)No such file or directory: access to /cgi-bin/ids/index.cgi failed for 192.168.16.20, r eason: Module is unknown Fix: Don't know how to fix this. How-To-Repeat: just upgrade your pam_smb port to the current release and set it up together with apache and mod_auth_pam to authenticate a service via mod_auth_pam
State Changed From-To: open->feedback Does the following fix the problem? diff -ur orig/pam_smb-2.0.0-rc5/configure pam_smb-2.0.0-rc5/configure --- orig/pam_smb-2.0.0-rc5/configure Mon Jun 9 18:16:11 2003 +++ pam_smb-2.0.0-rc5/configure Sat Aug 30 00:00:26 2003 @@ -1524,7 +1524,7 @@ fi ;; FreeBSD*) - SHLIB_CFLAGS="-fPIC" + SHLIB_CFLAGS="-fPIC -DPIC" SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" SHLIB_LD="${CC} -shared" diff -ur orig/pam_smb-2.0.0-rc5/configure.in pam_smb-2.0.0-rc5/configure.in --- orig/pam_smb-2.0.0-rc5/configure.in Mon Jun 16 21:53:08 2003 +++ pam_smb-2.0.0-rc5/configure.in Sat Aug 30 00:00:04 2003 @@ -191,7 +191,7 @@ fi ;; FreeBSD*) - SHLIB_CFLAGS="-fPIC" + SHLIB_CFLAGS="-fPIC -DPIC" SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" SHLIB_LD="${CC} -shared"
The add of -DPIC has make it work. The patch is fine. Thank you.
State Changed From-To: feedback->closed Fix committed, thanks.