aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_l.l
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-02-27 17:59:44 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-02-27 17:59:44 +0000
commit487e3eec5bbdd70ca5078186d35f4deac924bc4c (patch)
tree852b59f72289dceed9d67969ea3d29fe343107ed /rcfile_l.l
parent59ba66d551d23c4efd4360a7c1f7a53ee2793a4e (diff)
downloadfetchmail-487e3eec5bbdd70ca5078186d35f4deac924bc4c.tar.gz
fetchmail-487e3eec5bbdd70ca5078186d35f4deac924bc4c.tar.bz2
fetchmail-487e3eec5bbdd70ca5078186d35f4deac924bc4c.zip
We can specify NTLM as an authentication type.
svn path=/trunk/; revision=3160
Diffstat (limited to 'rcfile_l.l')
-rw-r--r--rcfile_l.l14
1 files changed, 8 insertions, 6 deletions
diff --git a/rcfile_l.l b/rcfile_l.l
index 9a2ed222..b2a76027 100644
--- a/rcfile_l.l
+++ b/rcfile_l.l
@@ -84,12 +84,14 @@ port { return PORT; }
interval { return INTERVAL; }
preauth(enticate)? { SETSTATE(AUTH); return AUTHENTICATE; }
auth(enticate)? { SETSTATE(AUTH); return AUTHENTICATE; }
-any { SETSTATE(0); return ANY; }
-gssapi { SETSTATE(0); return GSSAPI; }
-kerberos(_v)?4 { SETSTATE(0); return KERBEROS4; }
-kerberos(_v)?5 { SETSTATE(0); return KERBEROS5; }
-kerberos { SETSTATE(0); return KERBEROS; }
-ssh { SETSTATE(0); return SSH; }
+any { SETSTATE(0); yylval.proto = A_ANY; return AUTHTYPE;}
+gssapi { SETSTATE(0); yylval.proto = A_GSSAPI; return AUTHTYPE;}
+kerberos(_v)?4 { SETSTATE(0); yylval.proto = A_KERBEROS_V4; return AUTHTYPE;}
+kerberos(_v)?5 { SETSTATE(0); yylval.proto = A_KERBEROS_V5; return AUTHTYPE;}
+kerberos { SETSTATE(0); yylval.proto = A_KERBEROS_V4; return AUTHTYPE;}
+ssh { SETSTATE(0); yylval.proto = A_SSH; return AUTHTYPE;}
+cram(-md5)? { SETSTATE(0); yylval.proto = A_CRAM_MD5; return AUTHTYPE;}
+ntlm { SETSTATE(0); yylval.proto = A_NTLM; return AUTHTYPE;}
<AUTH>password { SETSTATE(0); return PASSWORD; }
timeout { return TIMEOUT;}
envelope { return ENVELOPE; }