Commit Graph

151 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
fd3ca527e1 Free memory in failure case, found by beam.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:19:59 +00:00
Love Hörnquist Åstrand
23e434119d Handle mech_type being NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:11:07 +00:00
Love Hörnquist Åstrand
cd23060c10 Handle cred_name being NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:08:24 +00:00
Love Hörnquist Åstrand
0dea8f59be Free memory in error case, found by beam.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:05:26 +00:00
Love Hörnquist Åstrand
bee2a593cd dont keep track of gc_usage, just figure it out at gss_inquire_cred() time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 13:56:49 +00:00
Love Hörnquist Åstrand
3a4c55c9b8 (add_builtin): ok for __gss_mech_initialize() to return NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 13:55:03 +00:00
Love Hörnquist Åstrand
6eb598fa83 reimplement gss_krb5_ccache_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20383 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 08:49:53 +00:00
Love Hörnquist Åstrand
6752696815 (gss_acquire_cred): dont init cred->gc_mc every time in the loop.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20360 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 13:24:01 +00:00
Love Hörnquist Åstrand
bdff5b6032 (gss_krb5_set_allowable_enctypes): use the length of the array passed
in, stop leaking memory, check for error conditions.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:43:50 +00:00
Love Hörnquist Åstrand
0e8f5d1e4b Use right printf formater.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20084 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 12:12:08 +00:00
Love Hörnquist Åstrand
8c10154055 Catch error from underlaying mech on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20053 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-24 01:31:35 +00:00