[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FTP broken
Brian A May <bmay@dgs.monash.edu.au> writes:
> Any body experienced problems with ftp? Not only doesn't it work,
> but (for me) it reports the wrong version number (normally
> this would indicate an installation error, but everything looks
> OK to me).
It should report the correct version. Are you sure you're not using
some old shared library or something like that?
> [566] [silas-2:bam] ~/cvswork >ftp snoopy.apana.org.au
> Connected to snoopy.apana.org.au.
> 220 snoopy FTP server (Version 6.00+heimdal-0.1h) ready.
> Trying GSSAPI...
> zsh: segmentation fault ftp snoopy.apana.org.au
Thanks for the bug report. The following patch should fix the
problem.
/assar
Index: appl/ftp/ftp/gssapi.c
===================================================================
RCS file: /afs/pdc.kth.se/src/packages/kth-krb/SourceRepository/appl/ftp/ftp/gssapi.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -w -u -w -r1.10 -r1.11
--- gssapi.c 1999/07/28 13:35:30 1.10
+++ gssapi.c 1999/08/03 11:55:45 1.11
@@ -43,7 +43,7 @@
#endif
#include <gssapi.h>
-RCSID("$Id: gssapi.c,v 1.10 1999/07/28 13:35:30 assar Exp $");
+RCSID("$Id: gssapi.c,v 1.11 1999/08/03 11:55:45 assar Exp $");
struct gss_data {
gss_ctx_id_t context_hdl;
@@ -299,6 +299,9 @@
sockaddr_to_gss_address (hisctladdr,
&bindings->acceptor_addrtype,
&bindings->acceptor_address);
+
+ bindings->application_data.length = 0;
+ bindings->application_data.value = NULL;
while(!context_established) {
maj_stat = gss_init_sec_context(&min_stat,
- References:
- FTP broken
- From: Brian A May <bmay@dgs.monash.edu.au>