=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/servconf.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- src/usr.bin/ssh/servconf.c 1999/10/07 22:46:32 1.11 +++ src/usr.bin/ssh/servconf.c 1999/10/11 21:07:37 1.12 @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$Id: servconf.c,v 1.11 1999/10/07 22:46:32 markus Exp $"); +RCSID("$Id: servconf.c,v 1.12 1999/10/11 21:07:37 markus Exp $"); #include "ssh.h" #include "servconf.h" @@ -57,6 +57,7 @@ options->skey_authentication = -1; #endif options->permit_empty_passwd = -1; + options->use_login = -1; options->num_allow_hosts = 0; options->num_deny_hosts = 0; } @@ -132,6 +133,8 @@ #endif if (options->permit_empty_passwd == -1) options->permit_empty_passwd = 1; + if (options->use_login == -1) + options->use_login = 0; } #define WHITESPACE " \t\r\n" @@ -153,7 +156,8 @@ #endif sPasswordAuthentication, sAllowHosts, sDenyHosts, sListenAddress, sPrintMotd, sIgnoreRhosts, sX11Forwarding, sX11DisplayOffset, - sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives, sCheckMail + sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives, sCheckMail, + sUseLogin } ServerOpCodes; /* Textual representation of the tokens. */ @@ -198,6 +202,7 @@ { "x11displayoffset", sX11DisplayOffset }, { "strictmodes", sStrictModes }, { "permitemptypasswords", sEmptyPasswd }, + { "uselogin", sUseLogin }, { "randomseed", sRandomSeedFile }, { "keepalive", sKeepAlives }, { NULL, 0 } @@ -442,6 +447,10 @@ case sEmptyPasswd: intptr = &options->permit_empty_passwd; goto parse_flag; + + case sUseLogin: + intptr = &options->use_login; + goto parse_flag; case sLogFacility: cp = strtok(NULL, WHITESPACE);