Commit Graph

18 Commits

Author SHA1 Message Date
Luke Howard
e0bb9c10ca gssapi: credential store extensions (#451)
Implement the GSS-API credential store API extensions defined by MIT here:

https://k5wiki.kerberos.org/wiki/Projects/Credential_Store_extensions

Note: we kill off gss_acquire_cred_ext() here. This was never a public API,
although mechanisms could have implemented it and I briefly used it in my
BrowserID prototype mechanism. gss_acquire_cred_ext_from() occupies the place
in the dispatch table where gss_acquire_cred_ext() used to, but this structure
was never visible outside Heimdal (i.e. it is only used by internal
mechanisms);

(Mechanisms that need to accept arbitrary key/value dictionaries from
applications should now implement gss_acquire_cred_from().)
2019-01-03 14:38:39 -06:00
Quanah Gibson-Mount
7c16ce3457 Minor typo/grammar fixes 2017-03-10 15:47:43 -05:00
Nicolas Williams
2027aa11ed Use --detach in tests to avoid waiting 2016-12-07 19:52:29 -06:00
Nicolas Williams
8735d47d8b Add missing tests/gss env setup 2016-12-06 22:44:34 -06:00
Nicolas Williams
feb245f741 Undo workaround for NTLM and mechglue bugs 2015-04-17 10:55:47 -05:00
Nicolas Williams
5d50d06845 Better test workaround for NTLM bug 2015-04-16 19:53:22 -05:00
Nicolas Williams
d6a7d14fc5 Workaround bugs exposed by test_context changes
Bugs exposed by 61720a0:

 - test_context --client-name=... --mech-type=ntlm ... fails;

 - gss_acquire_cred() with desired_mech=NTLM and
   desired_name==GSS_C_NO_NAME fails;

 - gss_init_sec_context() with non-default cred handle calls the
   mechanism even when the given cred handle has no element for the
   requencet mechanism.

tests/gss/check-ntlm works by accident: gss_acquire_cred() with
desired_mechs==GSS_C_NO_OID_SET succeeds mostly because there are
Kerberos credentials available, and then the subsequent
gss_init_sec_context() call works because of the third bug described
above.
2015-04-16 18:42:51 -05:00
Love Hornquist Astrand
12c3c12160 pass in client name 2011-05-22 13:01:00 -07:00
Love Hornquist Astrand
86da42df1d abstract out --no-afslog and --no-unlog 2010-06-01 14:42:16 -07: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
ffe5bc187e make delegated checks work....
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23407 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:32:17 +00:00
Love Hörnquist Åstrand
dc491b7b73 empty messages.log
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-08 06:55:32 +00:00
Love Hörnquist Åstrand
06bae6ea10 use @port@ as port
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-08 01:04:54 +00:00
Love Hörnquist Åstrand
9afb696dc5 test wrapunwrap
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19455 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 18:16:29 +00:00
Love Hörnquist Åstrand
0270e1d1af Test get and verify MIC.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19449 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 15:44:40 +00:00
Love Hörnquist Åstrand
89a05cc5da test more combination of spnego contexts
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19417 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 18:03:27 +00:00
Love Hörnquist Åstrand
dcdaf46f23 less bash in the automated version.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19407 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 13:14:08 +00:00
Love Hörnquist Åstrand
a831db29b4 check spnego combinations.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19403 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 13:05:26 +00:00