Nicolas Williams
dfc7ec92fa
Make kadm5_lock() and unlock work, and add kadmin commands for them.
...
The libkadm5 functions hdb_open() and close around all HDB ops. This
meant the previous implementation of kadm5_lock() and unlock would
always result in a core dump. Now we hdb_open() for write in
kadm5_lock() and hdb_close() in kadm5_unlock(), with all kadm5_s_*()
functions now not opening nor closing the HDB when the server context
keep_open flag is set.
Also, there's now kadmin(8) lock and unlock commands. These are there
primarily as a way to test the kadm5_lock()/unlock() operations, but
MIT's kadmin.local also has lock/unlock commands, and these can be
useful for scripting (though they require much care).
2011-07-22 21:07:48 -05:00
Nicolas Williams
87742e8118
Add missing KADM5_AUTH_GET_KEYS error and use it.
2011-07-22 16:07:07 -05:00
Nicolas Williams
0d90e0c4d0
Complete --keepold support and fix crasher in kadmin cpw -r --keepold.
2011-07-22 16:07:06 -05:00
Nicolas Williams
26f9924bb3
Added stubs for the kadm5 policy functions.
2011-07-22 16:04:53 -05:00
Nicolas Williams
3d0019d3ce
Added kadm5_setkey_principal*() and kadm5_decrypt_key().
2011-07-22 16:04:52 -05:00
Love Hörnquist Åstrand
cdc1726021
(PASS_REUSE): Spelling, from Václav H?la <ax@natur.cuni.cz>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16683 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-02 13:11:47 +00:00
Love Hörnquist Åstrand
8669df7f34
Make BAD_TL_TYPE error more helpful.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:31:42 +00:00
Assar Westerlund
98c7ce0bbf
then -> that, from Thomas Klausner <wiz@netbsd.org>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10800 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-12-06 17:02:55 +00:00
Johan Danielsson
fd08ae6a68
Swap error_table arguments.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4418 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-16 16:37:17 +00:00
Johan Danielsson
e92035bdcf
Add quotes.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4415 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-16 16:29:30 +00:00
Johan Danielsson
21772f8038
Illegal -> invalid, cannot -> can't, and some other cleanup.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3767 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-03 15:39:42 +00:00
Johan Danielsson
68d77a285f
Beginning of a kadm5-library
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3662 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-25 06:19:27 +00:00