diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-12-15 02:42:30 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-12-15 02:42:30 +0000 |
commit | e36a92e005700a7cbccdf2d5885baf1efb43e4ee (patch) | |
tree | 14f4dacc7c004b952ae7c7ffde1da817dba92c0e /fetchmail.c | |
parent | b877a3f40400be9035d96b855b94c73a6f92c779 (diff) | |
download | fetchmail-e36a92e005700a7cbccdf2d5885baf1efb43e4ee.tar.gz fetchmail-e36a92e005700a7cbccdf2d5885baf1efb43e4ee.tar.bz2 fetchmail-e36a92e005700a7cbccdf2d5885baf1efb43e4ee.zip |
GSSAPI support.
svn path=/trunk/; revision=1569
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fetchmail.c b/fetchmail.c index b620467a..7f78eae6 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -295,7 +295,7 @@ int main (int argc, char **argv) for (ctl = querylist; ctl; ctl = ctl->next) if (ctl->active && !(implicitmode && ctl->server.skip)&&!ctl->password) { - if (ctl->server.preauthenticate == A_KERBEROS_V4 || ctl->server.protocol == P_IMAP_K4) + if (ctl->server.preauthenticate == A_KERBEROS_V4 || ctl->server.protocol == P_IMAP_K4 || ctl->server.protocol == P_IMAP_GSS) /* Server won't care what the password is, but there must be some non-null string here. */ ctl->password = ctl->remotename; @@ -311,7 +311,7 @@ int main (int argc, char **argv) ctl->password = xstrdup(p->password); } - if (ctl->server.protocol != P_ETRN && ctl->server.protocol != P_IMAP_K4 && !ctl->password) + if (ctl->server.protocol != P_ETRN && ctl->server.protocol != P_IMAP_K4 && ctl->server.protocol != P_IMAP_GSS && !ctl->password) { (void) sprintf(tmpbuf, "Enter password for %s@%s: ", ctl->remotename, ctl->server.pollname); @@ -874,6 +874,7 @@ static int query_host(struct query *ctl) break; case P_IMAP: case P_IMAP_K4: + case P_IMAP_GSS: #ifdef IMAP_ENABLE return(doIMAP(ctl)); #else |