IMSP and Digest-MD5

William K. Hardeman wont-i at wkh.org
Tue Feb 17 11:14:21 EST 2004


Howdy Cyrus,

Funny. I saw that in the IMSP server sources and didn't even twig that it 
was "imap" instead of "imsp", otherwise I would have modified the server 
sources.

Wouldn't it be better if this were filed as a bug with CMU and get the 
service name changed in the server sources? That, to me, would seem to be 
the better way to handle this going forward, since imap and imsp are two 
different services.

Thanks for the help!
Will

--On Tuesday, 17 February, 2004 11:05 -0500 Cyrus Daboo 
<daboo at cyrusoft.com> wrote:

> Hi William,
>
> --On Tuesday, February 17, 2004 10:52 AM -0500 "William K. Hardeman"
> <wont-i at wkh.org> wrote:
>
>| I do have DIGEST-MD5 working with IMAP. Actually, in the 3 years I've
>| been using both Cyrus IMAP and Cyrus IMSP, I've always been able to use
>| DIGEST-MD5 on the IMAP connections and never on the IMSP connections.
>|
>| IMAP connection with DIGEST-MD5 from the logs:
>| Feb 17 10:49:26 mail imap[17487]: login: dilbert.wkh.org
>| [xxx.xxx.xxx.xxx] wont-i at wkh.org DIGEST-MD5 User logged in
>|
>|
>| The error I'm seeing in messages when I try using DIGEST-MD5 is:
>|
>| Feb 17 10:44:21 mail imsp[17643]: bad digest-uri: doesn't match service
>| Feb 17 10:44:21 mail imsp[17643]: badlogin: dilbert.wkh.org - digest-md5
>| authentication failure
>
> OK - I think I see the problem. The DIGEST mechanism requires a 'service
> name' parameter. For IMAP that is 'imap'. We have been using 'imsp' for
> IMSP, however CMU uses 'imap' as the service name for IMSP. GSSAPI also
> uses a service name and there we do use 'imap' for IMSP. I need to change
> our digest plugin to use 'imap' then it should work. I will work on
> fixing that for our next update.



-- 
----------------------------------------------------------------------------
William K. Hardeman
wont-i at wkh.org
http://www.wkh.org

The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
                -- Isaac Asimov

Always listen to experts. They'll tell you what can't be done and why. Then
do it.
--Robert A. Heinlein




More information about the Info-cyrus mailing list