Commit Graph

361 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
d615ca6727 kdigest depends on libheimntlm.la
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19374 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 21:23:05 +00:00
Love Hörnquist Åstrand
d31c63863f Read the appdefault configration before we try to use the flags.
Bug reported by Ingemar Nilsson.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19323 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-12 16:35:41 +00:00
Love Hörnquist Åstrand
d7f223ff70 prefix digest commands with digest_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19320 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-12 12:23:54 +00:00
Love Hörnquist Åstrand
5cb68077c7 prefix digest commands with digest-
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19319 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-12 12:23:00 +00:00
Love Hörnquist Åstrand
3154e1056e Use strcspn to remove \n from string returned by fgets.
From Björn Sandell


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19233 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 08:04:05 +00:00
Love Hörnquist Åstrand
a0440ced16 (renew_func): if the initial ticket wasn't renewable from the
beginning, not even try to renew it now.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-22 18:13:50 +00:00
Love Hörnquist Åstrand
ece5f9603e Make krb5_get_init_creds_opt_free take a context argument.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-20 18:12:41 +00:00
Love Hörnquist Åstrand
9cfefab1b3 Forward decl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 17:39:45 +00:00
Love Hörnquist Åstrand
9f9f9b923f unbreak.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 16:13:10 +00:00
Love Hörnquist Åstrand
1ee442b79b Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18832 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 16:11:56 +00:00
Love Hörnquist Åstrand
ec19689334 Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18828 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 15:56:27 +00:00
Love Hörnquist Åstrand
ff5e141560 Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 10:18:29 +00:00
Love Hörnquist Åstrand
9478fbdcac Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18823 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 10:15:53 +00:00
Love Hörnquist Åstrand
1b9fae5253 more files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 15:52:20 +00:00
Love Hörnquist Åstrand
836b720382 Avoid memory leak.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18563 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-18 20:55:39 +00:00
Love Hörnquist Åstrand
c31be304c0 Use krb5_get_kdc_sec_offset.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18528 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 16:00:00 +00:00
Love Hörnquist Åstrand
cb22e0849c update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18465 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 13:08:44 +00:00
Love Hörnquist Åstrand
a887c3389a split build files into dist_ and noinst_ SOURCES
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 09:11:49 +00:00
Love Hörnquist Åstrand
a01d3c5a98 Make digest argument o MD5_final unsigned char to help OpenSSL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18259 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 12:06:45 +00:00
Love Hörnquist Åstrand
45698ac1dc Add flag --pk-use-enckey.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18222 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-04 20:56:21 +00:00
Love Hörnquist Åstrand
3bab71b31d Don't require --kerberos-realm.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 10:50:52 +00:00
Love Hörnquist Åstrand
c1c7757afe Add tool for printing tickets.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-18 17:36:06 +00:00
Love Hörnquist Åstrand
c3b24d8d8e Remove debug printf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17988 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 11:04:00 +00:00
Love Hörnquist Åstrand
3ef140c394 Use new function krb5_get_init_creds_opt_set_addressless.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 10:57:48 +00:00
Love Hörnquist Åstrand
1812eef99f (renew_validate): inherit the proxiable and forwardable from the
orignal ticket, pointed out by Bernard Antoine of CERN.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-01 16:36:33 +00:00
Love Hörnquist Åstrand
c993715525 (help): use sl_slc_help().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-28 14:20:18 +00:00
Love Hörnquist Åstrand
03f49a749f Add --kerberos-realm, add client request command.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-23 11:36:41 +00:00
Love Hörnquist Åstrand
37129f204b Use the krb5_digest api. Return useful errorstring on no-existant command.
Add client request command.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-23 11:36:19 +00:00
Love Hörnquist Åstrand
258668b591 add realm to server-init
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-21 10:15:45 +00:00
Love Hörnquist Åstrand
c37191e06e Frontend for remote digest service in KDC
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-18 10:44:40 +00:00
Love Hörnquist Åstrand
5ea0612ca9 If --password-file gets STDIN, read the password from the standard input.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17823 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-10 14:47:45 +00:00
Love Hörnquist Åstrand
095abbfd38 Document --password-file=STDIN.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17822 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-10 14:46:58 +00:00
Love Hörnquist Åstrand
619970dbd8 add --delegation-credential-cache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 21:20:55 +00:00
Love Hörnquist Åstrand
efb0ffc76c use new krb5_get_creds interface, add impersonation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17619 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 15:05:22 +00:00
Love Hörnquist Åstrand
b011acf259 Pass down prompter and password to krb5_get_init_creds_opt_set_pkinit.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17540 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:58:07 +00:00
Love Hörnquist Åstrand
22a9431c92 Move parsing of the PK-INIT configuration file to the library so
application doesn't need to deal with it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17530 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 10:16:41 +00:00
Love Hörnquist Åstrand
652da91adb Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17447 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:52:01 +00:00
Love Hörnquist Åstrand
81ea1bb05f Document --credential=principal.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 20:52:12 +00:00
Love Hörnquist Åstrand
43c959fd1d document option password-file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17246 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 21:24:04 +00:00
Love Hörnquist Åstrand
594b3f5d86 Add option password-file, read password from the first line of a file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 21:21:23 +00:00
Love Hörnquist Åstrand
6815452550 Added certificate revoke information from configuration file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17054 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 13:21:46 +00:00
Love Hörnquist Åstrand
495cb953e6 Catch empty file case. From Tobias Stoeckmann.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17051 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 12:22:52 +00:00
Johan Danielsson
125128ed5c use exactly six X:es with mkstemp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-07 09:55:12 +00:00
Love Hörnquist Åstrand
145960cda9 Add pool of certificates to help certificate path building for clients
sending incomplete path in the signedData.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-30 03:12:06 +00:00
Johan Danielsson
b8e5d95008 unused
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-17 15:32:17 +00:00
Love Hörnquist Åstrand
2716c51d68 Default to use DH when fetching keys.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16381 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:43:01 +00:00
Love Hörnquist Åstrand
a271224bab In the list caches view, rename the Status field to Expires.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 19:46:10 +00:00
Love Hörnquist Åstrand
5b3597703d Document --list-caches
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-06 19:59:16 +00:00
Love Hörnquist Åstrand
737b532df0 Change short flag of --list-caches to -l (-v is already used).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-06 19:56:38 +00:00
Love Hörnquist Åstrand
cd2ce0c2a6 Add option --list-caches that lists the avaible caches and their status.
$ klist --list-caches
  Principal        Cache name               Status
lha@E.KTH.SE     2                        Valid
lha@SU.SE        1                        Expired
lha/root@SU.SE   0                        Expired
lha@N.L.NXS.SE   Initial default ccache   Expired


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-01 03:39:59 +00:00