Don't retrieve principal data for kadmin list
commit890c797f688a2f43b68a05b09fa5c1f97acac8c2
authorRuss Allbery <rra@stanford.edu>
Thu, 2 Sep 2010 05:46:14 +0000 (1 22:46 -0700)
committerLove Hornquist Astrand <lha@h5l.org>
Thu, 2 Sep 2010 05:59:12 +0000 (1 22:59 -0700)
treeefc1018c0a424179e39505a654b1cb0223e90c5c
parentd893207413e294096a3daf8ba5f25518884cca6f
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