From f5d57fec1938dcc6beade5bbc1e746df6e9a825e Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 17 Nov 1996 00:20:21 +0000 Subject: [PATCH] Removed SecurID support and send -a otp if require_otp git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@995 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/telnet/telnetd/sys_term.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/appl/telnet/telnetd/sys_term.c b/appl/telnet/telnetd/sys_term.c index c675d0e4d..642c93f1b 100644 --- a/appl/telnet/telnetd/sys_term.c +++ b/appl/telnet/telnetd/sys_term.c @@ -1431,19 +1431,15 @@ void start_login(char *host, int autologin, char *name) setenv("LINEMODE", "kludge", 1); # endif #endif -#if defined (SecurID) - /* - * don't worry about the -f that might get sent. - * A -s is supposed to override it anyhow. - */ - if (require_SecurID) - addarg(&argv, "-s"); -#endif #if defined (AUTHENTICATION) if (auth_level < 0 || autologin != AUTH_VALID) { if(!no_warn) printf("User not authenticated. " "Using plaintext username and password\r\n"); + if (require_otp) { + addarg(&argv, "-a"); + addarg(&argv, "otp"); + } if(log_unauth) { char *u; if(name[0]) u = name;