Commit Graph

299 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
af89d92dfe (get_new_tickets): only complain about ticket renewable lifetime when
the user asked for a specific renewable lifetime


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14356 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-18 03:39:22 +00:00
Love Hörnquist Åstrand
c4cacd7a06 adapt to new signature of krb5_get_init_creds_opt_set_pkinit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-07 10:20:41 +00:00
Johan Danielsson
0326089c9f use rtbl_set_separator
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-04 15:10:20 +00:00
Johan Danielsson
5e83b93a1e make sure we don't always get renewable creds
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14229 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-14 14:40:10 +00:00
Johan Danielsson
0624b4457e replace INCLUDES with AM_CPPFLAGS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:55:29 +00:00
Love Hörnquist Åstrand
fe9c311247 document --cache/-c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14090 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-05 18:49:47 +00:00
Love Hörnquist Åstrand
bd3655ba6e allow to specify what credential cache to use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14089 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-05 18:49:25 +00:00
Love Hörnquist Åstrand
f7a51721c2 (print_cred_verbose): keytypes are no longer, use enctype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14064 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-23 18:31:23 +00:00
Johan Danielsson
e230725892 don't install copy_cred_cache manpage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13998 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-27 14:07:54 +00:00
Love Hörnquist Åstrand
5cb42dc81b move "setpag if (argc < 1)" to common path
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13851 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-14 20:00:19 +00:00
Johan Danielsson
ed962c1a41 print some diagnostics if the exec fails
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13835 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-06 11:50:33 +00:00
Johan Danielsson
e95a1672b8 krb5_cc_copy_cache_match now lives in libkrb5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:38:02 +00:00
Johan Danielsson
26457b7135 replace krb5_free_creds_contents by krb5_free_cred_contents
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:25:35 +00:00
Johan Danielsson
25de2f6777 add --valid-for option
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 16:03:45 +00:00
Love Hörnquist Åstrand
89f71476cb pacify mdoclint
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 14:30:09 +00:00
Johan Danielsson
b96a303522 add cred cache copy tool
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13771 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 22:46:08 +00:00
Love Hörnquist Åstrand
432db5d5c9 add --credential argument that just remove one credential entry out of
the cache specified


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13729 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-17 17:00:06 +00:00
Love Hörnquist Åstrand
8bc1b3e836 merge certificate/private_key to a user_id
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-16 00:40:21 +00:00
Love Hörnquist Åstrand
2bf6c25dcd its PAC not PAQ
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-30 15:41:04 +00:00
Love Hörnquist Åstrand
11b133e1c5 adapt to signature change of krb5_get_init_creds_opt_set_pkinit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13609 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-21 22:34:13 +00:00
Love Hörnquist Åstrand
bd31b8f01f document --canonicalize
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-12 07:34:04 +00:00
Love Hörnquist Åstrand
f6774ea083 add --canonicalize
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13505 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-12 07:30:19 +00:00
Love Hörnquist Åstrand
9197bbb0c8 rename ca_dir to pkinit/x509_anchors since its more like that language
in RFC3280


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 21:06:10 +00:00
Love Hörnquist Åstrand
5ca59aff01 when running kinit with a subprocess, fetch new tickets after half the
tickets lifetime


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13465 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 21:17:53 +00:00
Love Hörnquist Åstrand
e96991c20e (renew_validate): if renewable_flag and not time specifed, use "1 month"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-13 10:09:50 +00:00
Love Hörnquist Åstrand
554c582f3e make -9 work again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13228 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-18 19:33:15 +00:00
Love Hörnquist Åstrand
c5919960a3 (main): return the return value from simple_execvp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-01 13:09:30 +00:00
Love Hörnquist Åstrand
7d8cc56531 don't use PKINIT DH per default since its too slow
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13160 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-26 02:41:53 +00:00
Love Hörnquist Åstrand
346d1a2643 add flag to make it work with dh
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-25 11:02:09 +00:00
Love Hörnquist Åstrand
80c1204118 XXX add some "struct foo;" glue for pkinit structures that isn't used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13139 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 23:45:47 +00:00
Love Hörnquist Åstrand
ceffd3f0a4 add [appdefaults]kinit/pkinit-ca-dir
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-08 19:23:51 +00:00
Love Hörnquist Åstrand
237ff82b29 add pkinit support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-08 08:56:38 +00:00
Love Hörnquist Åstrand
378fc043da add --no-transit-check
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-21 08:03:36 +00:00
Johan Danielsson
0cad850aac (print_tickets): bail out if krb5_cc_next_cred returns error other
than KRB5_CC_END


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12990 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-12 15:57:42 +00:00
Love Hörnquist Åstrand
f2fe7866d3 When running kinit in "fork mode" do pagsh independent of krb4, also
always do krb4 setup of cc. Always try to destroy the v4 cc.

all boolean --{,no-}request-pac that will request pac or not


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12960 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 12:21:42 +00:00
Love Hörnquist Åstrand
cdeab003ac (check_for_tgt): set client as part of the pattern/match cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12959 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 12:18:44 +00:00
Love Hörnquist Åstrand
f5104e0d11 don't get v4 tickets by default
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12894 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-21 13:15:34 +00:00
Love Hörnquist Åstrand
5d190295aa add context argument to krb5_get_init_creds_opt_alloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-08 15:28:20 +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
61e14619de use krb5_get_init_creds_opt_alloc/krb5_get_init_creds_opt_free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:31:42 +00:00
Love Hörnquist Åstrand
ae9f3656f7 use krb5_get_init_creds_opt_alloc/krb5_get_init_creds_opt_free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12733 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:45:38 +00:00
Love Hörnquist Åstrand
1b0fb56912 (check_for_tgt): use krb5_cc_clear_mcred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:35:43 +00:00
Love Hörnquist Åstrand
71635344e5 write out v4 credential caches with _krb5_krb_tf_setup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12408 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-28 21:02:36 +00:00
Johan Danielsson
c5b09ec10c document -A
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12394 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-23 11:39:49 +00:00
Johan Danielsson
7eb7222d36 add -A as an alias for --no-addresses
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12393 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-23 11:38:22 +00:00
Love Hörnquist Åstrand
45b32a1abb spelling, from netbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12283 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 21:56:40 +00:00
Love Hörnquist Åstrand
0a77e7b2f6 setup -> set up, new sentence, new line
from Thomas Klausner <wiz@netbsd.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12274 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 12:21:49 +00:00
Love Hörnquist Åstrand
0764844cac destroy tokens even if there isn't v4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-08 18:52:57 +00:00
Love Hörnquist Åstrand
77299ee4c7 get token even if there isn't v4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-08 18:51:36 +00:00
Love Hörnquist Åstrand
d7e8189ab7 print tokens even if there isn't v4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-08 18:43:22 +00:00