Commit Graph

195 Commits

Author SHA1 Message Date
Love Hornquist Astrand
901bac07e8 Don't need to look check *input_name twice [CID-27]. 2009-07-30 14:00:48 +02:00
Love Hornquist Astrand
08256017e4 Don't dereference input_name [CID-27]. 2009-07-30 13:59:42 +02:00
Love Hornquist Astrand
896391a56b Double free of sp on empty list of creds [CID-183] 2009-07-30 07:46:37 +02:00
Love Hornquist Astrand
9581e59bde FORWARD_NULL fixes [CID-163] and friends 2009-07-30 07:36:03 +02:00
Love Hornquist Astrand
b9644d7060 Test on wrong variable 2009-07-30 07:30:27 +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 Hörnquist Åstrand
9807194527 check for NULL pointer not no NULL pointer...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25321 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-08 00:07:05 +00: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
61a2a0fe7a set right return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:20:50 +00:00
Love Hörnquist Åstrand
b9455d54f4 set right return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:20:36 +00:00
Love Hörnquist Åstrand
c9d5eca012 only set ret flags i we have them
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:04:26 +00:00
Love Hörnquist Åstrand
e5b52d6b32 need output_cred_handle, don't pretend
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:04:15 +00:00
Love Hörnquist Åstrand
7a0d147681 fix name forms link
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 20:28:35 +00:00
Love Hörnquist Åstrand
e2bec18571 checker warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24921 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:23:44 +00:00
Love Hörnquist Åstrand
8c393278a3 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24920 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:23:32 +00:00
Love Hörnquist Åstrand
6d0f8eab1d make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:23:20 +00:00
Love Hörnquist Åstrand
43ce9bdc01 first draft of gss_store_cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24906 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:21:08 +00:00
Love Hörnquist Åstrand
266ee65d10 more on main page
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24791 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:27:37 +00:00
Love Hörnquist Åstrand
5fd1a86dd9 some gssapi bits
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:27:28 +00:00
Love Hörnquist Åstrand
0db289777b name forms
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:27:18 +00:00
Love Hörnquist Åstrand
72dcbd8bbe add stub for internalVSmechname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:27:08 +00:00
Love Hörnquist Åstrand
27aba501c9 doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:26:58 +00:00
Love Hörnquist Åstrand
e09576af2f zero out conf_state
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:26:16 +00:00
Love Hörnquist Åstrand
4c5861c667 add conf_state to iov_length
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:24:25 +00:00
Love Hörnquist Åstrand
77074adfbb move gss_context_stream_sizes to gssapi.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24742 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:11:30 +00:00
Love Hörnquist Åstrand
6cb29385b8 doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24728 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 18:36:56 +00:00
Love Hörnquist Åstrand
f20b6f093d some more bits of gss_context_query_attributes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24727 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 18:36:46 +00:00
Love Hörnquist Åstrand
377420ab8e add gss_context_query_attributes()
doxygen

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 18:36:36 +00:00
Love Hörnquist Åstrand
838d7f6757 doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24722 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 18:35:58 +00:00
Love Hörnquist Åstrand
16a188c227 compile warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 18:35:26 +00:00
Love Hörnquist Åstrand
65f3ad1cbe Switch arguments.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24715 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 18:34:46 +00:00
Love Hörnquist Åstrand
ea4bb739c5 include ntlm module
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24483 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 20:50:05 +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
b323af1a4a check that ctx is not a null ptr before deref cid#130
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:02:01 +00:00
Love Hörnquist Åstrand
45b17f2891 check that ctx is not a null ptr before deref cid#131
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:01:51 +00:00
Love Hörnquist Åstrand
c90f113531 check that ctx is not a null ptr before deref cid#132
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:01:41 +00:00
Love Hörnquist Åstrand
89632983d3 check that ctx is not a null ptr before deref cid#133
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24111 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:01:30 +00:00
Love Hörnquist Åstrand
92896a8aab check that ctx is not a null ptr before deref cid#140
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:01:20 +00:00
Love Hörnquist Åstrand
2edb783bf7 check NULL pointer before use, cid#137, 136, 135
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24097 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:59:08 +00:00
Love Hörnquist Åstrand
63d1d155f2 switch from unsigned int to int for iov_count
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24083 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:55:56 +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
dc5e4b8033 try handle gss_import_name() better, its not really perfect, its breaks spengo inquire_names_for_mech, but that less common....
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-12 04:18:15 +00:00
Love Hörnquist Åstrand
a002d9be31 heimdal smaller includes no ntlm, again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23972 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:23:34 +00:00
Love Hörnquist Åstrand
6571f41a67 heimdal smaller includes no ntlm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:23:22 +00:00
Love Hörnquist Åstrand
c4ed8e9588 point to msft documentation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-08 16:14:41 +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
f7090285fd make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23700 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-27 11:14:09 +00:00
Love Hörnquist Åstrand
541c7a5d2b allow registration of krb5_plugins though the gss-api layer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23698 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-27 11:13:48 +00:00
Love Hörnquist Åstrand
f27b97c10b As long as we got one kerberos cred, be happy with the first one.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23545 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:00:10 +00:00