Hide Forgot
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.4-addw1 i686; en-US; 0.8.1) Gecko/20010425 Description of problem: pam_access fails with wu-ftpd, unresolved symbols. How reproducible: Always Steps to Reproduce: Insert into /etc/pam.d/ftp the following line: auth required /lib/security/pam_access.so Try to do a ftp login to the machine. Actual Results: I can't login and in /var/log/messages I find: May 9 13:37:46 springbok ftpd[4016]: PAM unable to resolve symbol: pam_sm_authenticate May 9 13:37:46 springbok ftpd[4016]: PAM unable to resolve symbol: pam_sm_setcred May 9 13:37:48 springbok ftpd[4016]: failed login from localhost.localdomain [127.0.0.1] May 9 13:37:49 springbok ftpd[4016]: FTP session closed Expected Results: I would have expected to be able to login Additional info: It also seems to happen when I put the line into the /etc/pam.d/login file. The machine in a reasonably clean install, the only major addition is the latests ximian desktop.
*** Bug 39904 has been marked as a duplicate of this bug. ***
After looking at the source I find that the problem was mine. I invoked the pam module as a module-type 'auth' - since I wanted to authenticate by user and remote_address. If I invoke it as 'account' it works, ie: account required /lib/security/pam_access.so I would like to change the bug to a documentation bug. The overall level of PAM documentation is bad. But in the interim this bug is closed.