svn rev #21757: branches/mkey_migrate/src/kadmin/dbutil/

wfiveash@MIT.EDU wfiveash at MIT.EDU
Fri Jan 16 17:41:27 EST 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=21757
Commit By: wfiveash
Log Message:
Fixed the kdb5_util list_mkeys command (wasn't printing mkey info).



Changed Files:
U   branches/mkey_migrate/src/kadmin/dbutil/kdb5_mkey.c
U   branches/mkey_migrate/src/kadmin/dbutil/kdb5_util.c
Modified: branches/mkey_migrate/src/kadmin/dbutil/kdb5_mkey.c
===================================================================
--- branches/mkey_migrate/src/kadmin/dbutil/kdb5_mkey.c	2009-01-16 21:57:00 UTC (rev 21756)
+++ branches/mkey_migrate/src/kadmin/dbutil/kdb5_mkey.c	2009-01-16 22:41:26 UTC (rev 21757)
@@ -600,6 +600,7 @@
                      cur_kb_node->kvno, enctype, strdate(act_time));
         }
     }
+    printf("%s", output_str);
 
     /* clean up */
     (void) krb5_db_fini(util_context);

Modified: branches/mkey_migrate/src/kadmin/dbutil/kdb5_util.c
===================================================================
--- branches/mkey_migrate/src/kadmin/dbutil/kdb5_util.c	2009-01-16 21:57:00 UTC (rev 21756)
+++ branches/mkey_migrate/src/kadmin/dbutil/kdb5_util.c	2009-01-16 22:41:26 UTC (rev 21757)
@@ -89,7 +89,8 @@
 	     "\t	[-mkey_convert] [-new_mkey_file mkey_file]\n"
 	     "\t	[-rev] [-recurse] [filename [princs...]]\n"
 	     "\tload	[-old] [-ov] [-b6] [-verbose] [-update] filename\n"
-	     "\tark	[-e etype_list] principal\n");
+	     "\tark	[-e etype_list] principal\n"
+	     "\tlist_mkeys\n");
      /* avoid a string length compiler warning */
      fprintf(stderr,
 	     "\nwhere,\n\t[-x db_args]* - any number of database specific arguments.\n"




More information about the cvs-krb5 mailing list