Don't retrieve principal data for kadmin list
commite2978cff588973c9f1b757a8c96b3f8545b16358
authorRuss Allbery <rra@stanford.edu>
Thu, 2 Sep 2010 05:46:14 +0000 (1 22:46 -0700)
committerLove Hornquist Astrand <lha@h5l.org>
Mon, 6 Sep 2010 01:43:11 +0000 (5 18:43 -0700)
tree2f2f00626e0d1a98f64713f88a39c4a548b53e55
parent4365073415660879398dcb8a3b4c85dc524c9a74
Don't retrieve principal data for kadmin list

kadmin list and kadmin get -t used the same output display logic
as short output, which meant that they called kadm5_get_principal
for each principal.  However, they then just threw that output
away since the terse format displays only the principal name.

For terse get output, instead use a separate set of functions that
just print the string version of the principal name and do not
retrieve additional information.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
kadmin/get.c