kadmin: Use kadm5_iter_principals() to list princsnico/kadmin-online-list
commit1dbfd4e835c7b4d3f5e71a8e9efaf467f5ee0864
authorNicolas Williams <nico@twosigma.com>
Fri, 18 Mar 2022 05:28:23 +0000 (18 00:28 -0500)
committerNicolas Williams <nico@twosigma.com>
Sun, 20 Mar 2022 23:32:14 +0000 (20 18:32 -0500)
tree19c2514447c454665c375f0b272dc88dc9e77e04
parentb92a02edda124092ead8f2c0abe135b3eb0aa390
kadmin: Use kadm5_iter_principals() to list princs

Now that we have a properly working API for listing principals in an
online way, and a server-side implementation of it, use it.

This should work with old and new servers, but it will only be online
and fast when talking to new servers.

(Old servers have a bug though that prevents LIST from working.)
kadmin/check.c
kadmin/get.c
kadmin/kadmin-commands.in
kadmin/util.c