Commit Graph

38 Commits

Author SHA1 Message Date
Love Hornquist Astrand
1999c85670 Make mech glue layer aware of composite mechs that uses mech glue layer credentials
This make it possible to use krb5/ntlm credentials with SPNEGO.
Needs some more work to avoid double fetching credentials.
2009-08-27 12:12:44 -07:00
Love Hornquist Astrand
fa502c6648 Add support for gss_{import,export}_cred() as requested by metze
Works for krb5 and SPNEGO mechanisms. Kerberos credentials are passed as
credential cache names, or if there are memory based credentials, inband in the protocol. This means that the credentials buffers must be keep secret.

As documented by IBM (they have the wrong prototype though)
and GGF (GSS-API Extensions) back in 2001
2009-07-29 13:36:02 +02:00
Love Hornquist Astrand
565236c603 Add store-cred to the dispatch table 2009-07-28 09:50:05 +02:00
Love Hörnquist Åstrand
c99b2003e2 Implement gss_wrap_iov, gss_unwrap_iov for CFX type encryption types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-22 17:56:41 +00:00
Love Hörnquist Åstrand
269a7a057b flatten include headers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24382 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:35:00 +00:00
Love Hörnquist Åstrand
7f6d448621 implement the new gss_*_iov interfaces
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24055 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:49:37 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
1f6d6bb605 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23702 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-27 11:24:33 +00:00
Love Hörnquist Åstrand
541c7a5d2b allow registration of krb5_plugins though the gss-api layer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23698 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-27 11:13:48 +00:00
Love Hörnquist Åstrand
39fe446983 Support parsing KRB-ERROR passed back from windows server when the time is out of sync, modify krb5_cc_[sg]et_config interface to handle principals too, add tests for this
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23420 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:37:48 +00:00
Love Hörnquist Åstrand
795ee939ea Add declspec for Windows
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23025 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-17 10:01:57 +00:00
Love Hörnquist Åstrand
e53ec599a7 global krb5_context no longer used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 00:56:55 +00:00
Love Hörnquist Åstrand
ccada1f55a add lib/gssapi/krb5/external.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20386 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 08:52:08 +00:00
Love Hörnquist Åstrand
2a89a33fbe (krb5_mech): add _gsskrb5_pseudo_random
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20054 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-24 01:32:14 +00:00
Love Hörnquist Åstrand
00bcd44370 Switch from using a specific error message context in the TLS to have
a whole krb5_context in TLS. This have some interestion side-effekts
for the configruration setting options since they operate on
per-thread basis now.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 18:02:57 +00:00
Love Hörnquist Åstrand
6c70ad3bff add GSS_KRB5_SET_DEFAULT_REALM_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18960 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-08 23:01:01 +00:00
Love Hörnquist Åstrand
0b2f6c4188 Add GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18943 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 21:05:03 +00:00
Love Hörnquist Åstrand
e4947d8944 Add GSS_KRB5_GET_SERVICE_KEYBLOCK_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18913 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-05 00:03:15 +00:00
Love Hörnquist Åstrand
8ddaadec0e Rename various routines and constants from canonize to canonicalize.
From Andrew Bartlett


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 02:42:17 +00:00
Love Hörnquist Åstrand
e82fe544c3 add GSS_KRB5_GET_AUTHTIME_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18718 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 21:50:24 +00:00
Love Hörnquist Åstrand
6be8066e7d add GSS_KRB5_SEND_TO_KDC_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 18:48:25 +00:00
Love Hörnquist Åstrand
144e5ea208 add GSS_SASL_DIGEST_MD5_MECHANISM (for now)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18585 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-19 07:11:56 +00:00
Love Hörnquist Åstrand
3215eeedae Add GSS_KRB5_GET_ACCEPTOR_SUBKEY_X.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-18 15:58:24 +00:00
Love Hörnquist Åstrand
19d57df33c add GSS_KRB5_GET_INITIATOR_SUBKEY_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-18 12:44:56 +00:00
Love Hörnquist Åstrand
903ee91df2 add GSS_KRB5_SET_DNS_CANONIZE_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 09:26:12 +00:00
Love Hörnquist Åstrand
5c858395e5 Add lucid interface, renumber oids to my delegated space.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18411 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-12 08:50:11 +00:00
Love Hörnquist Åstrand
dfa6f7b248 reference all include files using krb5/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18334 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 22:16:04 +00:00
Love Hörnquist Åstrand
492e9f9da2 add GSS_KRB5_REGISTER_ACCEPTOR_IDENTITY_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17849 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-20 02:30:07 +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
ee09f98c15 Rename local include file, remove global files.
Stop exposing global gssapi symbols.
Rename gss_context_id_t and gss_cred_id_t to local names.
Remove SPNEGO code, its now in its own gssapi module.
Add mechglue inquire functions.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17697 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 08:54:04 +00:00
Love Hörnquist Åstrand
07c8470d34 Use rk_UNCONST to avoid const warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15963 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-23 11:59:47 +00:00
Love Hörnquist Åstrand
73e27ffc4c SPENGO and IAKERB oids
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12785 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-08 15:34:19 +00:00
Assar Westerlund
638ed57272 update OID for GSS_C_NT_HOSTBASED_SERVICE and other details from rfc2744
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8760 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-22 03:45:31 +00:00
Johan Danielsson
c5b916ca6f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Johan Danielsson
5a32a5c8e7 Add copyright notice.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2389 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 21:40:05 +00:00
Assar Westerlund
6976a12fca Use new OID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2277 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-14 11:41:47 +00:00
Assar Westerlund
16f56ac4cd new files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1579 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-04-13 22:18:46 +00:00