aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-04-10 13:31:56 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-04-10 13:31:56 +0000
commit73bf9bf6300063e94b19aa0a8fde8becaf28817e (patch)
tree8281bf9aec0cf99a884f5f3de19b595c02734d4e /options.c
parent52d7849f4b51e2ea0f0bd24573efa5c3683442bd (diff)
downloadfetchmail-73bf9bf6300063e94b19aa0a8fde8becaf28817e.tar.gz
fetchmail-73bf9bf6300063e94b19aa0a8fde8becaf28817e.tar.bz2
fetchmail-73bf9bf6300063e94b19aa0a8fde8becaf28817e.zip
Nalin Dahyabai's changes.
svn path=/trunk/; revision=3290
Diffstat (limited to 'options.c')
-rw-r--r--options.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/options.c b/options.c
index 97d6b7bb..71003d21 100644
--- a/options.c
+++ b/options.c
@@ -396,6 +396,18 @@ struct query *ctl; /* option record to be initialized */
ctl->server.authenticate = A_KERBEROS_V4;
else if (strcmp(optarg, "ssh") == 0)
ctl->server.authenticate = A_SSH;
+ else if (strcmp(optarg, "otp") == 0)
+ ctl->server.authenticate = A_OTP;
+ else if (strcmp(optarg, "ntlm") == 0)
+ ctl->server.authenticate = A_NTLM;
+ else if (strcmp(optarg, "cram") == 0)
+ ctl->server.authenticate = A_CRAM_MD5;
+ else if (strcmp(optarg, "cram-md5") == 0)
+ ctl->server.authenticate = A_CRAM_MD5;
+ else if (strcmp(optarg, "gssapi") == 0)
+ ctl->server.authenticate = A_GSSAPI;
+ else if (strcmp(optarg, "any") == 0)
+ ctl->server.authenticate = A_ANY;
else {
fprintf(stderr,_("Invalid authentication `%s' specified.\n"), optarg);
errflag++;