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 /options.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 'options.c')
-rw-r--r-- | options.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -186,7 +186,7 @@ struct query *ctl; /* option record to be initialized */ { ctl->server.protocol = P_POP3; ctl->server.port = KPOP_PORT; - ctl->server.authenticate = A_KERBEROS; + ctl->server.authenticate = A_KERBEROS_V4; } else if (strcasecmp(optarg,"etrn") == 0) ctl->server.protocol = P_ETRN; @@ -208,7 +208,9 @@ struct query *ctl; /* option record to be initialized */ if (strcmp(optarg, "password") == 0) ctl->server.authenticate = A_PASSWORD; else if (strcmp(optarg, "kerberos") == 0) - ctl->server.authenticate = A_KERBEROS; + ctl->server.authenticate = A_KERBEROS_V4; + else if (strcmp(optarg, "kerberos_v4") == 0) + ctl->server.authenticate = A_KERBEROS_V4; else { fprintf(stderr,"Invalid authentication `%s' specified.\n", optarg); errflag++; |