Commit Graph

372 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
cfeb58d7cb Print session key if there is one.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-02 21:34:37 +00:00
Love Hörnquist Åstrand
7d4b2bf9dc print rsp if there is one, from Klas.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20139 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-02 21:10:17 +00:00
Love Hörnquist Åstrand
3a202b933e Set client nonce if avaible, from Klas.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-02 20:50:25 +00:00
Love Hörnquist Åstrand
ea871879e0 Drop unused variable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-02 11:34:46 +00:00
Love Hörnquist Åstrand
7fea7303b8 Don't restrict the type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-02 11:33:25 +00:00
Love Hörnquist Åstrand
15f10778d2 add --client-response
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-01 20:29:57 +00:00
Love Hörnquist Åstrand
be5e24c118 Print status instead of response.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20121 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-01 20:29:37 +00:00
Love Hörnquist Åstrand
578e7425fa Use argument as principal if passed an argument. Bug report from
Douglas E. Engert


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19920 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-15 23:21:32 +00:00
Love Hörnquist Åstrand
9e3b1291f4 (print_cred_verbose): include ticket length in the verbose output
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19770 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 00:03:46 +00:00
Love Hörnquist Åstrand
27f3cc9bf2 mangle my name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19718 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-05 11:17:57 +00:00
Love Hörnquist Åstrand
5703c13dc7 add ntlm-server-init
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19375 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 21:24:20 +00:00
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