static char *rcsid_sms_sauth_c = "$Header$";
#endif lint
-extern int krb_err_base;
#include <mit-copyright.h>
#include <strings.h>
#include "sms_server.h"
+#include <krb_et.h>
extern char buf1[];
extern char *whoami;
AUTH_DAT ad;
int status;
char buf[REALM_SZ+INST_SZ+ANAME_SZ];
- extern int krb_err_base;
static char *unknown = "???";
if (cl->clname) {
auth.mbz = 0;
if ((status = krb_rd_req (&auth, "sms", "sms", cl->haddr.sin_addr,
- &ad, "")) != KSUCCESS) {
- status += krb_err_base;
+ &ad, "")) != 0) {
+ status += ERROR_TABLE_BASE_krb;
cl->reply.sms_status = status;
if (log_flags & LOG_RES)
com_err(whoami, status, "(authentication failed)");