#include <stdio.h>
#include <string.h>
+#ifdef HAVE_KRB4
#include <krb.h>
+#endif
RCSID("$Header$");
static char service[] = "rcmd";
static char master[] = "sms";
static char qmark[] = "???";
+#ifdef HAVE_KRB4
extern des_cblock session;
+#endif
/*
* authentication request auth_002:
void auth_002(int conn, char *str)
{
+#ifdef HAVE_KRB4
char aname[ANAME_SZ], ainst[INST_SZ], arealm[REALM_SZ];
AUTH_DAT ad;
char *p, *first, *data;
com_err(whoami, code, "auth for %s.%s@%s failed",
ad.pname, ad.pinst, ad.prealm);
send_int(conn, code);
+#else
+ return MR_NO_KRB4;
+#endif
}