Love Hörnquist Åstrand
062e1d7d5e
(krb5_get_init_creds_opt_set_default_flags): fix argument to
...
krb5_get_init_creds_opt_set_addressless.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17997 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 14:28:54 +00:00
Love Hörnquist Åstrand
88182a75ce
(init_cred_loop): try to catch the error when we actually have an
...
error to catch.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17995 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 13:46:45 +00:00
Love Hörnquist Åstrand
fe562592c6
Remove debug printfs.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17989 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 11:04:35 +00:00
Love Hörnquist Åstrand
ea574c73c5
Document krb5_get_init_creds_opt_set_addressless.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17987 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 11:00:11 +00:00
Love Hörnquist Åstrand
03b6a76a85
use new addressless, convert pa-pac option to use the same tri-state
...
option as the new addressless option.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 10:57:02 +00:00
Love Hörnquist Åstrand
4b009281f6
(krb5_get_init_creds_opt_set_addressless): used to control the
...
address-lessness of the initial tickets instead of passing in the
empty set of address into krb5_get_init_creds_opt_set_addresses.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 10:55:46 +00:00
Love Hörnquist Åstrand
cf9efd9db1
(fallback_get_hosts): limit the fallback lookups to 5.
...
Patch from Wesley Craig, umich.edu
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17958 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-01 10:16:28 +00:00
Love Hörnquist Åstrand
7efc06e58d
Catch more error.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-28 11:38:24 +00:00
Love Hörnquist Åstrand
4841cd3fd6
(krb5_digest_set_authid): new function.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17943 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-25 12:01:49 +00:00
Love Hörnquist Åstrand
02aa31c195
In the case where we get a DigestError back, save the error string and code.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-25 07:15:59 +00:00
Love Hörnquist Åstrand
c84978ea6d
(krb5_kerberos_enctypes): new function, returns the list of Kerberos
...
encryption types sorted in order of most preferred to least preferred
encryption type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17908 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-24 08:43:15 +00:00
Love Hörnquist Åstrand
17f00ca951
Add digest glue.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17901 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-23 11:31:14 +00:00
Love Hörnquist Åstrand
b68aa0068d
(krb5_digest_set_authentication_user): use krb5_principal
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-23 11:30:38 +00:00
Love Hörnquist Åstrand
c45391adce
Add digest support to the client side.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-23 11:25:48 +00:00
Love Hörnquist Åstrand
eb9c693880
Add digest.c to libkrb5.so
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-23 11:25:05 +00:00
Love Hörnquist Åstrand
bd969fac52
(krb5_rd_rep): free krb5_ap_rep_enc_part on error and set return pointer to NULL
...
(krb5_free_ap_rep_enc_part): permit freeing of NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-21 09:19:22 +00:00
Love Hörnquist Åstrand
3b766317e8
Document krb5_{ret,store}_stringnl functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-18 08:41:09 +00:00
Love Hörnquist Åstrand
2d2f459f74
Add krb5_{ret,store}_stringnl functions, stores/retrieves a \n
...
terminated string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-18 08:39:13 +00:00
Love Hörnquist Åstrand
3d8e85ad37
Default to address-less tickets.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17882 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-18 08:36:55 +00:00
Love Hörnquist Åstrand
0679c60ddd
(krb5_get_init_creds_opt_get_error): clear error string on error.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-18 08:36:02 +00:00
Love Hörnquist Åstrand
5a4d04ed30
remove aes-192
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17866 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-20 21:37:17 +00:00
Love Hörnquist Åstrand
0cc87e8758
Remove more CMS bits.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17865 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-20 21:37:16 +00:00
Love Hörnquist Åstrand
fdcc12bca6
Remove CMS symmetric encryption support.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-20 10:57:44 +00:00
Love Hörnquist Åstrand
16de57a5b4
Remove duplicate to.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17820 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-10 14:28:01 +00:00
Love Hörnquist Åstrand
706ef0ecd5
(krb5_parse_name): set *principal to NULL the first thing we do, so
...
that on failure its set to a known value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 09:30:15 +00:00
Love Hörnquist Åstrand
0af8ebf043
(krb5_storage_from_fd): don't leak fd on malloc failure
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17779 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 21:23:19 +00:00
Love Hörnquist Åstrand
2709915a99
(krb5_cc_new_unique): use KRB5_DEFAULT_CCNAME as the default prefix
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17762 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 17:08:40 +00:00
Love Hörnquist Åstrand
7841148998
(_krb5_get_init_creds_opt_set_krb5_error): make compile again.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17674 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-22 02:54:58 +00:00
Love Hörnquist Åstrand
a65edfb82d
Save KRB-ERROR on error.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-22 02:40:25 +00:00
Love Hörnquist Åstrand
07f13d1815
Add storing and getting KRB-ERROR int the krb5_get_init_creds_opt structure
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-22 02:38:36 +00:00
Love Hörnquist Åstrand
85750eaf7a
(_krb5_get_init_creds_opt_private): add KRB-ERROR
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-22 02:37:30 +00:00
Love Hörnquist Åstrand
bbf8d9a7e4
Document krb5_get_creds.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-15 21:36:28 +00:00
Love Hörnquist Åstrand
88a91a9441
(get_init_creds_common): drop cred argument, its unused
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-15 14:43:16 +00:00
Love Hörnquist Åstrand
ecfb6a6c11
install krb5_get_creds.3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-15 14:20:59 +00:00
Love Hörnquist Åstrand
390dc0d2ab
Allow setting additional tickets in the tgs-req
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17628 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 21:22:54 +00:00
Love Hörnquist Åstrand
f030cab6b9
(krb5_get_creds): add KRB5_GC_NO_TRANSIT_CHECK
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17618 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 15:04:13 +00:00
Love Hörnquist Åstrand
7333ba3253
Add KRB5_GC_NO_TRANSIT_CHECK
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 15:02:49 +00:00
Love Hörnquist Åstrand
395f57398c
Add impersonate support functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 14:57:47 +00:00
Love Hörnquist Åstrand
eb409f99aa
Add impersonate.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17615 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 14:57:16 +00:00
Love Hörnquist Åstrand
5558349b3e
Add krb5_get_creds_opt_data and some more KRB5_GC flags.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17613 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 14:52:33 +00:00
Love Hörnquist Åstrand
d60350c3a1
Avoid more shadowing.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17606 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-01 18:17:58 +00:00
Love Hörnquist Åstrand
a70780b23f
spelling Björn Sandell
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17593 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-29 14:55:18 +00:00
Love Hörnquist Åstrand
4c970b550e
Avoid shadowing.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17579 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 21:22:55 +00:00
Love Hörnquist Åstrand
ed43c02499
Add KRB5_PROMPT_TYPE_INFO
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 04:56:54 +00:00
Love Hörnquist Åstrand
7785a29dbf
Hidden field of hx509 prompter is removed.
...
Fix a warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 10:17:19 +00:00
Love Hörnquist Åstrand
d08f2e3a09
(_krb5_pk_load_id): only use password if its longer then 0
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17539 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:56:54 +00:00
Love Hörnquist Åstrand
dff342ed10
Various tweaks, from Jason McIntyre.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17534 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:43:44 +00:00
Love Hörnquist Åstrand
1e12165c58
(krb5_get_init_creds_opt_set_pkinit): move parsing of the
...
configuration file to the library so application doesn't need to deal
with it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17529 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 10:16:01 +00:00
Love Hörnquist Åstrand
66cc779e91
(_krb5_pk_load_id): pass the hx509_lock to when trying to read the
...
user certificate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17526 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 07:03:10 +00:00
Love Hörnquist Åstrand
60736cd1ec
(hx_pass_prompter): return 0 on success and 1 on failure. Pointed out
...
by Douglas E. Engert.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17525 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 06:59:56 +00:00