[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with GSSAPI authentication



Jonas Oberg <jonas@gnu.org> writes:

> simon@josefsson.org writes:
> 
> > > I'm trying to use GSSAPI (Kerberos V) authentification in Gnus against
> > > a remote host. I've installed and configured everything so that the
> > > imtest program works flawlessly from the command-line.  Like this;
> 
> Okay, so imap-state should be set to 'nonauth instead of 'auth. It
> now works. Yay! I don't know how to incorporate it into imap.el in a
> more robust way though.

Could you send the modifications you made, I'll try to incorporate it.

Is this simple modification, to accomodate for different imtest
outputs, enough?

Index: imap.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/imap.el,v
retrieving revision 1.21
diff -w -u -u -w -r1.21 imap.el
--- imap.el	2000/08/05 12:51:35	1.21
+++ imap.el	2000/08/06 14:33:23
@@ -520,8 +520,8 @@
 			(not (and (imap-parse-greeting)
 				  ;; success in imtest 1.6:
 				  (re-search-forward
-				   "^\\(Authenticat.*\\)" nil t)
-				  (setq response (match-string 1)))))
+				   "^\\(GSSAPI IMAP connection: \\)?\\(Authenticat.*\\)" nil t)
+				  (setq response (match-string 2)))))
 	      (accept-process-output process 1)
 	      (sit-for 1))
 	    (and imap-log