Commit Graph

162 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
f28083f6b3 Avoid checking mech for now...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23540 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:59:07 +00:00
Love Hörnquist Åstrand
8efac579af Specify lazy loading. From Milosz Kmieciak.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23516 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:32 +00:00
Love Hörnquist Åstrand
6172e895f9 remove allocated_ctx.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23501 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:00 +00:00
Love Hörnquist Åstrand
dddffe995f Delete context on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23500 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:55 +00:00
Love Hörnquist Åstrand
769b160644 Not init m, return never used (overwritten later).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23488 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:33 +00:00
Love Hörnquist Åstrand
b566548643 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:17:49 +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
a3bc3e9fed add krb5_gss_register_acceptor_identity
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:12:11 +00:00
Love Hörnquist Åstrand
795ee939ea Add declspec for Windows
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23025 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-17 10:01:57 +00:00
Love Hörnquist Åstrand
405a435327 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:48 +00:00
Love Hörnquist Åstrand
3673482a9b make the SPNEGO mech store the error itself instead, works for everything except other stackable mechs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22600 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-21 12:46:24 +00:00
Love Hörnquist Åstrand
807e2db542 drop freebsd Makefile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-11 14:19:59 +00:00
Love Hörnquist Åstrand
292c545215 Avoid trying to deref NULL, from Phil Fisher.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 17:31:55 +00:00
Love Hörnquist Åstrand
5fed824f37 its vs it\'s etc. From Bjorn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-14 20:04:50 +00:00
Love Hörnquist Åstrand
40426b1fcd Readd gss_krb5_get_tkt_flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21889 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-09 07:43:24 +00:00
Love Hörnquist Åstrand
7ce367af30 Don't try to do dlopen if system doesn't have dlopen. From Rune of Chalmers.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21698 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-26 19:07:11 +00:00
Love Hörnquist Åstrand
16179acf03 New signature of _gss_find_mn.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:32:32 +00:00
Love Hörnquist Åstrand
5fbee5a6ac New signature of _gss_find_mn.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:32:19 +00:00
Love Hörnquist Åstrand
35650a2700 New signature of _gss_find_mn.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21478 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:32:01 +00:00
Love Hörnquist Åstrand
8f8b6d2a5f New signature of _gss_find_mn.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21477 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:31:44 +00:00
Love Hörnquist Åstrand
dbbf83f269 New signature of _gss_find_mn.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21476 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:31:27 +00:00
Love Hörnquist Åstrand
4d5a754244 New signature of _gss_find_mn.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21475 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:31:03 +00:00
Love Hörnquist Åstrand
1a4d2f7068 New signature of _gss_find_mn.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21474 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:30:23 +00:00
Love Hörnquist Åstrand
10bcbfc468 (_gss_find_mn): Return an error code for caller.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:29:53 +00:00
Love Hörnquist Åstrand
affc1e7f69 Refuse to print GSS_C_NULL_OID, from Rafal Malinowski.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21409 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-04 14:19:11 +00:00
Love Hörnquist Åstrand
ca53ee4e11 If the canned string is "", its no use to the user, make it fall back
to the default error string.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 00:45:13 +00:00
Love Hörnquist Åstrand
b75978e41d Provide message for GSS_S_COMPLETE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 00:37:27 +00:00
Love Hörnquist Åstrand
a853ec97ff make compile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21246 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 15:25:19 +00:00
Love Hörnquist Åstrand
2552204b59 (gss_display_name): no name -> fail. From Rafal Malinswski.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21244 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 15:19:51 +00:00
Love Hörnquist Åstrand
b949891f64 Handle underlaying mech not returning mn.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 11:21:09 +00:00
Love Hörnquist Åstrand
87e1cc559b catch error (and ignore it)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21219 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 08:27:11 +00:00
Love Hörnquist Åstrand
8dbc27dc5a Make copies of the mechname if there is no canonical name. Also don't
clobber the orignal name. From Rafal Malinowski.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21218 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 08:25:10 +00:00
Love Hörnquist Åstrand
c84d4731b3 Only wrap the delegated cred if we got a delegated mech cred.
From Rafal Malinowski.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 03:30:45 +00:00