aboutsummaryrefslogtreecommitdiff
path: root/src/kadmin/v4server/kadm_supp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kadmin/v4server/kadm_supp.c')
-rw-r--r--src/kadmin/v4server/kadm_supp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/kadmin/v4server/kadm_supp.c b/src/kadmin/v4server/kadm_supp.c
index 9d2f8de..0596698 100644
--- a/src/kadmin/v4server/kadm_supp.c
+++ b/src/kadmin/v4server/kadm_supp.c
@@ -15,6 +15,7 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#include <sys/param.h>
/*
kadm_supp.c
this holds the support routines for the kerberos administration server
@@ -38,7 +39,7 @@ Kadm_vals *vals;
printf("Info in Database for %s.%s:\n", vals->name, vals->instance);
printf(" Max Life: %d Exp Date: %s\n",vals->max_life,
asctime(localtime((long *)&vals->exp_date)));
- printf(" Attribs: %.2x key: %u %u\n",vals->attributes,
+ printf(" Attribs: %.2x key: %ld %ld\n",vals->attributes,
vals->key_low, vals->key_high);
}
@@ -56,6 +57,7 @@ int s;
it copies the fields in Principal specified by fields into Kadm_vals,
i.e from old to new */
+void
kadm_prin_to_vals(fields, new, old)
u_char fields[FLDSZ];
Kadm_vals *new;
@@ -89,6 +91,7 @@ Principal *old;
}
}
+void
kadm_vals_to_prin(fields, new, old)
u_char fields[FLDSZ];
Principal *new;