* ftpd.c (authdata): misplaced braces caused server to not be able to
authorKevin Mitchell <klmitch@mit.edu>
Thu, 13 Jun 1996 22:38:44 +0000 (22:38 +0000)
committerKevin Mitchell <klmitch@mit.edu>
Thu, 13 Jun 1996 22:38:44 +0000 (22:38 +0000)
use ftp principle if it was present.  Client looks for ftp
first, then tries host; ftpd was looking only for host.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8355 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/gssftp/ftpd/ChangeLog
src/appl/gssftp/ftpd/ftpd.c

index 03ea955d9e8622d6856c65abfa3e0999232137aa..798b51dbd1970ac4454fbe3833ee9f59a4d05c59 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jun 13 18:35:19 1996  Kevin L Mitchell  <klmitch@mit.edu>
+
+       * ftpd.c (authdata): misplaced braces caused server to not be able to
+               use ftp principle if it was present.  Client looks for ftp
+               first, then tries host; ftpd was looking only for host.
+
 Mon Jun  3 16:12:59 1996  Tom Yu  <tlyu@mit.edu>
 
        * Makefile.in, configure.in: back out previous changes and use
index a18bfc21748b9c344a981852e3543d4fff6c2af4..c260325f34d91db8fe90fd6324dd0471f6bb6748 100644 (file)
@@ -1967,7 +1967,7 @@ char *data;
                if (maj_stat != GSS_S_COMPLETE)
                  continue;
                found++;
-       }
+               /*      }*/
 
                if (!found && (maj_stat != GSS_S_COMPLETE))
                {
@@ -2064,6 +2064,7 @@ char *data;
                (void) gss_release_cred(&min_stat, &server_creds);
                return(0);
        }
+      }
     }
 #endif /* GSSAPI */
        /* Other auth types go here ... */