Ticket #23313 (new defect)
netatalk: Fix for "PAM_Error: Authentication failure"
|Reported by:||probono@…||Owned by:||ralph@…|
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.
- Cc ralph@… removed
- Owner changed from macports-tickets@… to ralph@…
- Type changed from enhancement to defect