The file /etc/pam.d/netatalk contained the following lines on install: auth required pam_pwdb.so account required pam_pwdb.so The pam_pwdb.so file does not exist on my system, and furthermore PAM lines for 'password' and 'session' are missing from this file. Replacing the lines above with the following lines fixes the problem: auth required pam_unix.so account required pam_unix.so password required pam_cracklib.so password required pam_unix.so use_authtok session required pam_unix.so Reproducible: Always Steps to Reproduce: 1. emerge netatalk 2. Configure afpd to use the DHX PAM module by adding the following line to afpd.conf: - -transall -uamlist uams_dhx.so,uams_guest.so -nosavepassword -nosetpassword -setuplog "default log_error" 2. /etc/init.d/atalk start 3. Attempt to log in from an OSX box to the appletalk share Actual Results: The login failed, and the following was seen in syslog: May 12 09:06:43 kali afpd[25883]: dhx login: macavity May 12 09:06:43 kali afpd[25883]: PAM unable to dlopen(/lib/security/pam_pwdb.so) May 12 09:06:43 kali afpd[25883]: PAM [dlerror: /lib/security/pam_pwdb.so: cannot open shared object file: No such file or directory] Expected Results: Login and allow access to the share
netatalk needs a developer to take up maintenance.
I'll fix this with the new version soon.
New netatalk-2.0.3 uses pamd_mimic_system to use system-auth configuration.