Commit Graph

16955 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
6ee243c6ca Add GSS_KRB5_IMPORT_CRED_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17714 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 14:09:08 +00:00
Love Hörnquist Åstrand
7e00d0f690 Add gss_set_{sec_context,cred}_option
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17713 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 14:07:44 +00:00
Love Hörnquist Åstrand
1c95df4d9b Add dummy gss_krb5_import_cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17712 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 10:12:51 +00:00
Love Hörnquist Åstrand
2e7df17f9d make compile again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17711 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 10:12:08 +00:00
Love Hörnquist Åstrand
dde4296e4a Add lib dependencies and test programs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 10:11:18 +00:00
Love Hörnquist Åstrand
2049789dde use toplevel file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17709 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 09:45:45 +00:00
Love Hörnquist Åstrand
799057c5f0 remove dependency on libkrb5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17708 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 09:45:00 +00:00
Love Hörnquist Åstrand
37d96eb8c0 remove no longer used makefile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17707 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 09:37:17 +00:00
Love Hörnquist Åstrand
d50d98da07 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17706 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 09:34:50 +00:00
Love Hörnquist Åstrand
256c5d4b1a ignore gsskrb5-private.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17705 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 09:30:27 +00:00
Love Hörnquist Åstrand
465680c08c Add dependency on gsskrb5-private.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17704 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 09:12:02 +00:00
Love Hörnquist Åstrand
734c337ddf add leftover files from merge
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17703 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 09:08:13 +00:00
Love Hörnquist Åstrand
b7848f2c58 remove manpages, add leftover files from merge
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17702 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 09:07:08 +00:00
Love Hörnquist Åstrand
6814e8f515 merge mechglue code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17701 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 09:02:32 +00:00
Love Hörnquist Åstrand
d3f8f8e122 Bug fixes, cleanup, compiler warnings, restructure code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17700 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 09:00:26 +00:00
Love Hörnquist Åstrand
534d628c29 Rename gss_context_id_t and gss_cred_id_t to local names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 08:58:17 +00:00