diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-05-13 06:43:41 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-05-13 06:43:41 +0000 |
commit | b11b996ab664a8f09b63c1352400ba227cb93253 (patch) | |
tree | 4ff2f66f7eaff101c1cb765f6c136d6cb611d6a5 /fetchmail.c | |
parent | 549a2fc90d70139de5eac97d3e5bf201c17a647d (diff) | |
download | fetchmail-b11b996ab664a8f09b63c1352400ba227cb93253.tar.gz fetchmail-b11b996ab664a8f09b63c1352400ba227cb93253.tar.bz2 fetchmail-b11b996ab664a8f09b63c1352400ba227cb93253.zip |
Caseblind comparison of names, more explicitness about Kerberos.
svn path=/trunk/; revision=988
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fetchmail.c b/fetchmail.c index 152b7f28..c311bad0 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -300,7 +300,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.authenticate == A_KERBEROS) + if (ctl->server.authenticate == A_KERBEROS_V4) /* Server won't care what the password is, but there must be some non-null string here. */ ctl->password = ctl->remotename; @@ -402,7 +402,7 @@ int main (int argc, char **argv) * as a probe to make sure our nameserver is still up. * The multidrop case (especially) needs it. */ - if (ctl->server.authenticate == A_KERBEROS || MULTIDROP(ctl)) + if (ctl->server.authenticate==A_KERBEROS_V4 || MULTIDROP(ctl)) { struct hostent *namerec; @@ -823,7 +823,7 @@ void dump_params (struct query *ctl) printf(" Password = '%s'.\n", visbuf(ctl->password)); if (ctl->server.protocol == P_POP3 && ctl->server.port == KPOP_PORT - && ctl->server.authenticate == A_KERBEROS) + && ctl->server.authenticate == A_KERBEROS_V4) printf(" Protocol is KPOP"); else printf(" Protocol is %s", showproto(ctl->server.protocol)); @@ -835,8 +835,8 @@ void dump_params (struct query *ctl) printf(" (forcing UIDL use)"); putchar('.'); putchar('\n'); - if (ctl->server.authenticate == A_KERBEROS) - printf(" Kerberos authentication enabled.\n"); + if (ctl->server.authenticate == A_KERBEROS_V4) + printf(" Kerberos V4 preauthentication enabled.\n"); printf(" Server nonresponse timeout is %d seconds", ctl->server.timeout); if (ctl->server.timeout == CLIENT_TIMEOUT) printf(" (default).\n"); |