Commit Graph

136 Commits

Author SHA1 Message Date
Love Hornquist Astrand 07f0c8be5d Clean better 2009-08-06 10:18:52 +02:00
Love Hornquist Astrand 3cebc3767f add more test to test_acquire_cred that removes the need of test_init_creds.c 2009-08-03 13:05:36 +02:00
Love Hornquist Astrand fa502c6648 Add support for gss_{import,export}_cred() as requested by metze
Works for krb5 and SPNEGO mechanisms. Kerberos credentials are passed as
credential cache names, or if there are memory based credentials, inband in the protocol. This means that the credentials buffers must be keep secret.

As documented by IBM (they have the wrong prototype though)
and GGF (GSS-API Extensions) back in 2001
2009-07-29 13:36:02 +02:00
Love Hornquist Astrand 517be51cc5 Test init_sec_context using keytab based credentials
Based on problem description from Rick Macklem in [HEIMDAL-197],
problem still not fixed.
2009-07-17 15:57:45 -07:00
Love Hörnquist Åstrand 012eae7f34 rename gssapi/ntlm/digest.c to kdc.c since that is what its talking too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25292 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-03 03:16:21 +00:00
Love Hörnquist Åstrand f93dd564c3 fix depencies for asn1 headers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-03 17:25:58 +00:00
Love Hörnquist Åstrand a158e74fc4 add depencies for asn1 headers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-03 17:25:48 +00:00
Love Hörnquist Åstrand f030017f6f add store-cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24931 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:34:58 +00:00
Love Hörnquist Åstrand 61b8032de0 add store_cred.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:24:57 +00:00
Love Hörnquist Åstrand 184c439426 makefile fixes from Martin von Gagern
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:29:17 +00:00
Love Hörnquist Åstrand 7963ca660e rop krb5/v1.c, no longer used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24747 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:12:22 +00:00
Love Hörnquist Åstrand 12bdf0f4af doxygen.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24723 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 18:36:07 +00:00
Love Hörnquist Åstrand 3f0297560f add gssapi/gssapi_ntlm.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24540 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:46:31 +00:00
Love Hörnquist Åstrand e37c6c023b add ntlm to includedir
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 20:49:33 +00:00
Love Hörnquist Åstrand 55b27d05f4 drop libngssapi.la
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24464 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:48:20 +00:00
Love Hörnquist Åstrand ba03f2c8b8 add dependency on opt file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24441 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:44:37 +00:00
Love Hörnquist Åstrand 61a375638c flatten world, use --option-file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24375 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:33:49 +00:00
Love Hörnquist Åstrand 7f6d448621 implement the new gss_*_iov interfaces
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24055 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:49:37 +00:00
Love Hörnquist Åstrand b994e453e8 provide convenice lib
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 02:59:17 +00:00
Love Hörnquist Åstrand 7fe1196c96 finish support for libintl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:13:13 +00:00
Love Hörnquist Åstrand c130ec0a6a add missing \
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-26 15:09:34 +00:00
Love Hörnquist Åstrand 82ece7c43d reshuffle depenencies
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-26 12:51:46 +00:00
Love Hörnquist Åstrand 2a28b81eab Add mech/mech.5 and move stuff around.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22399 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-11 14:25:47 +00:00
Love Hörnquist Åstrand 0ab26a5e29 New library version.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21438 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:42:04 +00:00
Love Hörnquist Åstrand 9df9f6a9da revert 21003
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 01:53:10 +00:00
Love Hörnquist Åstrand 12df8538af use "roken.h" consitantly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 01:42:05 +00:00
Love Hörnquist Åstrand b2684d8ed2 Drop the gss oid_set function for the krb5 mech, use the mech glue
versions instead. Pointed out by Rafal Malinowski.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20687 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-17 18:42:30 +00:00
Love Hörnquist Åstrand 4a0ac505c8 add ntlm/digest.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20580 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 00:18:30 +00:00
Love Hörnquist Åstrand 891ec46e8e Add version-script.map to EXTRA_DIST.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20474 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 15:14:45 +00:00
Love Hörnquist Åstrand 7ba2b2006c rename des to hcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +00:00
Love Hörnquist Åstrand 7c06e5dd3c Unconfuse newer versions of automake that doesn't know the diffrence
between depenences and setting variables. foo: vs foo=.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20448 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-19 18:29:19 +00:00
Love Hörnquist Åstrand e52db253f9 libgssapi_la_OBJECTS depends on version-script.map
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-19 15:43:03 +00:00
Love Hörnquist Åstrand e256ec63d5 add version script if ld supports it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20412 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-19 05:34:28 +00:00
Love Hörnquist Åstrand 4cb6561bb8 test_acquire_cred need test_common.[ch]
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20388 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 08:53:16 +00:00
Love Hörnquist Åstrand f836885614 add test_common.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20346 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 18:57:11 +00:00
Love Hörnquist Åstrand 9ceb72abd5 split out the error printing function and try to return better errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20075 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 06:05:19 +00:00
Love Hörnquist Åstrand 919f9f5dba Add krb5/prf.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20052 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-24 01:30:44 +00:00
Love Hörnquist Åstrand 8bc87cd02f Add mech/gss_pseudo_random.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20047 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-23 23:47:46 +00:00
Love Hörnquist Åstrand 0a66d3e486 use LIBADD_roken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 18:45:03 +00:00
Love Hörnquist Åstrand b6d9890960 update version number and remove depenency on libvers for libraries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 17:30:31 +00:00
Love Hörnquist Åstrand fab851c067 mechsrc += mech/context.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19930 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 12:30:12 +00:00
Love Hörnquist Åstrand b1e2db09df fix name of krb5-gss private header
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19694 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 14:13:16 +00:00
Love Hörnquist Åstrand a41368a46c Include build (private) prototypes header files.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19693 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 14:06:35 +00:00
Love Hörnquist Åstrand 6c800c5ae7 (ntlmsrc): add ntlm/ntlm-private.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 23:39:59 +00:00
Love Hörnquist Åstrand 02e6aa25a4 remove ntlm/{,un}wrap.c, move functions to ntlm/crypto.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19453 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 16:09:28 +00:00
Love Hörnquist Åstrand 70be8c4637 revert previous that was done to krb5 mech and do it for ntlm instead.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19447 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 15:38:59 +00:00
Love Hörnquist Åstrand 7a7d056ee3 Move get and verify mic to the same file (crypto.c) since they share code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19440 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 15:32:26 +00:00
Love Hörnquist Åstrand a11517a4d9 Add "windows" versions of the NegTokenInitWin and friends.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19420 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 18:28:49 +00:00
Love Hörnquist Åstrand 2ce12d8caa Generate sequence code for MechTypeList
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19413 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 17:19:53 +00:00
Love Hörnquist Åstrand 76a9750323 Add ntlm gss-api module.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19358 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 19:46:55 +00:00