diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-10-22 14:05:24 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-10-22 14:05:24 +0000 |
commit | 21bfb443b78e3520fc650bebe356e2ebd56f03eb (patch) | |
tree | b3704b1e3210ba34d55b019881c6b428a7b9bbbf /rcfile_y.y | |
parent | e3d1bdc3de2039e4f96c874d0ce0c5d8c569c6b3 (diff) | |
download | fetchmail-21bfb443b78e3520fc650bebe356e2ebd56f03eb.tar.gz fetchmail-21bfb443b78e3520fc650bebe356e2ebd56f03eb.tar.bz2 fetchmail-21bfb443b78e3520fc650bebe356e2ebd56f03eb.zip |
Prevent
auth kerberos_v4,
proto KPOP,
from fooing up.
svn path=/trunk/; revision=2132
Diffstat (limited to 'rcfile_y.y')
-rw-r--r-- | rcfile_y.y | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -128,10 +128,12 @@ serv_option : AKA alias_list | PROTOCOL PROTO {current.server.protocol = $2;} | PROTOCOL KPOP { current.server.protocol = P_POP3; + + if (current.server.preauthenticate == A_PASSWORD) #ifdef KERBEROS_V5 - current.server.preauthenticate = A_KERBEROS_V5; + current.server.preauthenticate = A_KERBEROS_V5; #else - current.server.preauthenticate = A_KERBEROS_V4; + current.server.preauthenticate = A_KERBEROS_V4; #endif /* KERBEROS_V5 */ #if INET6 current.server.service = KPOP_PORT; |