-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA384

Hi .*,

after upgrading to 4.1.1 GSASL w/AUTH PLAIN failed for me. I had to apply the 
attached patch.

Thanks & Regards,

Thomas
- -- 
Thomas Zaech                                        [email protected]
PGP/GPG KeyID 0xC33DECC7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iFYEAREJAAYFAkmy+0QACgkQbDtjlsM97MeD3ADfbRUIG30fv+LEQPLHlcg+AApi
WwgJG07YZBcX0gDgvXgiLbqPC7BXdCN2+NAN1aic9xJTXsptS4GEdQ==
=EULx
-----END PGP SIGNATURE-----
--- src/gsasl_srv.c        2008-12-18 17:59:48.000000000 +0100
+++ src/gsasl_srv.c        2009-03-07 21:44:47.638743630 +0100
@@ -243,7 +243,11 @@
     return GSASL_NO_PASSWORD;

   if (usr->smtp_authid == NULL
-      || strcmp (usr->smtp_authid, authentication_id)
+        && anubis_get_db_record (authid, usr) != ANUBIS_DB_SUCCESS)
+    return GSASL_AUTHENTICATION_ERROR;
+
+  if (usr->smtp_authid == NULL
+      || strcmp (usr->smtp_authid, authid)
       || strcmp (usr->smtp_passwd, pass))
     return GSASL_AUTHENTICATION_ERROR;
   return GSASL_OK;
_______________________________________________
Bug-anubis mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-anubis

Reply via email to