aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'options.c')
-rw-r--r--options.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/options.c b/options.c
index f9a8c02a..2a5f91c8 100644
--- a/options.c
+++ b/options.c
@@ -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++;