Love Hörnquist Åstrand
95ee7df071
externalize slave handling, add GetTargetName glue
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 09:36:14 +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
f409403b7d
AcquireCreds: set principal to NULL to avoid memory corruption
...
GetTargetName: always send a string, even though we don't have a targetname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17786 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 09:28:42 +00:00
Love Hörnquist Åstrand
923d63fd9e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17785 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 09:20:27 +00:00
Love Hörnquist Åstrand
afd0ce92a8
externalize principal/password handling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 09:07:02 +00:00
Love Hörnquist Åstrand
bff708b6c9
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 08:51:06 +00:00
Love Hörnquist Åstrand
f69250b34c
fix argument to gss_release_cred
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 08:50:49 +00:00
Love Hörnquist Åstrand
7bee6b7a5b
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17781 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 08:44:50 +00:00
Love Hörnquist Åstrand
88c076e738
break out common function; add gssmaestro (that only tests one context for now)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17780 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 08:44:30 +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
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