From a0455835a55a389676fdb2fb948a8e2bfa74a7ae Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Fri, 8 Sep 1995 11:38:11 +0000 Subject: [PATCH] If V4 compatibility is not enabled, provide a dummy routine for loading a v4 database. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6741 dc483132-0cff-0310-8789-dd5450dbe970 --- src/admin/edit/ChangeLog | 5 +++++ src/admin/edit/loadv4.c | 12 +++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) 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 + + * 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 #include #include @@ -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 */ -- 2.26.2