]> andersk Git - moira.git/blobdiff - update/auth_001.c
punt smskeyu.c
[moira.git] / update / auth_001.c
index c3c1684288fe1036f58686b50ab2c18e97e439a4..d671c319d3b26448d867f04d8d76112529a07b65 100644 (file)
@@ -14,8 +14,8 @@ static char *rcsid_auth_001_c = "$Header$";
 #include <stdio.h>
 #include <strings.h>
 #include <gdb.h>
-#include "kludge.h"
 #include <krb.h>
+#include <krb_et.h>
 #include <netinet/in.h>
 #include <errno.h>
 
@@ -64,7 +64,7 @@ auth_001(str)
                     PrincipalHostname(host), 0,
                     &ad, KEYFILE);
     if (code) {
-       code = krb_err_frob(code);
+       code += ERROR_TABLE_BASE_krb;
        strcpy(ad.pname, qmark);
        strcpy(ad.pinst, qmark);
        strcpy(ad.prealm, qmark);
This page took 0.03718 seconds and 4 git commands to generate.