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
This commit is contained in:
Assar Westerlund
1996-11-17 00:20:21 +00:00
parent 6d9e46f55d
commit f5d57fec19

View File

@@ -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;