From 2bd6b4612611df59180e1fb7d8fcb7ddf63c96c8 Mon Sep 17 00:00:00 2001 From: stekkel Date: Thu, 30 Oct 2003 01:18:52 +0000 Subject: [PATCH] The SASL intial response capability name is changed in draft-siemborski-imap-sasl-initial-response-01b.txt to SASL-IR (imho a better name). Currently Cyrus 2.2.2-BETA advertise SASL-IR and the next UW release will do that too. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6050 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_general.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/imap_general.php b/functions/imap_general.php index eaaddaf7..5e755b5d 100755 --- a/functions/imap_general.php +++ b/functions/imap_general.php @@ -667,11 +667,11 @@ function sqimap_login ($username, $password, $imap_server_address, $imap_port, $ * **/ $tag=sqimap_session_id(false); - $sasl = (isset($capability['SASL']) && $capability['SASL']) ? true : false; + $sasl = (isset($capability['SASL-IR']) && $capability['SASL-IR']) ? true : false; $auth = base64_encode("$username\0$username\0$password"); if ($sasl) { // IMAP Extension for SASL Initial Client Response - // + // $query = $tag . " AUTHENTICATE PLAIN $auth\r\n"; fputs($imap_stream, $query); $read = sqimap_fgets($imap_stream); -- 2.25.1