summaryrefslogtreecommitdiffstats
path: root/src/admin
diff options
context:
space:
mode:
Diffstat (limited to 'src/admin')
-rw-r--r--src/admin/edit/ChangeLog5
-rw-r--r--src/admin/edit/loadv4.c12
2 files changed, 16 insertions, 1 deletions
diff --git a/src/admin/edit/ChangeLog b/src/admin/edit/ChangeLog
index 5814b0146..859569cf5 100644
--- a/src/admin/edit/ChangeLog
+++ b/src/admin/edit/ChangeLog
@@ -1,3 +1,8 @@
+Thu Sep 7 20:41:24 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * loadv4.c (load_v4db): Provide a dummy routine if krb4
+ compatibility is not compiled in.
+
Wed Sep 06 14:20:57 1995 Chris Provenzano (proven@mit.edu)
* cpw.c, dump.c, dumpv4.c, kdb5_edit.c, loadv4.c :
diff --git a/src/admin/edit/loadv4.c b/src/admin/edit/loadv4.c
index e72c7996a..d2d063a1d 100644
--- a/src/admin/edit/loadv4.c
+++ b/src/admin/edit/loadv4.c
@@ -25,6 +25,8 @@
* entries from a V4 database.
*/
+#ifdef KRB5_KRB4_COMPAT
+
#include <des.h>
#include <krb.h>
#include <krb_db.h>
@@ -863,5 +865,13 @@ static krb5_error_code fixup_database(context, realm)
return retval;
}
-
+#else /* KRB5_KRB4_COMPAT */
+void
+load_v4db(argc, argv)
+ int argc;
+ char *argv[];
+{
+ printf("This version of krb5_edit does not support the V4 load command.\n");
+}
+#endif /* KRB5_KRB4_COMPAT */