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

Bug 58622

Summary: patch to add crypt support to cyrus-sasl
Product: Gentoo Linux Reporter: Gabriel Winckler <winckler>
Component: New packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: fserb, maze
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: the patch for crypt support
ebuild with the patch/flag crypt

Description Gabriel Winckler 2004-07-27 21:34:43 UTC
I was trying to authenticate postfix against a SQL base with crypt'ed passwords
The vanilla cyrus-sasl does not provide this kind of support, only plain passwd. 
Since the new version don't support pam_sql natively (that was used to do this before), I suggest the inclusion of the Branko F. Gracnar's patch that may be found at : http://frost.ath.cx/software/cyrus-sasl-patches/dist/2.1.17/cyrus-sasl-2.1.17-checkpw.c.patch
I tried and it was a clean patch and compile with the latest ebuild (2.1.18-r2).
In the attached ebuild I've added a +crypt flag to insert the patch, but this could also be set as a default patch.

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




I'm using postfix-2.0.19, dev-libs/cyrus-sasl-2.1.18-r2.
Comment 1 Gabriel Winckler 2004-07-27 21:36:16 UTC
Created attachment 36299 [details, diff]
the patch for crypt support
Comment 2 Gabriel Winckler 2004-07-27 21:40:33 UTC
Created attachment 36300 [details]
ebuild with the patch/flag crypt

based on cyrus-sasl-2.1.18-r2.ebuild, the latest stable.
Comment 3 Martin Honermeyer 2004-08-01 13:56:19 UTC
I also made an ebuild with this patch for myself. It works perfectly! 

I suggest to call it cyrus-sasl-2.1.18-r3.


Greetz
Comment 4 Tuan Van (RETIRED) gentoo-dev 2004-08-01 14:14:08 UTC
related upstream discussion:
http://asg.web.cmu.edu/archive/message.php?mailbox=archive.cyrus-sasl&msg=5683

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