Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370761 - www-apache/mod_auth_imap2 patch to fix compilation
Summary: www-apache/mod_auth_imap2 patch to fix compilation
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2011-06-09 08:24 UTC by Thomas Witzenrath
Modified: 2016-10-01 07:33 UTC (History)
1 user (show)

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


Attachments
mod_auth_imap2-2.2.0-r1.ebuild (mod_auth_imap2-2.2.0-r1.ebuild,847 bytes, text/plain)
2011-06-09 08:32 UTC, Thomas Witzenrath
Details
Patch (dovecot2.patch,499 bytes, patch)
2011-06-09 08:33 UTC, Thomas Witzenrath
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Witzenrath 2011-06-09 08:24:15 UTC
There is a bug in mod_auth_imap2 which makes it impossible to authenticate against Dovecot versions 2.0.11 and 2.0.13, possibly even the whole dovecot-2 branch.

Output of mod_auth_imap2
[warn] [client XX.XX.XX.XX] mod_auth_imap: Premature server disconnect for user YYYYYYY@YYYYYYYY.YYY
[warn] [client XX.XX.XX.XX] mod_auth_imap: Server said: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS\r\n

The problem in mod_auth_imap2 can be fixed by applying Nick Gieczewskis patch from

http://blog.basteagow.com/2011/04/02/mod_auth_imap2-dovecot-support-patch/

Since upstream does not seem to be interested in adding this patch (or changing anything at all since 2006), I think this should be added to portage.

Thank you

Reproducible: Always

Steps to Reproduce:
1. Install >=dovecot-2.0.11
2. Install mod_auth_imap2
3. Try to log in
Actual Results:  
Login fails

Expected Results:  
Login succeeds
Comment 1 Thomas Witzenrath 2011-06-09 08:32:39 UTC
Created attachment 276335 [details]
mod_auth_imap2-2.2.0-r1.ebuild
Comment 2 Thomas Witzenrath 2011-06-09 08:33:11 UTC
Created attachment 276337 [details, diff]
Patch
Comment 3 Serkan Kaba (RETIRED) gentoo-dev 2011-06-09 10:15:28 UTC
This is actually not a new package request. Re-assigning it to maintainers.
Comment 4 Pacho Ramos gentoo-dev 2013-01-03 19:22:03 UTC
Looks like this module is completely dead, it probably won't neither work for apache-2.4. I can neither find it package on any other distribution, doesn't it have any replacement for its functionality?
Comment 5 Sergey Popov gentoo-dev 2013-01-04 11:06:40 UTC
Hm. Maybe www-apache/mod_authnz_external or other pam authorizator and, for example, pam_imap will be better replacement? Unfortunately pam_imap is not in tree yet :-/
Comment 6 Pacho Ramos gentoo-dev 2013-01-04 14:14:29 UTC
Well, if you agree this patch is good enough to commit, we can go ahead and keep this alive a bit more, but I cannot decide that as I don't know much about programming
Comment 7 Pacho Ramos gentoo-dev 2016-10-01 07:33:09 UTC
removed