diff options
author | Günther Deschner <gd@samba.org> | 2012-01-06 17:48:58 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2012-01-09 10:34:06 +0100 |
commit | 3583419b98826066e7ba9a31ad1b692d3837542b (patch) | |
tree | 77b3ae4aebe53c42d47948999a50e4dcef99e3df /source3/libads | |
parent | 4c03f08c0d46f6482bf9a3f2eec59b0099d9aa7d (diff) | |
download | samba-3583419b98826066e7ba9a31ad1b692d3837542b.tar.gz samba-3583419b98826066e7ba9a31ad1b692d3837542b.tar.bz2 samba-3583419b98826066e7ba9a31ad1b692d3837542b.zip |
s3-libads: pretty print a keytab list.
Guenther
Diffstat (limited to 'source3/libads')
-rw-r--r-- | source3/libads/kerberos_keytab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/kerberos_keytab.c b/source3/libads/kerberos_keytab.c index 7654c666f4..0e23a6add3 100644 --- a/source3/libads/kerberos_keytab.c +++ b/source3/libads/kerberos_keytab.c @@ -764,7 +764,7 @@ int ads_keytab_list(const char *keytab_name) goto out; } - printf("Vno Type Principal\n"); + printf("Vno Type Principal\n"); while (krb5_kt_next_entry(context, keytab, &kt_entry, &cursor) == 0) { @@ -787,7 +787,7 @@ int ads_keytab_list(const char *keytab_name) goto out; } - printf("%3d %s\t\t %s\n", kt_entry.vno, etype_s, princ_s); + printf("%3d %-43s %s\n", kt_entry.vno, etype_s, princ_s); TALLOC_FREE(princ_s); SAFE_FREE(etype_s); |