14 Commits

Author SHA1 Message Date
Nicolas Williams
ceec364ed4 ktutil: Add import command and other improvements
- Add an import command that imports JSON as output by
   `ktutil list --json --keys`.

   This is enables one to filter/edit keytabs with jq!

 - Add a `merge` alias for the `copy` command, since that's effectively
   what it does.

 - Add a `--copy-duplicates` option to the `copy`/`merge` command.

 - Add a `--no-create` option to the `get` command.

 - Add a `--no-change-keys` option to the `get` command.

 - Make `add` complain if it can't finish writing to the keytab.
2022-10-03 09:44:22 -05:00
Love Hörnquist Åstrand
52bbc6705b remove krb4 functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24454 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:46:44 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00: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
Johan Danielsson
3474819438 convert to slc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14260 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-23 14:45:29 +00:00
Love Hörnquist Åstrand
22e0de2087 (kt_copy): remove adding verbose_flag to args struct, since it will
overrun the args array (from Sumit Bose)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11588 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-16 18:59:03 +00:00
Johan Danielsson
31ad1085bf use sysconfdir
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11080 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-12 15:09:20 +00:00
Assar Westerlund
0d6df259a0 move printing of keytab strings to better times
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-11 00:54:01 +00:00
Assar Westerlund
cf4cea286c (kt_copy): default to modify key name. re-organise
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9886 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-10 15:41:06 +00:00
Johan Danielsson
c6d3be50e3 don't copy an entry that already exists in the keytab, and warn if the
keyblock differs


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9407 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-16 00:45:29 +00:00
Johan Danielsson
427d9d63a6 merge srvcreate with copy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9405 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-16 00:17:19 +00:00
Johan Danielsson
37bcf8ded8 merge srvconvert with copy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-15 17:44:49 +00:00
Assar Westerlund
9961b240b7 print name when failing to open keytab
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-03 12:24:05 +00:00
Assar Westerlund
ee928b7492 split up ktutil in several files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7714 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-02 04:41:02 +00:00