+Sat Apr 25 01:53:04 1998 Sam Hartman <hartmans@luminous.mit.edu>
+
+ * cmds.c (setpeer): Fix so that autologin is respected again
+
1998-04-21 Ken Raeburn <raeburn@cygnus.com>
* glob.c (ftpglob): Always allocate new storage, even if no magic
* cmds.c (setpeer): implement -x
+
Thu Dec 11 23:26:58 1997 Tom Yu <tlyu@mit.edu>
* ftp.c:
included; this works around an Ultrix bug where those headers
aren't protected against multiple inclusion.
+Sat Dec 6 18:17:10 1997 Sam Hartman <hartmans@luminous.mesas.com>
+
+ * main.c (main): Add -u for unauthenticated
+
+ * ftp_var.h: Add autoauth
+
+ * cmds.c (setpeer): Automatic authentication should not be
+ dependent on autologin; use -u instead.
+
+
Thu Oct 16 01:20:30 1997 Tom Yu <tlyu@mit.edu>
* main.c: Change KERBEROS to KRB5_KRB4_COMPAT where appropriate.
mode = MODE_S;
stru = STRU_F;
(void) strcpy(bytename, "8"), bytesize = 8;
- if (autologin) {
+ if (autoauth) {
if (do_auth() && autoencrypt) {
setpbsz(1<<20);
if (command("PROT P") == COMPLETE)
else
fprintf(stderr, "ftp: couldn't enable encryption\n");
}
- (void) login(argv[1]);
+
+ if(autologin)
+ (void) login(argv[1]);
}
#ifndef unix
extern int debug; /* debugging level */
extern int bell; /* ring bell on cmd completion */
extern int doglob; /* glob local file names */
+extern int autoauth; /* Do authentication on connect */
extern int autologin; /* establish user account on connection */
extern int autoencrypt; /* negotiate encryption on connection */
extern int forward; /* forward credentials */