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

Diff for /src/usr.bin/ssh/Attic/auth1.c between version 1.40.2.2 and 1.40.2.3

version 1.40.2.2, 2002/10/11 14:51:52 version 1.40.2.3, 2003/04/03 22:35:16
Line 150 
Line 150 
                                                 snprintf(info, sizeof(info),                                                  snprintf(info, sizeof(info),
                                                     " tktuser %.100s",                                                      " tktuser %.100s",
                                                     client_user);                                                      client_user);
   
                                                 /* Send response to client */                                                  /* Send response to client */
                                                 packet_start(                                                  packet_start(
                                                     SSH_SMSG_AUTH_KERBEROS_RESPONSE);                                                      SSH_SMSG_AUTH_KERBEROS_RESPONSE);
Line 288 
Line 288 
                         debug("rcvd SSH_CMSG_AUTH_TIS_RESPONSE");                          debug("rcvd SSH_CMSG_AUTH_TIS_RESPONSE");
                         if (options.challenge_response_authentication == 1) {                          if (options.challenge_response_authentication == 1) {
                                 char *response = packet_get_string(&dlen);                                  char *response = packet_get_string(&dlen);
                                 debug("got response '%s'", response);  
                                 packet_check_eom();                                  packet_check_eom();
                                 authenticated = verify_response(authctxt, response);                                  authenticated = verify_response(authctxt, response);
                                 memset(response, 'r', dlen);                                  memset(response, 'r', dlen);
Line 315 
Line 314 
                             authctxt->user);                              authctxt->user);
   
                 /* Special handling for root */                  /* Special handling for root */
                 if (!use_privsep &&                  if (authenticated && authctxt->pw->pw_uid == 0 &&
                     authenticated && authctxt->pw->pw_uid == 0 &&  
                     !auth_root_allowed(get_authname(type)))                      !auth_root_allowed(get_authname(type)))
                         authenticated = 0;                          authenticated = 0;
   

Legend:
Removed from v.1.40.2.2  
changed lines
  Added in v.1.40.2.3