Commit Graph

22 Commits

Author SHA1 Message Date
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
e16360e2db Add --keepold option to cpw. 2011-07-22 16:07:05 -05:00
Nicolas Williams
fac34871be More kadmin support for kvno diff policy. 2011-07-22 16:06:01 -05:00
Nicolas Williams
c2ec368c36 Add HDB extension for storing policy regarding what historic keys may be used for 2011-07-22 16:06:00 -05:00
Nicolas Williams
1f349a6aba kadmin support for policies. 2011-07-22 16:05:21 -05:00
Love Hornquist Astrand
368536bc08 add password/bare options 2009-11-21 23:53:26 -08:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
1dd5277f45 Allow setting multiple allowed-to-delegate-to.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21969 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-18 18:51:11 +00:00
Love Hörnquist Åstrand
8455251ee1 modify --pkinit-acl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20648 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 19:04:28 +00:00
Love Hörnquist Åstrand
17562715a4 Add new command, add_enctype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 03:14:18 +00:00
Love Hörnquist Åstrand
ea6db777a0 add setting and displaying aliases
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20239 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:00:41 +00:00
Love Hörnquist Åstrand
347c8ddc11 (do_mod_entry): Add setting 1 delegation entry
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17635 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-07 06:04:40 +00:00
Love Hörnquist Åstrand
ff57ab98ef Add check command
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 18:44:02 +00:00
Love Hörnquist Åstrand
591052ef87 Add ank as an alias to add, it lost in transition to slc, from Måns Nilsson.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16323 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 09:26:02 +00:00
Love Hörnquist Åstrand
be4a48e5aa Rename password-quality to verify-password-quality.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15908 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 20:41:30 +00:00
Love Hörnquist Åstrand
e2e455d771 revert previous, wrong file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-05 20:07:18 +00:00
Love Hörnquist Åstrand
ba7ef53fd1 document kadmin command password-quality instead of the not installed
test_pw_quality


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-05 20:00:41 +00:00
Johan Danielsson
27959f1c5b add min_args and max_args
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14024 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-05 11:30:30 +00:00
Johan Danielsson
769bbfede1 note which functions only work in local mode
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14009 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-27 17:34:10 +00:00
Johan Danielsson
fd5ddd5f3c make get -l the default again, and add column selection flag; sync
list with get


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14001 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-27 15:09:11 +00:00
Johan Danielsson
0bf52ddf2c mod needs default kvno of -1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-24 11:43:56 +00:00
Johan Danielsson
d7f9fac88e convert to use slc; also add stash subcommand
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-21 19:19:45 +00:00