importing a security context from client code is broken.
The MIT library interface is also responsible for the problem. First possible patch available here: https://fedorahosted.org/gss-proxy/attachment/ticket/61/0001-Fix-import_sec_context-with-interposers.patch
Import_sec_context fix for MIT kerberos 0001-Fix-import_sec_context-with-interposers.patch
remote_to_local fix patch #1 0001-Create-helper-function-to-wrap-token.patch
remote_to_local fix patch #2 0002-Use-token-wrapper-in-gpp_remote_lo_local_ctx.patch
Attached fixes for gss-proxy code too. Code compiles, still untested.
Upstream tracker for krb5 patch: http://krbdev.mit.edu/rt/Ticket/Display.html?id=7592
Fixed in: c8ef37e
Metadata Update from @simo: - Issue assigned to simo - Issue set to the milestone: 2013 March