Make kadmin ext work when lacking get-keys priv
commitb80b21c8a8edb864afedb83dd249498e408fe201
authorNicolas Williams <nico@cryptonector.com>
Wed, 26 Mar 2014 02:45:10 +0000 (25 21:45 -0500)
committerNicolas Williams <nico@cryptonector.com>
Wed, 26 Mar 2014 02:45:10 +0000 (25 21:45 -0500)
treec30aa8e4434f86be407071f3f5835cdaf0532a18
parent1fad1f8984baa0de258b09c06f0870e298be6c85
Make kadmin ext work when lacking get-keys priv

When we added the get-keys privilege we lost the ability to setup
keytabs with the kadmin ext command.  The fix is to note that we got
bogus key data and randkey (as we used to).
kadmin/ext.c
lib/kadm5/admin.h
lib/kadm5/marshall.c