]> andersk Git - moira.git/blobdiff - update/auth_001.c
added new proc type for MOTD
[moira.git] / update / auth_001.c
index ab5261fbb45623207ed616ef9a1a2cda59ecba96..72fcbdedc57d32127c085fd3968fa4f0076ac4ee 100644 (file)
@@ -2,15 +2,18 @@
  *     $Source$
  *     $Header$
  */
+/*  (c) Copyright 1988 by the Massachusetts Institute of Technology. */
+/*  For copying and distribution information, please see the file */
+/*  <mit-copyright.h>. */
 
 #ifndef lint
 static char *rcsid_auth_001_c = "$Header$";
 #endif lint
 
+#include <mit-copyright.h>
 #include <stdio.h>
 #include <strings.h>
-#include "gdb.h"
-#include "smsu_int.h"
+#include <gdb.h>
 #include "kludge.h"
 #include <krb.h>
 #include <netinet/in.h>
@@ -57,7 +60,7 @@ auth_001(str)
     ticket_st.mbz = 0;
     ticket_st.length = MAX_STRING_SIZE(data);
     bcopy(STRING_DATA(data), ticket_st.dat, MAX_STRING_SIZE(data));
-    code = rd_ap_req(&ticket_st, service,
+    code = krb_rd_req(&ticket_st, service,
                     PrincipalHostname(host), 0,
                     &ad, "/etc/srvtab");
     if (code) {
This page took 0.170031 seconds and 4 git commands to generate.