[BACK]Return to servconf.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/servconf.c between version 1.74 and 1.75

version 1.74, 2001/04/06 22:25:25 version 1.75, 2001/04/12 19:15:25
Line 67 
Line 67 
         options->log_level = (LogLevel) - 1;          options->log_level = (LogLevel) - 1;
         options->rhosts_authentication = -1;          options->rhosts_authentication = -1;
         options->rhosts_rsa_authentication = -1;          options->rhosts_rsa_authentication = -1;
           options->hostbased_authentication = -1;
           options->hostbased_uses_name_from_packet_only = -1;
         options->rsa_authentication = -1;          options->rsa_authentication = -1;
         options->pubkey_authentication = -1;          options->pubkey_authentication = -1;
 #ifdef KRB4  #ifdef KRB4
Line 156 
Line 158 
                 options->rhosts_authentication = 0;                  options->rhosts_authentication = 0;
         if (options->rhosts_rsa_authentication == -1)          if (options->rhosts_rsa_authentication == -1)
                 options->rhosts_rsa_authentication = 0;                  options->rhosts_rsa_authentication = 0;
           if (options->hostbased_authentication == -1)
                   options->hostbased_authentication = 0;
           if (options->hostbased_uses_name_from_packet_only == -1)
                   options->hostbased_uses_name_from_packet_only = 0;
         if (options->rsa_authentication == -1)          if (options->rsa_authentication == -1)
                 options->rsa_authentication = 1;                  options->rsa_authentication = 1;
         if (options->pubkey_authentication == -1)          if (options->pubkey_authentication == -1)
Line 219 
Line 225 
         sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups,          sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups,
         sIgnoreUserKnownHosts, sCiphers, sMacs, sProtocol, sPidFile,          sIgnoreUserKnownHosts, sCiphers, sMacs, sProtocol, sPidFile,
         sGatewayPorts, sPubkeyAuthentication, sXAuthLocation, sSubsystem, sMaxStartups,          sGatewayPorts, sPubkeyAuthentication, sXAuthLocation, sSubsystem, sMaxStartups,
         sBanner, sReverseMappingCheck          sBanner, sReverseMappingCheck, sHostbasedAuthentication,
           sHostbasedUsesNameFromPacketOnly
 } ServerOpCodes;  } ServerOpCodes;
   
 /* Textual representation of the tokens. */  /* Textual representation of the tokens. */
Line 239 
Line 246 
         { "loglevel", sLogLevel },          { "loglevel", sLogLevel },
         { "rhostsauthentication", sRhostsAuthentication },          { "rhostsauthentication", sRhostsAuthentication },
         { "rhostsrsaauthentication", sRhostsRSAAuthentication },          { "rhostsrsaauthentication", sRhostsRSAAuthentication },
           { "hostbasedauthentication", sHostbasedAuthentication },
           { "hostbasedusesnamefrompacketonly", sHostbasedUsesNameFromPacketOnly },
         { "rsaauthentication", sRSAAuthentication },          { "rsaauthentication", sRSAAuthentication },
         { "pubkeyauthentication", sPubkeyAuthentication },          { "pubkeyauthentication", sPubkeyAuthentication },
         { "dsaauthentication", sPubkeyAuthentication },                 /* alias */          { "dsaauthentication", sPubkeyAuthentication },                 /* alias */
Line 535 
Line 544 
   
                 case sRhostsRSAAuthentication:                  case sRhostsRSAAuthentication:
                         intptr = &options->rhosts_rsa_authentication;                          intptr = &options->rhosts_rsa_authentication;
                           goto parse_flag;
   
                   case sHostbasedAuthentication:
                           intptr = &options->hostbased_authentication;
                           goto parse_flag;
   
                   case sHostbasedUsesNameFromPacketOnly:
                           intptr = &options->hostbased_uses_name_from_packet_only;
                         goto parse_flag;                          goto parse_flag;
   
                 case sRSAAuthentication:                  case sRSAAuthentication:

Legend:
Removed from v.1.74  
changed lines
  Added in v.1.75