(do_list): always print complete names. print everything to stdout.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9895 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -77,7 +77,7 @@ do_list(const char *keytab_string)
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf (stderr, "%s:\n\n", keytab_string);
|
printf ("%s:\n\n", keytab_string);
|
||||||
|
|
||||||
ret = krb5_kt_start_seq_get(context, keytab, &cursor);
|
ret = krb5_kt_start_seq_get(context, keytab, &cursor);
|
||||||
if(ret){
|
if(ret){
|
||||||
@@ -102,7 +102,7 @@ do_list(const char *keytab_string)
|
|||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
asprintf(&kp->etype, "unknown (%d)", entry.keyblock.keytype);
|
asprintf(&kp->etype, "unknown (%d)", entry.keyblock.keytype);
|
||||||
CHECK_MAX(etype);
|
CHECK_MAX(etype);
|
||||||
krb5_unparse_name_short(context, entry.principal, &kp->principal);
|
krb5_unparse_name(context, entry.principal, &kp->principal);
|
||||||
CHECK_MAX(principal);
|
CHECK_MAX(principal);
|
||||||
if (list_timestamp) {
|
if (list_timestamp) {
|
||||||
char tstamp[256];
|
char tstamp[256];
|
||||||
|
Reference in New Issue
Block a user