summaryrefslogtreecommitdiffstats
path: root/src/admin/edit/dumpv4.c
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1994-12-19 23:07:39 +0000
committerTheodore Tso <tytso@mit.edu>1994-12-19 23:07:39 +0000
commitfd36a5a8fa518d256eecef38ff74f1cf0e5ea53b (patch)
treea28b29689aab820c0d51f934db9ac0c1f5242613 /src/admin/edit/dumpv4.c
parent3c8d1dca27c8880ebf395172cb6d20001a7af738 (diff)
downloadkrb5-fd36a5a8fa518d256eecef38ff74f1cf0e5ea53b.tar.gz
krb5-fd36a5a8fa518d256eecef38ff74f1cf0e5ea53b.tar.xz
krb5-fd36a5a8fa518d256eecef38ff74f1cf0e5ea53b.zip
Do the right thing if we are compiling without V4 support. (The
dump_v4db command is disabled.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4736 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/admin/edit/dumpv4.c')
-rw-r--r--src/admin/edit/dumpv4.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/admin/edit/dumpv4.c b/src/admin/edit/dumpv4.c
index f31c5bce7..c542603b6 100644
--- a/src/admin/edit/dumpv4.c
+++ b/src/admin/edit/dumpv4.c
@@ -24,6 +24,8 @@
* Dump a KDC database into a V4 slave dump.
*/
+#ifdef KRB4
+
#include <des.h>
#include <krb.h>
#include <krb_db.h>
@@ -364,3 +366,12 @@ handle_one_key(arg, v5master, v5key, v4key)
return 0;
}
+
+#else /* KRB4 */
+void dump_v4db(argc, argv)
+ int argc;
+ char **argv;
+{
+ printf("This version of krb5_edit does not support the V4 dump command.\n");
+}
+#endif /* KRB4 */