Commit Graph

15 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
ee246ab9ac Use gss oid_set functions from mechglue
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20688 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-17 18:44:31 +00:00
Love Hörnquist Åstrand
54ca9c0da6 Fix copy and paste error, bug spotted by from Phil Fisher.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 14:01:46 +00:00
Love Hörnquist Åstrand
00bcd44370 Switch from using a specific error message context in the TLS to have
a whole krb5_context in TLS. This have some interestion side-effekts
for the configruration setting options since they operate on
per-thread basis now.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 18:02:57 +00:00
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
75ece1ac48 Fix "if (x) lock(y)" bug. From Harald Barth.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-01 17:55:35 +00:00
Love Hörnquist Åstrand
48e418072e (_gsskrb5_inquire_cred): When cred provided is the default cred,
acquire the acceptor cred and initator cred in two diffrent steps and
then query them for the information, this way, the code wont fail if
there are no keytab, but there is a credential cache.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-06 22:37:19 +00:00
Love Hörnquist Åstrand
03567db502 make gss_name_t an opaque type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17736 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-29 07:27:26 +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
08bb397dbc Reverse order of HEIMDAL_MUTEX_unlock and gss_release_cred to avoid
deadlock, from Luke Howard <lukeh@padl.com>.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14360 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-30 19:27:11 +00:00
Love Hörnquist Åstrand
43ee62bf0b (gss_inquire_cred): handle cred_handle beeing GSS_C_NO_CREDENTIAL and
use the default cred then.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12624 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 01:27:02 +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
db086cdf25 (gss_inquire_cred): take care to set export value to something sane
before we start so caller will have harmless values in them if we
fails


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11740 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-16 17:42:14 +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
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
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