Commit Graph

50 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
3d68343b0e Add file inclusion protection.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18332 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 20:57:15 +00:00
Love Hörnquist Åstrand
c5e66ade21 Move the gssapi.h from lib/gssapi/ to lib/gssapi/gssapi/ to please automake.
Provide wrapper headerfiles that redirects the world to the right place.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18330 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 20:55:43 +00:00
Love Hörnquist Åstrand
294b75a0d6 Add GSS_C flags from draft-brezak-win2k-krb-rc4-hmac-04.txt.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 14:58:47 +00:00
Love Hörnquist Åstrand
400ccc768d add GSS_KRB5_REGISTER_ACCEPTOR_IDENTITY_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-20 02:17:00 +00:00
Love Hörnquist Åstrand
498cd10430 Make gss_name_t an opaque type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-29 07:28:31 +00:00
Love Hörnquist Åstrand
ebb97be4c8 Add gss_set_cred_option
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 14:37:08 +00:00
Love Hörnquist Åstrand
ae97ddf396 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17715 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 14:10:20 +00:00
Love Hörnquist Åstrand
6ee243c6ca Add GSS_KRB5_IMPORT_CRED_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17714 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 14:09:08 +00:00
Love Hörnquist Åstrand
6814e8f515 merge mechglue code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17701 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 09:02:32 +00:00
Love Hörnquist Åstrand
b8fffa2498 Add oid_to_str.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17683 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-22 04:18:38 +00:00
Love Hörnquist Åstrand
5118c90498 Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 11:11:43 +00:00
Love Hörnquist Åstrand
8b53c6c4f2 Change gss_krb5_import_ccache to gss_krb5_import_cred, it can handle keytabs too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16350 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-05 11:52:45 +00:00
Love Hörnquist Åstrand
4084884d71 add gss_krb5_import_ccache, reverse of gss_krb5_copy_ccache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 11:22:13 +00:00
Luke Howard
244ca04320 Remove GSS_C_EXPECTING_MECH_LIST_MIC_FLAG, it is no longer in rfc2478bis
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-21 08:48:15 +00:00
Love Hörnquist Åstrand
274b1f4fd9 add GSS_C_EXPECTING_MECH_LIST_MIC_FLAG
From: Luke Howard <lukeh@padl.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13697 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-07 14:26:15 +00:00
Love Hörnquist Åstrand
2d09789c2f add gss_krb5_get_tkt_flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13541 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-19 14:58:29 +00:00
Love Hörnquist Åstrand
9bc7a44acb add gss_krb5_ccache_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13290 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 19:15:29 +00:00
Love Hörnquist Åstrand
db4289a379 export GSS_SPNEGO_MECHANISM
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12791 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 02:11:21 +00:00
Love Hörnquist Åstrand
41ee26c847 rename gss_krb5_extract_authz_data_from_sec_context to
gsskrb5_extract_authz_data_from_sec_context


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12718 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-01 15:11:09 +00:00
Love Hörnquist Åstrand
4ddc6a08ed (gss_krb5_extract_authz_data_from_sec_context):
return the kerberos authorizationdata, from idea of Luke Howard


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12714 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-31 19:52:16 +00:00
Love Hörnquist Åstrand
466c633f62 add gss_krb5_nt_general_name as an mit compat glue
(same as GSS_KRB5_NT_PRINCIPAL_NAME)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12678 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 02:23:52 +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
57ff36e236 if __cplusplus, wrap the extern variable (just to be safe) and
functions in extern "C" { }


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-06 13:01:06 +00:00
Love Hörnquist Åstrand
41638a2cc6 (gss_krb5_compat_des3_mic): new function, turn on/off des3 mic compat
(GSS_C_KRB5_COMPAT_DES3_MIC): cpp symbol that exists if
gss_krb5_compat_des3_mic exists


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-25 17:08:33 +00:00
Love Hörnquist Åstrand
6619f3f031 (gss_ctx_id_t_desc): store the lifetime in the cred, since there is no
ticket transfered in the exported context


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11736 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-16 17:37:07 +00:00
Love Hörnquist Åstrand
6478937dc1 comment out the argument names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11729 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-16 00:21:58 +00:00
Love Hörnquist Åstrand
e77351eb77 (gss_inquire_context): rename argument open to open_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-03 21:24:29 +00:00
Love Hörnquist Åstrand
aad7d1ae94 (more_flags): add COMPAT_OLD_DES3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11620 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:05:34 +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
124b8bbdea remove config.h, this is an installed header file
sys/types.h is not needed either


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-04 13:52:02 +00:00
Assar Westerlund
bfb733c50e add gss_krb5_copy_ccache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9588 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 00:35:48 +00:00
Assar Westerlund
c348826cfd (GSS_KRB5_CONF_C_QOP_DES, GSS_KRB5_CONF_C_QOP_DES3_KD): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9001 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-27 03:50:57 +00:00
Johan Danielsson
6e38bc02cf fix broken comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-22 11:51:55 +00:00
Assar Westerlund
638ed57272 update OID for GSS_C_NT_HOSTBASED_SERVICE and other details from rfc2744
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8760 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-22 03:45:31 +00:00
Assar Westerlund
44bfd34d75 (gss_mech_krb5): define to be compatible with MIT api
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8758 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-22 03:19:33 +00:00
Assar Westerlund
7d7194da08 code for token delegation. From Daniel Kouril <kouril@ics.muni.cz> and Miroslav Ruda <ruda@ics.muni.cz>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8429 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-21 02:32:38 +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
67ed4be0f1 (gss_ctx_id_t_desc): add ticket in here. ick.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7003 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-21 05:09:51 +00:00
Assar Westerlund
fc4f7b67df (GSS_C_AF_INET6): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6632 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-28 13:36:57 +00:00
Johan Danielsson
b48567eff6 bits.h -> krb5-types.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3396 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-05 18:10:23 +00:00
Assar Westerlund
352f8db830 <sys/types.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3054 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-19 10:10:42 +00:00
Assar Westerlund
f4fc2b0e04 prototype for `gsskrb5_register_acceptor_identity'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3053 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-18 13:14:37 +00:00
Assar Westerlund
ecc45808eb update
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3046 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-17 16:38:33 +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
13a35c734e changed some declarations
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2278 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-14 11:43:08 +00:00
Assar Westerlund
5cdca3a638 lots of includes and HAVE_FOO_H
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2153 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-11 20:26:10 +00:00
Johan Danielsson
a91a0fe3a2 gss_name_t is now void* (since it's impossible to declare it as a
pointer to a type).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1900 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-11 22:06:11 +00:00
Assar Westerlund
057545b3ed netinet/in6_machtypes.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1866 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-08 05:56:10 +00:00
Assar Westerlund
7127465a28 avoid including <krb5.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1801 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-01 14:33:08 +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