summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin Mitchell <klmitch@mit.edu>1996-06-13 22:38:44 +0000
committerKevin Mitchell <klmitch@mit.edu>1996-06-13 22:38:44 +0000
commit5e1ce981b773a2b783680894535ff87c31f97827 (patch)
tree5f259ac7c7b23361f1c82c96054a8e15a290dd18 /src
parent4cb94afef176aeb8aa1d1c9c79d1ed2d8d705b6c (diff)
downloadkrb5-5e1ce981b773a2b783680894535ff87c31f97827.tar.gz
krb5-5e1ce981b773a2b783680894535ff87c31f97827.tar.xz
krb5-5e1ce981b773a2b783680894535ff87c31f97827.zip
* 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8355 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/appl/gssftp/ftpd/ChangeLog6
-rw-r--r--src/appl/gssftp/ftpd/ftpd.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/src/appl/gssftp/ftpd/ChangeLog b/src/appl/gssftp/ftpd/ChangeLog
index 03ea955d9e..798b51dbd1 100644
--- a/src/appl/gssftp/ftpd/ChangeLog
+++ b/src/appl/gssftp/ftpd/ChangeLog
@@ -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
diff --git a/src/appl/gssftp/ftpd/ftpd.c b/src/appl/gssftp/ftpd/ftpd.c
index a18bfc2174..c260325f34 100644
--- a/src/appl/gssftp/ftpd/ftpd.c
+++ b/src/appl/gssftp/ftpd/ftpd.c
@@ -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 ... */