Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58622 - patch to add crypt support to cyrus-sasl
Summary: patch to add crypt support to cyrus-sasl
Status: RESOLVED DUPLICATE of bug 45181
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-27 21:34 UTC by Gabriel Winckler
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

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


Attachments
the patch for crypt support (cyrus-sasl-2.1.17-checkpw.c.patch,5.48 KB, patch)
2004-07-27 21:36 UTC, Gabriel Winckler
Details | Diff
ebuild with the patch/flag crypt (cyrus-sasl-2.1.18-r2.ebuild,5.42 KB, application/octet-stream)
2004-07-27 21:40 UTC, Gabriel Winckler
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***