#23313: Fix for "PAM_Error: Authentication failure" ------------------------------------+--------------------------------------- Reporter: probono@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: haspatch | Port: netatalk ------------------------------------+--------------------------------------- By just installing this port, I am unable to log in, I always get a message that the username/password is incorrect. /opt/local/var/log/netatalk.log shows [uams_dhx_pam.c:497]: I:UAMSDaemon: uams_dhx_pam.c: PAM: PAM_Error: Authentication failure This can be fixed by creating the file /etc/pam.d/netatalk with the following content: {{{ auth required pam_nologin.so auth sufficient pam_securityserver.so auth sufficient pam_unix.so auth required pam_deny.so account required pam_permit.so password required pam_deny.so session required pam_uwtmp.so }}} Now I am able to log in using my username and password and to access my files. The port should include the file /etc/pam.d/netatalk. Please note that I am not a PAM expert - the above works for me, but please check whether this configuration makes sense. -- Ticket URL: <http://trac.macports.org/ticket/23313> MacPorts <http://www.macports.org/> Ports system for Mac OS