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
Love Hörnquist Åstrand
dc781671f0
Reimplement GSS_KRB5_COPY_CCACHE_X to instead pass a fullname to the
...
credential, then resolve and copy out the content, and then close the cred.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17729 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 17:33:29 +00:00
Love Hörnquist Åstrand
c52efdc69a
Reimplement GSS_KRB5_COPY_CCACHE_X to instead pass a fullname to the
...
credential, then resolve and copy out the content, and then close the cred.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17728 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 17:27:02 +00:00
Love Hörnquist Åstrand
6f241708fb
make "work", GSS_KRB5_COPY_CCACHE_X interface needs to be re-done,
...
currently its utterly broken.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17727 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 16:21:28 +00:00
Love Hörnquist Åstrand
ace187d740
Make work.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 16:20:41 +00:00
Love Hörnquist Åstrand
e6b82dd964
Add _gsskrb5_set_{sec_context,cred}_option
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17725 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 15:16:50 +00:00
Love Hörnquist Åstrand
ab4040e2e7
(gss_krb5_import_cred): implement
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 14:54:20 +00:00
Love Hörnquist Åstrand
de2d91e07f
Add gss_set_{sec_context,cred}_option and sort
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17723 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 14:39:40 +00:00
Love Hörnquist Åstrand
c717bf03c2
Add gss_set_{sec_context,cred}_option
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17722 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 14:39:23 +00:00
Love Hörnquist Åstrand
2ec4456fee
fix compile warning
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 14:39:00 +00:00
Love Hörnquist Åstrand
61a30996ac
(gss_krb5_import_cred): almost an implementation
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17720 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 14:38:24 +00:00
Love Hörnquist Åstrand
ebb97be4c8
Add gss_set_cred_option
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 14:37:08 +00:00
Love Hörnquist Åstrand
364d347054
Add gss_set_cred_option
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17718 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 14:27:11 +00:00
Love Hörnquist Åstrand
2ccb1cbe55
Add gss_set_sec_context_option
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17717 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 14:26:57 +00:00
Love Hörnquist Åstrand
8c884b3083
Add gss_inquire_cred_by_oid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17716 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 14:16:33 +00:00
Love Hörnquist Åstrand
ae97ddf396
spelling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17715 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 14:10:20 +00:00