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
9b1216b13c
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 20:57:50 +00:00
Love Hörnquist Åstrand
b1537f3cca
Make work on compilers that are somewhat more picky then gcc4 (like gcc2.95)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 20:57:33 +00:00
Love Hörnquist Åstrand
606de3c785
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 20:28:36 +00:00
Love Hörnquist Åstrand
056e83995c
Add gssmask
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17775 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 20:26:15 +00:00
Love Hörnquist Åstrand
85d0301916
Add appl/gssmask/Makefile
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17774 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 20:24:48 +00:00
Love Hörnquist Åstrand
3585ec2167
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 20:21:37 +00:00
Love Hörnquist Åstrand
1a7f7f4e24
split out fetching of credentials for easier reuse for pk-init testing
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17772 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 20:21:24 +00:00
Love Hörnquist Åstrand
cbad9c5477
gssapi maggot replacement, handles context testing
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17771 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 20:05:42 +00:00
Love Hörnquist Åstrand
54afe1180f
(do_delegation): use KDCOptions2int to convert fwd_flags to an
...
integer, since otherwise int2KDCOptions in krb5_get_forwarded_creds wont do the right thing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17770 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 19:38:40 +00:00
Love Hörnquist Åstrand
348154aed4
(gss_set_cred_option): free memory on failure
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17769 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 19:35:17 +00:00
Love Hörnquist Åstrand
850616a934
(_gsskrb5_set_sec_context_option): init global kerberos context
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17768 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 19:34:09 +00:00
Love Hörnquist Åstrand
997e17d6a4
(_gsskrb5_set_cred_option): init global kerberos context
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17767 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 19:33:48 +00:00
Love Hörnquist Åstrand
81e9020b7d
Insert the delegated sub cred on the delegated cred handle, not cred handle
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17766 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 19:11:48 +00:00
Love Hörnquist Åstrand
f6770953cf
(gss_accept_sec_context): handle the case where ret_flags == NULL
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17765 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 18:42:41 +00:00
Love Hörnquist Åstrand
2901cf9c42
(add_builtin): set _gss_mech_switch->gm_mech_oid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17764 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 18:04:41 +00:00
Love Hörnquist Åstrand
ce5954837b
(gss_set_cred_option): laod mechs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17763 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 17:41:54 +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
1af93ea1ef
correct the directory for the gss test program
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 14:10:51 +00:00
Love Hörnquist Åstrand
8cd7187d18
Add extern "C" for C++.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17760 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 13:42:39 +00:00
Love Hörnquist Åstrand
0462a61c9d
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17759 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 13:41:49 +00:00
Love Hörnquist Åstrand
f4e84f2cac
Add rtbl_add_column_entryv functions, printf like
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17758 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 13:41:40 +00:00
Love Hörnquist Åstrand
cb915dd449
add tests/gss
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17757 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 12:25:29 +00:00
Love Hörnquist Åstrand
146432c77a
Add gss to SUBDIR
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17756 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 12:24:59 +00:00
Love Hörnquist Åstrand
314c661b24
build and check gss
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 12:24:42 +00:00
Love Hörnquist Åstrand
b0a5f762f8
testrun gss program
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17754 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 12:24:04 +00:00
Love Hörnquist Åstrand
275bd7aed1
indicate mechs (for now)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 12:21:00 +00:00
Love Hörnquist Åstrand
e024f3655a
Build the gss program.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 12:06:30 +00:00
Love Hörnquist Åstrand
b51056b512
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17751 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 11:55:40 +00:00
Love Hörnquist Åstrand
3e8a39a63f
(gss_print_errors): don't try to print error when gss_display_status failed
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17750 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 11:55:28 +00:00
Love Hörnquist Åstrand
ace8ba1ea7
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17749 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 09:41:35 +00:00
Love Hörnquist Åstrand
5e8ef3b0f0
Add mech/gss_release_oid.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17748 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 09:35:59 +00:00
Love Hörnquist Åstrand
efa462a843
Add gss_release_oid, reverse of gss_duplicate_oid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17747 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 09:34:54 +00:00
Love Hörnquist Åstrand
3139d01195
preferred_mech_type was allocated with gss_duplicate_oid in one place
...
and assigned static varianbles a the second place. change that static
assignement to gss_duplicate_oid and bring back gss_release_oid.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17746 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 09:33:03 +00:00
Love Hörnquist Åstrand
ba3568494e
(_gss_spnego_delete_sec_context): don't release preferred_mech_type
...
and negotiated_mech_type, they where never allocated from the
begining.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 09:25:08 +00:00
Love Hörnquist Åstrand
6e451eae2a
On failure to find a correct error string, set status_string to NULL
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17744 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-29 21:53:38 +00:00
Love Hörnquist Åstrand
04265bce70
(gss_import_name): avoid type-punned/strict aliasing rules
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17743 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-29 21:23:13 +00:00
Love Hörnquist Åstrand
d1bebf6e65
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17742 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-29 21:01:34 +00:00
Love Hörnquist Åstrand
7a06a1faeb
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17741 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-29 20:53:22 +00:00
Love Hörnquist Åstrand
0ba9f5786e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17740 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-29 08:24:05 +00:00
Love Hörnquist Åstrand
dae9377cfa
avoid type-punned/strict aliasing rules
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17739 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-29 08:23:53 +00:00
Love Hörnquist Åstrand
cafe5bd62e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17738 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-29 07:29:20 +00:00
Love Hörnquist Åstrand
498cd10430
Make gss_name_t an opaque type.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-29 07:28:31 +00:00
Love Hörnquist Åstrand
03567db502
make gss_name_t an opaque type
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17736 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-29 07:27:26 +00:00
Love Hörnquist Åstrand
b79c379578
(gss_set_cred_option): support the case where *cred_handle == NULL
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17735 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-29 07:17:26 +00:00
Love Hörnquist Åstrand
318994275e
Add gss_set_cred_option
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17734 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 23:46:41 +00:00
Love Hörnquist Åstrand
65d9f1bd98
(gss_krb5_import_cred): make sure cred is GSS_C_NO_CREDENTIAL on failure.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17733 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 23:42:32 +00:00
Love Hörnquist Åstrand
b7090bd0ed
(gss_acquire_cred): if desired_mechs is NO_OID_SET, there is a need to
...
load the mechs, so always do that.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17732 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 23:15:18 +00:00
Love Hörnquist Åstrand
f3af075590
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17731 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 17:45:06 +00:00
Love Hörnquist Åstrand
f18cb8eadf
Add Doug Rabson's license
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17730 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 17:43:33 +00:00