+Sun Aug 11 16:29:27 1996 Barry Jaspan <bjaspan@mit.edu>
+
+ * keytab.c: reset static global "quiet" each time; don't print
+ whoami on normal status messages
+
Tue Aug 6 15:18:49 1996 Barry Jaspan <bjaspan@mit.edu>
* kadmin_ct.ct: get_{principals,policies} -> list_*; remove
int code, num, i;
argc--; argv++;
+ quiet = 0;
while (argc) {
if (strncmp(*argv, "-k", 2) == 0) {
argc--; argv++;
int code;
argc--; argv++;
+ quiet = 0;
while (argc) {
if (strncmp(*argv, "-k", 2) == 0) {
argc--; argv++;
}
if (!quiet)
- printf("%s: Entry for principal %s with kvno %d, "
+ printf("Entry for principal %s with kvno %d, "
"encryption type %s added to keytab %s.\n",
- whoami, princ_str, princ_rec.kvno,
+ princ_str, princ_rec.kvno,
etype_string(keys[i].enctype), keytab_str);
}
did_something++;
if (!quiet)
- printf("%s: Entry for principal %s with kvno %d "
- "removed from keytab %s.\n", whoami,
+ printf("Entry for principal %s with kvno %d "
+ "removed from keytab %s.\n",
princ_str, entry.vno, keytab_str);
}
krb5_kt_free_entry(context, &entry);