+1998-11-28 Sam Hartman <hartmans@mesas.com>
+
+ * krshd.c krsh.c: Use RCMD_BUFSIZ not RSH_BUFSIZE [krb5-appl/678]
+
+ * kcmd.c: Move RCMD_BUFSIZ into defines.h
+
1998-11-16 Geoffrey King <gjking@mit.edu>
* login.c (login_get_kconf): Also test whether *kconf_val is null
* Makefile.in: Set the myfulldir and mydir variables (which are
relative to buildtop and thisconfigdir, respectively.)
+
1998-10-24 Marc Horowitz <marc@mit.edu>
* login.c: update to new get_creds API
#define OPTS_FORWARD_CREDS 0x00000002
#define OPTS_FORWARDABLE_CREDS 0x00000001
+#define RCMD_BUFSIZ 5120
extern Key_schedule v4_schedule;
#endif
-#define RCMD_BUFSIZ 5120
+
#define START_PORT 5120 /* arbitrary */
char *default_service = "host";
#define UCB_RSH "/usr/ucb/rsh"
#endif
-#define RSH_BUFSIZ 4096
+
krb5_context bsd_context;
krb5_creds *cred;
char **argv0;
{
int rem, pid;
- char *host=0, *cp, **ap, buf[RSH_BUFSIZ], *args, **argv = argv0, *user = 0;
+ char *host=0, *cp, **ap, buf[RCMD_BUFSIZ], *args, **argv = argv0, *user = 0;
register int cc;
struct passwd *pwd;
fd_set readfrom, ready;
#define SERVE_NON_KRB
#define LOG_REMOTE_REALM
#define LOG_CMD
-
+#include "defines.h"
+
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#define ARGSTR "ek54ciD:S:M:AP:?L:"
-#define RSHD_BUFSIZ 5120
+
#define MAXRETRIES 4
short port;
int pv[2], pw[2], px[2], cc;
fd_set ready, readfrom;
- char buf[RSHD_BUFSIZ], sig;
+ char buf[RCMD_BUFSIZ], sig;
struct sockaddr_in fromaddr;
struct sockaddr_in localaddr;
int non_privileged = 0;
char *fmt;
char *a1, *a2, *a3;
{
- char buf[RSHD_BUFSIZ];
+ char buf[RCMD_BUFSIZ];
buf[0] = 1;
(void) sprintf(buf+1, "%s: ", progname);