Commit Graph

13 Commits

Author SHA1 Message Date
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
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
6ece760454 (gss_release_cred): use GSS_CF_DESTROY_CRED_ON_RELEASE to decide if
the cache should be krb5_cc_destroy-ed


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 08:57:35 +00:00
Love Hörnquist Åstrand
ced74c3564 (gss_release_cred): if its a mcc, destroy it rather the just release it
Found by: "Zi-Bin Yang" <zbyang@decru.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-07 00:51:46 +00:00
Love Hörnquist Åstrand
42f3fc029a - do some basic locking (no reference counting so contexts can be
removed while still used)
- don't export gss_ctx_id_t_desc_struct and gss_cred_id_t_desc_struct
- make sure all lifetime are returned in seconds left until expired,
  not in unix epoch


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 14:52:14 +00:00
Love Hörnquist Åstrand
08d1c04825 (gss_release_cred): set minor_status
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-16 17:52:19 +00:00
Johan Danielsson
14d8cdb894 check return value from gssapi_krb5_init
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11534 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-31 16:06:35 +00:00
Jacques A. Vidrine
fed304b01c RFC 2743 says (regarding gss_acquire_cred),
``A caller may provide the value NULL (GSS_C_NO_NAME) for
  desired_name, which will be interpreted as a request for a
  credential handle that will invoke default behavior when passed
  to GSS_Init_sec_context(), if cred_usage is GSS_C_INITIATE
  or GSS_C_BOTH, or GSS_Accept_sec_context(), if cred_usage is
  GSS_C_ACCEPT or GSS_C_BOTH.''


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 12:02:45 +00:00
Assar Westerlund
19543430ad add support for getting creds from a keytab, from fvdl@netbsd.org
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 00:49:05 +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
27820be63e Use krb5_kt_close/krb5_kt_resolve.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4552 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-06 01:28:01 +00:00
Assar Westerlund
6de81dfd8d more freeing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3055 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-19 12:28:57 +00:00
Assar Westerlund
931c5154bc new files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3047 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-17 16:39:24 +00:00