Opened 15 years ago

Last modified 3 years ago

#23313 new defect

netatalk: Fix for "PAM_Error: Authentication failure"

Reported by: probono@… Owned by: har5ha
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: haspatch Cc: aladin@…, cooljeanius (Eric Gallager)
Port: netatalk

Description

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.

Change History (4)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Cc: ralph@… removed
Owner: changed from macports-tickets@… to ralph@…
Type: enhancementdefect

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Summary: Fix for "PAM_Error: Authentication failure"netatalk: Fix for "PAM_Error: Authentication failure"

comment:3 Changed 10 years ago by raimue (Rainer Müller)

Owner: ralph@… deleted

comment:4 Changed 3 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.