aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_l.l
diff options
context:
space:
mode:
Diffstat (limited to 'rcfile_l.l')
-rw-r--r--rcfile_l.l7
1 files changed, 4 insertions, 3 deletions
diff --git a/rcfile_l.l b/rcfile_l.l
index aeaf354d..9a2ed222 100644
--- a/rcfile_l.l
+++ b/rcfile_l.l
@@ -25,7 +25,7 @@ int prc_lineno = 1;
%a 4000
%p 3000
-%s NAME PREAUTH
+%s NAME AUTH
%%
@@ -82,14 +82,15 @@ proto(col)? { return PROTOCOL; }
service { return SERVICE; }
port { return PORT; }
interval { return INTERVAL; }
-preauth(enticate)? { SETSTATE(PREAUTH); return PREAUTHENTICATE; }
+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; }
-<PREAUTH>password { SETSTATE(0); return PASSWORD; }
+<AUTH>password { SETSTATE(0); return PASSWORD; }
timeout { return TIMEOUT;}
envelope { return ENVELOPE; }
qvirtual { return QVIRTUAL; }