Commit Graph

560 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand 3696701e1d (gss_export_name): export name with GSS_C_NT_EXPORT_NAME wrapping, not
just the principal


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11735 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-16 17:34:46 +00:00
Love Hörnquist Åstrand b310e96168 (import_export_name): new function, parses a GSS_C_NT_EXPORT_NAME
(import_krb5_name): factor out common code of parsing krb5 name
(gss_oid_equal): rename from oid_equal


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11732 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-16 17:33:31 +00:00
Love Hörnquist Åstrand f5f5c968b6 add prototypes for gss_oid_equal and gss_verify_mic_internal
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11730 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-16 17:30:15 +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 d07a4e985d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11727 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-15 14:15:44 +00:00
Love Hörnquist Åstrand edc384a6bf add LIST OF FUNCTIONS and copyright/license
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-15 14:15:21 +00:00
Love Hörnquist Åstrand 53e541b2e8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11723 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-14 23:06:53 +00:00
Love Hörnquist Åstrand 84c3631ad3 s/gss_aquire_cred.3/gss_acquire_cred.3/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11722 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-14 23:06:36 +00:00
Love Hörnquist Åstrand d500b98d5c rename
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-14 23:06:12 +00:00
Love Hörnquist Åstrand 275d573c9b man_MANS += gss_aquire_cred.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11720 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-14 23:03:08 +00:00
Love Hörnquist Åstrand 1283310ee3 the gssapi api manpage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-14 16:42:19 +00:00
Love Hörnquist Åstrand 14cda004d5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11675 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-03 21:52:29 +00:00
Love Hörnquist Åstrand c569bd9ebb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11674 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-03 21:44:20 +00:00
Love Hörnquist Åstrand 4c580ecbd3 (gss_inquire_context): rename argument open to open_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11673 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-03 21:41:33 +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 3f7c1e20ef x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-27 20:20:21 +00:00
Love Hörnquist Åstrand f8234428f5 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-27 20:18:26 +00:00
Love Hörnquist Åstrand c448764976 (do_delegation): remove unused variable subkey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11669 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-27 20:18:12 +00:00
Love Hörnquist Åstrand ffa7d25ad9 all 0.5.x version had broken token delegation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11668 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-27 17:40:13 +00:00
Love Hörnquist Åstrand 1dd7676914 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11658 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-21 03:08:34 +00:00
Love Hörnquist Åstrand 797b1db76b (init_auth): only generate one subkey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-21 03:05:37 +00:00
Love Hörnquist Åstrand 9d338944d0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-21 02:57:55 +00:00
Love Hörnquist Åstrand cb07c3282d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:12:45 +00:00
Love Hörnquist Åstrand 1be5e6bcc6 (verify_mic_des3): fix 3des verify_mic to conform to rfc (and mit
kerberos), provide backward compat hook


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11624 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:12:15 +00:00
Love Hörnquist Åstrand dc2b3cf973 (mic_des3): fix 3des get_mic to conform to rfc (and mit kerberos),
provide backward compat hook


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11623 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:11:16 +00:00
Love Hörnquist Åstrand cd32525e84 (init_auth): check if we need compat for older get_mic/verify_mic
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11622 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:07:56 +00:00
Love Hörnquist Åstrand 34b7a87f0e add prototype for _gss_DES3_get_mic_compat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11621 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:06:48 +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
Love Hörnquist Åstrand e35ea0a2ce add gssapi.3 and compat.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11619 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:04:54 +00:00
Love Hörnquist Åstrand 0897487f98 add gssapi COMPATIBILITY documentation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11618 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:04:27 +00:00
Love Hörnquist Åstrand f9ab95a942 (gss_accept_sec_context): check if we need compat for older get_mic/verify_mic
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:03:29 +00:00
Love Hörnquist Åstrand 73330ee3e2 check for compatiblity with other heimdal's 3des get_mic/verify_mic
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:02:26 +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
Johan Danielsson 2f7a5f8aae x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11533 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-31 16:06:29 +00:00
Johan Danielsson c70d871a1b (gssapi_krb5_verify_8003_checksum): check size of input
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11532 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-31 14:38:49 +00:00
Johan Danielsson 85a29ba5c7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11346 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-03 17:35:15 +00:00
Johan Danielsson c8b11213da (wrap_des3): use ETYPE_DES3_CBC_NONE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11345 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-03 17:33:36 +00:00
Johan Danielsson b553209764 (unwrap_des3): use ETYPE_DES3_CBC_NONE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11344 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-03 17:33:11 +00:00
Johan Danielsson 90a6ce1725 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11334 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 17:16:27 +00:00
Johan Danielsson 9ff457f2fd we need to generate a local subkey here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11333 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 17:16:12 +00:00
Johan Danielsson 12a60da9a1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 15:37:28 +00:00
Johan Danielsson 1473f2521c (init_auth): set AP_OPTS_USE_SUBKEY
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 15:37:16 +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
Jacques A. Vidrine 0ca28ed8e8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11041 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-06-20 20:05:53 +00:00
Jacques A. Vidrine 650d3ee7b7 Compare name types by value if pointers do
not match.  Reported by: "Douglas E. Engert" <deengert@anl.gov>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11040 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-06-20 20:05:42 +00:00
Jacques A. Vidrine d1fe1746b9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11018 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-20 15:14:12 +00:00
Jacques A. Vidrine 5d8e2e5a3c In gss_verify_mic and gss_unwrap, initialize the qop_state parameter
if non-NULL.  We do this prior to calling the encryption-system specific
functions in case some day they set qop_state.

Doug Rabson <dfr@nlsystems.com> encountered this bug while working on
RPCSEC_GSS code from UMich's NFSv4 project.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11015 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-20 15:14:00 +00:00
Jacques A. Vidrine 8af82a7685 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-09 15:22:43 +00:00
Jacques A. Vidrine 9efd74fabe Attempt to handle GSS_C_INITIATE/GSS_C_ACCEPT/GSS_C_BOTH.
If GSS_C_INITIATE is specified, then get credentials from the
default cache.  If we don't have any, then try using the keytab.
If GSS_C_ACCEPT is specified, just note our principal name and
open the keytab.
If GSS_C_BOTH is specified, do both of the above.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10978 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-09 15:22:34 +00:00
Jacques A. Vidrine bd0eb5373f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-09 01:42:42 +00:00