Andrew Bartlett
5cc4d5d2bd
heimdal Use a seperate krb5_auth_context for the delegated credentials
...
This makes it much more clear that the timestamp written here is not
used in mutual authentication.
Andrew Bartlett
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2010-10-02 20:47:12 -07:00
Asanka Herath
5dcc605f6b
Fix calling conventions for Windows
2010-08-20 13:14:10 -04:00
Love Hörnquist Åstrand
c99b2003e2
Implement gss_wrap_iov, gss_unwrap_iov for CFX type encryption types.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-22 17:56:41 +00:00
Love Hörnquist Åstrand
269a7a057b
flatten include headers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24382 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:35:00 +00:00
Love Hörnquist Åstrand
9586101a49
use the krb5_crypto directly, skipping some per packet calculation, make cfx handling simpler
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:52:10 +00:00
Love Hörnquist Åstrand
6937d41a02
remove trailing whitespace
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898
switch to utf8 encoding of all files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
39fe446983
Support parsing KRB-ERROR passed back from windows server when the time is out of sync, modify krb5_cc_[sg]et_config interface to handle principals too, add tests for this
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23420 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:37:48 +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
ac365a5552
Free service_keyblock and fwd_data, indent.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 14:57:22 +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
20beaf630b
(gss_delete_sec_context): if the context handle is GSS_C_NO_CONTEXT,
...
don't fall over.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-16 13:12:29 +00:00
Love Hörnquist Åstrand
d0443e2058
prefix all sequence symbols with _, they are not part of the GSS-API api. By comment from Wynn Wilkes <wynnw@vintela.com>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14989 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 17:51:27 +00:00
Love Hörnquist Åstrand
711b17e252
(gss_delete_sec_context): don't free ticket, krb5_free_ticket does that now
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-09 01:17:13 +00:00
Love Hörnquist Åstrand
d31ef7cb79
destroy sequence number verifier
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12366 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 03:59:28 +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
ce1208aa5e
(gss_delete_sec_context): set minor_status
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11746 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-16 17:46:40 +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
Assar Westerlund
0df16fe015
(gss_delete_sec_context): fix think-o
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9874 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-10 15:23:04 +00:00
Assar Westerlund
9e18407189
(gss_delete_sec_context): remember to free the memory used by the
...
ticket itself
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9865 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-08 14:01:44 +00:00
Assar Westerlund
d25b6dec81
(gss_delete_sec_context): set context to GSS_C_NO_CONTEXT
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7915 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-11 23:00:48 +00:00
Assar Westerlund
82c780d64c
(gss_delete_sec_context): handle a NULL output_token
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7825 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-26 00:45:46 +00:00
Assar Westerlund
b6cba3532d
(gss_delete_sec_context): always set `output_token'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7676 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-26 18:31:06 +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
a9315e229f
(gss_delete_sec_context): free ticket
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7002 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-21 05:09:28 +00:00
Johan Danielsson
5a32a5c8e7
Add copyright notice.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2389 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 21:40:05 +00:00
Assar Westerlund
16f56ac4cd
new files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1579 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-04-13 22:18:46 +00:00