Hi all !

This mail is intended for those people who have trouble with getting 
UW's c-client work together with cyrus because of the CRAM-MD5 stuff.

Though c-client's documentation clearly states that CRAM-MD5 cannot be 
disabled, there is a very easy way to do it.
This works for me.
If you try it, it's your own risk, as usual.

just insert the hack in the following code snippet into c-client's
auth_md5.c
-------------------------------------------------------------------

long auth_md5_valid (void)
{
  struct stat sbuf;

///// ****** begin cyrus hack ****** //////
  auth_md5.client = NIL;
///// ******* end cyrus hack ******* //////
                                /* server forbids MD5 if no MD5 enable 
file */
  if (stat (MD5ENABLE,&sbuf)) auth_md5.server = NIL;
  return T;                     /* MD5 is otherwise valid */
}

---------------------------------------------------------------------


Regards,
Jan

Reply via email to