diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-04-10 13:31:56 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-04-10 13:31:56 +0000 |
commit | 73bf9bf6300063e94b19aa0a8fde8becaf28817e (patch) | |
tree | 8281bf9aec0cf99a884f5f3de19b595c02734d4e /options.c | |
parent | 52d7849f4b51e2ea0f0bd24573efa5c3683442bd (diff) | |
download | fetchmail-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.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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++; |