Looks strange, it crashes on this line in c-client library:

   sprintf (pwd,"%.65s %.33s",user,hmac_md5 (challenge,clen, pwd,strlen
(pwd)));

I never used CRAM-MD5 authentication, i only tested with PLAIN,
can you work with PLAIN only authentication.
Also it looks like auth_md5.c code is not thread-safe, hmac_md5 routine
uses static buffer.

I would switch from c-client library if could find some thread-safe IMAP
client implementation.

Vlad,


thanks for this, using PLAIN authentication it works OK and I can
open a session and retrieve the data that I want. It's very strange
that this does work on my Mac OS X box. Annoyingly the c-client
library wants to use CRAM-MD5 authentication if it is advertised by
the server.

Thanks again for your help.

Matthew


-- AOLserver - http://www.aolserver.com/ To Remove yourself from this list: http://www.aolserver.com/listserv.html List information and options: http://listserv.aol.com/

Reply via email to