=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/servconf.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- src/usr.bin/ssh/servconf.c 1999/10/11 21:48:29 1.13 +++ src/usr.bin/ssh/servconf.c 1999/10/12 18:11:54 1.14 @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$Id: servconf.c,v 1.13 1999/10/11 21:48:29 markus Exp $"); +RCSID("$Id: servconf.c,v 1.14 1999/10/12 18:11:54 markus Exp $"); #include "ssh.h" #include "servconf.h" @@ -58,6 +58,7 @@ #endif options->permit_empty_passwd = -1; options->use_login = -1; + options->silent_deny = -1; options->num_allow_hosts = 0; options->num_deny_hosts = 0; options->num_allow_users = 0; @@ -139,6 +140,8 @@ options->permit_empty_passwd = 1; if (options->use_login == -1) options->use_login = 0; + if (options->silent_deny == -1) + options->silent_deny = 0; } #define WHITESPACE " \t\r\n" @@ -161,7 +164,7 @@ sPasswordAuthentication, sAllowHosts, sDenyHosts, sListenAddress, sPrintMotd, sIgnoreRhosts, sX11Forwarding, sX11DisplayOffset, sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives, sCheckMail, - sUseLogin, sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups + sUseLogin, sSilentDeny, sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups } ServerOpCodes; @@ -208,6 +211,7 @@ { "strictmodes", sStrictModes }, { "permitemptypasswords", sEmptyPasswd }, { "uselogin", sUseLogin }, + { "silentdeny", sSilentDeny }, { "randomseed", sRandomSeedFile }, { "keepalive", sKeepAlives }, { "allowusers", sAllowUsers }, @@ -459,6 +463,10 @@ case sUseLogin: intptr = &options->use_login; + goto parse_flag; + + case sSilentDeny: + intptr = &options->silent_deny; goto parse_flag; case sLogFacility: