Commit Graph

274 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
ffbe1f7b1a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14800 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 05:03:39 +00:00
Love Hörnquist Åstrand
20bf4cc2cf include <hex.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14799 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 05:02:39 +00:00
Love Hörnquist Åstrand
090f4804ec x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14794 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 16:45:35 +00:00
Love Hörnquist Åstrand
239d06f465 add option -H --hex to the add command
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 16:45:14 +00:00
Love Hörnquist Åstrand
cc37425e3e document option -H --hex to the add command
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 16:43:57 +00:00
Love Hörnquist Åstrand
91a4130b2a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-29 12:52:07 +00:00
Love Hörnquist Åstrand
140c66c0a2 un c99'ify, from Anders.Magnusson@ltu.se
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14271 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-29 11:17:13 +00:00
Johan Danielsson
5bf26fd00d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14264 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-23 14:47:56 +00:00
Johan Danielsson
ed5464ed8a add slc glue
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-23 14:47:38 +00:00
Johan Danielsson
837da12db7 note change in purge
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14262 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-23 14:47:19 +00:00
Johan Danielsson
8da6400622 convert to slc; don't purge keys older that a certain time, instead
purge keys that have newer versions that are at least a certain age


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14261 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-23 14:46:43 +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
Johan Danielsson
553e4214ea convert to slc; warn if resetting disallow-all-tix
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14259 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-23 14:44:57 +00:00
Johan Danielsson
6ea52bf4dc slc source file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14258 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-23 14:39:49 +00:00
Johan Danielsson
0323ce1aae use rtbl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14256 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-23 13:26:53 +00:00
Johan Danielsson
f5da09d81b replace AC_TRY_COMPILE with AC_COMPILE_IFELSE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-25 14:19:39 +00:00
Love Hörnquist Åstrand
2def6c8dd2 (kt_get): catch errors from krb5_parse_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13920 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-09 10:44:55 +00:00
Love Hörnquist Åstrand
54fc57ccb5 s/des_read_pw_string/UI_UTIL_read_pw_string/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:37:03 +00:00
Love Hörnquist Åstrand
3abde05ac7 typos, from jmc <jmc@acn.waw.pl>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-08 20:55:10 +00:00
Love Hörnquist Åstrand
52bf663c4d (kt_change): collect all principals we are going to change, and pick
the highest kvno and use that to guess what kvno the resulting kvno is
going to be. Now two ktutil change in a row works. XXX fix the
protocol to pass the kvno back.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-01 15:04:49 +00:00
Love Hörnquist Åstrand
ce4841cbb8 s/entype/enctype/, from Igor Sobrado <sobrado@acm.org> via NetBSD
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-16 18:53:23 +00:00
Love Hörnquist Åstrand
aa25cfcafa add copyright/license statment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11648 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-16 21:10:32 +00:00
Love Hörnquist Åstrand
97b31c3d2d document -v, --verbose
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-16 19:10:55 +00:00
Love Hörnquist Åstrand
8d721d0bb4 (kt_get): make getarg usage consistent with other other parts of ktutil
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11589 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-16 19:03:23 +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
77de2f4011 use crypto-headers.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-10 20:03:49 +00:00
Johan Danielsson
b97a223d26 on second thoughts, back out previous
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11438 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-10 19:26:52 +00:00
Johan Danielsson
c8fbdf457d use krb5_prompter_posix instead of calling des_read_pw_string directly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11436 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-10 19:21:48 +00:00
Johan Danielsson
879fc6b8bc more, mostly whitespace, fixes from Thomas Klasusner
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 17:07:29 +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
Johan Danielsson
8e07de16ed no need to use the "modify" keytab anymore
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10828 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-11 14:14:11 +00:00
Johan Danielsson
8d01a8944c get the default keytab from krb5.conf, and list all parts of an ANY
type keytab


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10816 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-01-30 10:12:21 +00:00
Jacques A. Vidrine
2d609b163b Staticize `kadm5_config_params conf' passed to
`kadm5_init_with_password_ctx', since the latter holds a reference
to it.  Previously it was on the stack and would become overwritten
when doing `ktutil get'.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10779 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-29 12:53:52 +00:00
Assar Westerlund
9b8ad9f282 set and use INCLUDE_des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-28 08:31:31 +00:00
Assar Westerlund
aad564d1c2 re-write the handling of crypto libraries. try to use the one of
openssl's libcrypto or krb4's libdes that has all the required
functionality (md4, md5, sha1, des, rc4).  if there is no such
library, the included lib/des is built.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-22 20:30:33 +00:00
Johan Danielsson
5fbe7f8ff9 some changes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10390 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-23 14:47:31 +00:00
Johan Danielsson
fe6bf34316 don't open connection to server until we loop over the principals, at
that time we know the realm of the (first) principal and we can
default to that admin server


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10388 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-23 14:30:09 +00:00
Johan Danielsson
e84ee73029 document rename
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10385 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-23 10:25:26 +00:00
Johan Danielsson
bfc828cabd add rename command
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10384 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-23 10:17:32 +00:00
Johan Danielsson
4d7d46d8b7 move common code for opening the keytab to ktutil.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10383 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-23 09:46:41 +00:00
Johan Danielsson
ad4db1f4e6 (do_list): make sure list of keys is NULL terminated; similar to patch
sent by Chris Chiappa


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10086 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 01:24:29 +00:00
Johan Danielsson
776835b929 fix for broken mdoc.old grog test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-08 21:35:32 +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
57c153beb7 (do_list): do not close the keytab if opening it failed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9896 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-11 00:49:21 +00:00
Assar Westerlund
39b2d61db6 (do_list): always print complete names. print everything to stdout.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-10 21:55:07 +00:00
Assar Westerlund
8c9d71d780 print both v5 and v4 list by default
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9894 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-10 16:05:15 +00:00
Assar Westerlund
5bb7e47989 remove left-overs of keytab handling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9893 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-10 16:04:27 +00:00
Assar Westerlund
020b649110 (kt_remove): reorganize some. open the keytab (defaulting to the modify
one).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-10 15:44:58 +00:00
Assar Westerlund
c5b07dc7de (kt_purge): reorganize some. open the keytab (defaulting to the modify
one). correct usage strings


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-10 15:44:30 +00:00
Assar Westerlund
7576655be4 (kt_list): reorganize some. open the keytab
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9889 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-10 15:43:38 +00:00