Commit Graph

3226 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
64bcdf0b5d Fixes from Björn Sandell.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18093 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-16 09:27:28 +00:00
Love Hörnquist Åstrand
1eaf2446ed Make compile again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-12 17:35:33 +00:00
Love Hörnquist Åstrand
44c73244c3 By using full function calling conversion (*func) we avoid problem
when close(fd) is overridden using a macro.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18076 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-12 17:32:10 +00:00
Love Hörnquist Åstrand
8d6e197003 Add keyusage for KRB5SignedPath.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 13:32:57 +00:00
Love Hörnquist Åstrand
b226d0acf5 Adapt to new signature of hx509_cms_unenvelope.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18065 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 06:38:36 +00:00
Love Hörnquist Åstrand
0fbe98fc9c (pk_verify_host): set errorstrings in a sensable way
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-09 13:39:24 +00:00
Love Hörnquist Åstrand
d23cf3f57d Prevent a font generation warning, from Jason McIntyre.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18056 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-07 22:01:43 +00:00
Love Hörnquist Åstrand
746ee7473a (krb5_init_ets): Add the hx errortable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18039 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-06 19:11:32 +00:00
Love Hörnquist Åstrand
b2c273d1fd Include hx509_err.h.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18038 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-06 19:11:02 +00:00
Love Hörnquist Åstrand
c360ec2e50 (_krb5_pk_verify_sign): catch the error string from the hx509 lib
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18036 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-06 18:53:39 +00:00
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