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

Diff for /src/usr.bin/ssh/auth2.c between version 1.85 and 1.86

version 1.85, 2002/02/24 19:14:59 version 1.86, 2002/03/17 20:25:56
Line 182 
Line 182 
         if (authctxt->attempt++ == 0) {          if (authctxt->attempt++ == 0) {
                 /* setup auth context */                  /* setup auth context */
                 struct passwd *pw = NULL;                  struct passwd *pw = NULL;
                 pw = getpwnam(user);                  pw = getpwnamallow(user);
                 if (pw && allowed_user(pw) && strcmp(service, "ssh-connection")==0) {                  if (pw && strcmp(service, "ssh-connection")==0) {
                         authctxt->pw = pwcopy(pw);                          authctxt->pw = pwcopy(pw);
                         authctxt->valid = 1;                          authctxt->valid = 1;
                         debug2("input_userauth_request: setting up authctxt for %s", user);                          debug2("input_userauth_request: setting up authctxt for %s", user);

Legend:
Removed from v.1.85  
changed lines
  Added in v.1.86