Can't use deleg creds with SPNEGO (test_context)
commit420c080a8f2d4c5692ff5a8d9f8cb4bc2d4cd2cd
authorNicolas Williams <nico@cryptonector.com>
Fri, 17 Apr 2015 15:48:57 +0000 (17 10:48 -0500)
committerNicolas Williams <nico@cryptonector.com>
Fri, 17 Apr 2015 15:55:47 +0000 (17 10:55 -0500)
tree6817310cda49317824e5ed65ede9470ba58206d2
parent08724496ffa4ab9c593a90efc7f39c76ca95dedd
Can't use deleg creds with SPNEGO (test_context)

It isn't possible to use non-default credentials to init a context with
a mechanism for which the credential doesn't have an element.  That's
exactly what was happening here.  The code was left commented out to
describe how one might use SPNEGO with delegated credentials:
store them with gss_store_cred(), then acquire them back.
lib/gssapi/test_context.c