If V4 compatibility is not enabled, provide a dummy routine for
authorEzra Peisach <epeisach@mit.edu>
Fri, 8 Sep 1995 11:38:11 +0000 (11:38 +0000)
committerEzra Peisach <epeisach@mit.edu>
Fri, 8 Sep 1995 11:38:11 +0000 (11:38 +0000)
loading a v4 database.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6741 dc483132-0cff-0310-8789-dd5450dbe970

src/admin/edit/ChangeLog
src/admin/edit/loadv4.c

index 5814b014604597e3d4c667a1e803c476436492c1..859569cf5f7c757712f9034352bf8be518aa2407 100644 (file)
@@ -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 : 
index e72c7996a751bfb9f1676c7e620bc9d645de1ebd..d2d063a1d7bb13fb058b6cbffc18813c81032680 100644 (file)
@@ -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 */