Synch to Gnus 200311170555.
authoryamaoka <yamaoka>
Mon, 17 Nov 2003 06:03:29 +0000 (06:03 +0000)
committeryamaoka <yamaoka>
Mon, 17 Nov 2003 06:03:29 +0000 (06:03 +0000)
lisp/ChangeLog
lisp/imap.el

index e85ee42..6cf27d1 100644 (file)
@@ -1,3 +1,9 @@
+2003-11-17  Simon Josefsson  <jas@extundo.com>
+
+       * imap.el (imap-gssapi-auth-p): Don't check capability (some
+       servers remove AUTH=GSSAPI from capability response returned after
+       successful authentication).
+
 2003-11-16  Jesper Harder  <harder@ifa.au.dk>
 
        * gnus.el (gnus-getenv-nntpserver): Fix regexp and simplify.
index ab46b50..0c7f5dc 100644 (file)
@@ -828,8 +828,7 @@ Returns t if login was successful, nil otherwise."
       ret)))
 
 (defun imap-gssapi-auth-p (buffer)
-  (and (imap-capability 'AUTH=GSSAPI buffer)
-       (eq imap-stream 'gssapi)))
+  (eq imap-stream 'gssapi))
 
 (defun imap-gssapi-auth (buffer)
   (message "imap: Authenticating using GSSAPI...%s"