On Mon, Feb 17, 2003, Liu Xin wrote:
> Hi,
>
> I'm using exim-4.12 on both Linux and FreeBSD.
>
> It seems that as clients MTAs based on cyrus-sasl library send:
>
> AUTH LOGIN =
>
> instead of:
>
> AUTH LOGIN
>
> ( At least the sendmail in RedHat 8.0 behaves so. )
That's a bug in Cyrus-SASLv1 in combination with sendmail 8.12.x
(x >= 4). You should patch the former (maybe update Cyrus-SASL?).
Index: plugins/login.c
===================================================================
RCS file: /cvs/pkgs/cyrus-sasl/src/plugins/login.c,v
retrieving revision 1.5
diff -u -r1.5 login.c
--- plugins/login.c 2000/03/10 17:34:58 1.5
+++ plugins/login.c 2002/08/08 16:26:48
@@ -698,9 +698,7 @@
VL (("Got username, authid, and password\n"));
- *clientout = params->utils->malloc(1);
- if (! *clientout) return SASL_NOMEM;
- (*clientout)[0] = '\0';
+ *clientout = NULL;
*clientoutlen = 0;
/* set oparams */