Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40952 - vm-pop3d ebuild fails to install vm-pop3d.pamd in /etc/pam.d
Summary: vm-pop3d ebuild fails to install vm-pop3d.pamd in /etc/pam.d
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-09 02:38 UTC by Shaun Cloherty
Modified: 2005-02-16 11:25 UTC (History)
0 users

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


Attachments
vm-pop3d.pamd for inclusion in vm-pop3d/files (vm-pop3d.pamd,109 bytes, text/plain)
2004-02-09 23:34 UTC, Shaun Cloherty
Details
Updated ebuild to take care of installing vm-pop3d.pamd (vm-pop3d-1.1.6-r1.ebuild,1016 bytes, text/plain)
2004-02-09 23:39 UTC, Shaun Cloherty
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shaun Cloherty 2004-02-09 02:38:27 UTC
emerge of vm-pop3d-1.1.6 proceeds smoothly but fails to install the supplied vm-pop3d.pamd config file in /etc/pam.d/vm-pop3d. This results in an;

-ERR Bad login

response from the server when clients connect as real (i.e. those listed in /etc/passwd, non-virtual) mail users.

Reproducible: Always
Steps to Reproduce:
1. emerge vm-pop3d
2. /etc/init.d/vm-pop3d start
3. telnet localhost 110
4. user <username>
5. pass <plain text password>

Actual Results:  
Server responds with;

-ERR Bad login

Expected Results:  
Server should have replied with;

+OK opened mailbox for <username>

The solution is to copy vm-pop3d.pamd from the source archive into
/etc/pam.d/vm-pop3d
Comment 1 Shaun Cloherty 2004-02-09 23:34:58 UTC
Created attachment 25316 [details]
vm-pop3d.pamd for inclusion in vm-pop3d/files

Seems the suplied vm-pop3d.pamd uses the deprecated /lib/security/pam_pwdb.so.
Here's an updated version using /lib/security/pam_unix.so. I suggest adding it
to the portage tree.
Comment 2 Shaun Cloherty 2004-02-09 23:39:57 UTC
Created attachment 25317 [details]
Updated ebuild to take care of installing vm-pop3d.pamd

Here's an updated ebuild (I added the -r1 though it may not warrant that) to
handle installation of the attached vm-pop3d.pamd in /etc/pam.d.
Comment 3 Shaun Cloherty 2004-08-06 01:31:10 UTC
Any body interrested in this bug? I noticed on a new install that the ebuild has been modified, but this bug persists... <nudge>.
Comment 4 Fernando J. Pereda (RETIRED) gentoo-dev 2005-02-16 11:25:42 UTC
Fixed in CVS.

Thanks
Ferdy