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

Bug 76390

Summary: cyrus-sasl missing encrypted storage support with mysql - found a patch that works
Product: Gentoo Linux Reporter: Darren Martz <darren>
Component: New packagesAssignee: 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: ---
Attachments: patch adding encrypted password support for mysql storage

Description Darren Martz 2005-01-02 03:47:50 UTC
cyrus-sasl provides various authentication mechanics to client connections, but only supports cleartext password storage in mysql tables.

I found a patch that worked perfectly at adding the necessary storage encryption support for MD5, DES and blowfish.

The following link provides documentation on how to use the patch in the smtpd.conf file. The link provides both a Linux and a FreeBSD patch.

http://frost.ath.cx/software/cyrus-sasl-patches/

PLEASE add this to the next ebuild for sasl, or at least add it as an option with a USE keyword.

All I did was add an epatch line to the ebuild pointing to the new patch in the files directory - basic an painless.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




epatch "${FILESDIR}/cyrus-sasl-2.1.19-checkpw.c.patch"
Comment 1 Darren Martz 2005-01-02 03:50:21 UTC
Created attachment 47362 [details, diff]
patch adding encrypted password support for mysql storage
Comment 2 Tuan Van (RETIRED) gentoo-dev 2005-01-02 11:36:33 UTC

*** This bug has been marked as a duplicate of 45181 ***