]> andersk Git - moira.git/blobdiff - lib/mr_auth.c
update to use new com_err library
[moira.git] / lib / mr_auth.c
index 3316d3efe3d34f1ac7a4bc41a2070d0296a26be5..9c6ef22867928a2a975a36bb98928c5da585fdd7 100644 (file)
@@ -18,8 +18,8 @@ static char *rcsid_sms_auth_c = "$Header$";
 #include <mit-copyright.h>
 #include "sms_private.h"
 #include <krb.h>
+#include <krb_et.h>
 
-extern int krb_err_base;
 
 /* Authenticate this client with the SMS server.  prog is the name of the
  * client program, and will be recorded in the database.
@@ -50,7 +50,7 @@ char *prog;
     }
     status = krb_mk_req(&auth, "sms", "sms", realm, 0);
     if (status != KSUCCESS) {
-       status += krb_err_base;
+       status += ERROR_TABLE_BASE_krb;
        return status;
     } 
     params->sms_version_no = sending_version_no;
@@ -73,14 +73,3 @@ char *prog;
 
     return status;
 }
-
-/*
- * Local Variables:
- * mode: c
- * c-indent-level: 4
- * c-continued-statement-offset: 4
- * c-brace-offset: -4
- * c-argdecl-indent: 4
- * c-label-offset: -4
- * End:
- */
This page took 0.065718 seconds and 4 git commands to generate.