Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 71567

Summary: Please make cyrus-sasl to authenticate crypt(3) hashed passwords from auxprop plugins
Product: Gentoo Linux Reporter: steveb <steeeeeveee>
Component: [OLD] LibraryAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description steveb 2004-11-17 10:08:01 UTC
Can the maintainer of the cyrus-sasl package please add the patch from http://frost.ath.cx/software/cyrus-sasl-patches/ to the cyrus-sasl ebuild?

The only thing needed to be changed in the ebuild is to add the following to src_unpack:
# Allow to authenticate crypt(3) hashed passwords from auxprop plugins
epatch "${FILESDIR}/${PN}-2.1.19-checkpw.c+sql.c.patch"


The patch can be downloaded at http://frost.ath.cx/software/cyrus-sasl-patches/dist/2.1.19/cyrus-sasl-2.1.19-checkpw.c+sql.c.patch


The patch adds the following plugin configuration directive: 
password_format: [plaintext|crypt|crypt_trad]


I have successfull tested the patch with 2.1.20 (just modified the 2.1.20 ebuild and made a new revision) on x86 (hardened and not hardened).

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Tuan Van (RETIRED) gentoo-dev 2004-11-17 10:15:12 UTC

*** This bug has been marked as a duplicate of 45181 ***
Comment 2 steveb 2004-11-17 12:53:04 UTC
i have not tested it with plain text. anyway... the comment is from may 2004 and since that stuff has changed.