| Summary: | Apache mod_auth_pam doesn't works | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Conrado Vardanega <cvarda> |
| Component: | Individual Port(s) | Assignee: | Dag-Erling Smørgrav <des> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports->ache Over to the Apache maintainer. This assignment would have happened sooner if the originator hadn't left it to us to guess which version of Apache he was talking about. I've changed the Synopsis accordingly. :-) Responsible Changed From-To: ache->des It have nothing common with Apache. Undefined symbol is PAM problem. Does this problem still occur? If so, please show me the output of $ objdump -T /usr/lib/pam_unix.so | grep item $ objdump -T /usr/lib/libpam.so | grep item DES -- Dag-Erling Smorgrav - des@ofug.org State Changed From-To: open->closed Feedback timeout. |
After compiling it, installing and setting it up, it doesn't authenticates users on system's user database through PAM as proposed. Apache asks user for a username/password and refuses access all the time. /var/log/messages presents these lines everytime a user tries to authenticate via web: Dec 4 13:26:13 rock httpd: adding faulty module: /usr/lib/pam_unix.so Dec 4 13:26:13 rock httpd: unable to dlopen(/usr/lib/pam_unix.so) Dec 4 13:26:13 rock httpd: [dlerror: /usr/lib/pam_unix.so: Undefined symbol "pam_get_item"] The /usr/lib/pam_unix.so is set as default: -r--r--r-- 1 root wheel 4828 Oct 18 19:03 /usr/lib/pam_unix.so Searching the web for this problem, it appears to happen only on FreeBSD. Forum posts have no replies. Fix: Not known. How-To-Repeat: Simply install it, enable the module on Apache (made automatically by port install) and set a directory to authenticate through it, as documentation states: AuthType Basic AuthName "secure area" require valid-user