Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92351 - netatalk 2.0.1 uses incorrect pam modules causing appletalk authentication to fail
Summary: netatalk 2.0.1 uses incorrect pam modules causing appletalk authentication to...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-12 03:43 UTC by will
Modified: 2005-06-30 16:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description will 2005-05-12 03:43:46 UTC
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
Comment 1 Maurice van der Pot (RETIRED) gentoo-dev 2005-06-30 14:31:43 UTC
netatalk needs a developer to take up maintenance.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-06-30 15:31:12 UTC
I'll fix this with the new version soon. 
 
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-06-30 16:59:02 UTC
New netatalk-2.0.3 uses pamd_mimic_system to use system-auth configuration.