Love Hörnquist Åstrand
5ec36048aa
allow setting referrals flag
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23676 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 02:33:55 +00:00
Love Hörnquist Åstrand
55b7603443
pass extra argument to krb5_cc_[gs]et_config.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23418 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:36:48 +00:00
Love Hörnquist Åstrand
d855d2aafa
add --ok-as-delegate and --windows flags
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23401 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:29:18 +00:00
Love Hörnquist Åstrand
4af9c1c89e
Use krb5_cc_set_config.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23394 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:26:22 +00:00
Love Hörnquist Åstrand
9e76ac04d0
Use krb5_cc_move to make an atomic switch of the cred cache.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22116 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 21:22:58 +00:00
Love Hörnquist Åstrand
5fed824f37
its vs it\'s etc. From Bjorn Sandell
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-14 20:04:50 +00:00
Love Hörnquist Åstrand
22e0c28f45
krb5-v4compat.h defines prototypes for v4 (semiprivate functions) in
...
libkrb5, don't include krb5-private.h any longer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21483 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:40:46 +00:00
Love Hörnquist Åstrand
fd1ec14122
Add --ntlm-domain that store the ntlm cred for this domain if the
...
Kerberos password auth worked.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20517 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-22 10:42:26 +00:00
Love Hörnquist Åstrand
0d1b4d2de9
remove code that depend on kerberos 4 library
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20458 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-19 20:41:27 +00:00
Love Hörnquist Åstrand
09495e7722
KRB5KDC_ERR_PREAUTH_FAILED is also a password failed.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 02:04:38 +00:00
Love Hörnquist Åstrand
27b0d0e0d1
Add canonicalize flag.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20229 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 03:40:58 +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
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
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
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
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
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
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
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
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
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
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
bef3d96fb7
avoid shadowing variables
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15543 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-01 07:29:03 +00:00
Love Hörnquist Åstrand
ac8c82785c
s/optind/optidx/
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15541 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-01 07:14:58 +00:00
Love Hörnquist Åstrand
54f8d95f72
(main): catch KRB5_CONFIG_BADFORMAT from krb5_init_context
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15369 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-14 00:14:43 +00:00
Love Hörnquist Åstrand
ea7df6b1e6
krb5_get_init_creds_opt_set_pkinit
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15042 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 16:17:04 +00:00
Love Hörnquist Åstrand
5ed2d6418f
add forward declaration of krb5_krb_auth_data
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-23 20:29:16 +00:00
Love Hörnquist Åstrand
98f267a220
widen lifetime/renewal warning text field, also make use of
...
unparse_time_approx, no need to be specific to the second when ticket
needs to be renewed or their lifetime.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14644 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-15 23:08:35 +00:00
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
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
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
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
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
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