svn commit: lorikeet r350 - in trunk/heimdal/lib/gssapi: .

abartlet at samba.org abartlet at samba.org
Thu Jun 23 01:47:46 GMT 2005


Author: abartlet
Date: 2005-06-23 01:47:46 +0000 (Thu, 23 Jun 2005)
New Revision: 350

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=350

Log:
The last gssapi API hack didn't work, because the gssapi_krb5_ccache
variable was left pointing at already free'ed memory.

Instead, add a richer acquire_creds API, which takes in a ccache and
keytab.  This already has the right lifetime constraints.

We still use a global, never-destoryed gssapi_krb5_context, but this
is less of an issue.

Andrew Bartlett

Modified:
   trunk/heimdal/lib/gssapi/accept_sec_context.c
   trunk/heimdal/lib/gssapi/acquire_cred.c
   trunk/heimdal/lib/gssapi/gssapi.h
   trunk/heimdal/lib/gssapi/gssapi_locl.h
   trunk/heimdal/lib/gssapi/release_cred.c


Changeset:
Sorry, the patch is too large (419 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=350


More information about the samba-cvs mailing list