Commit Graph

1563 Commits

Author SHA1 Message Date
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
05e5153afc Make compile again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21461 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 14:01:13 +00:00
Love Hörnquist Åstrand
db04084fb8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21460 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 13:23:26 +00:00
Love Hörnquist Åstrand
f3842471ec remove checks that are done by the previous function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21459 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 13:23:14 +00:00
Love Hörnquist Åstrand
968a897948 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21439 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:42:15 +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
0ce0d6e947 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21410 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-04 14:22:48 +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
993d0000e4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-04 08:13:25 +00:00
Love Hörnquist Åstrand
3f6884c4c5 Indent and make NegTokenInit and NegTokenResp extendable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21403 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-04 08:13:12 +00:00
Love Hörnquist Åstrand
ede8c7eeb4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21251 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 01:28:00 +00:00
Love Hörnquist Åstrand
e465a6a1ef Implement _gss_ntlm_inquire_cred.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21250 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 01:27:46 +00:00
Love Hörnquist Åstrand
b46d2bc9ce x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21249 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 00:45:54 +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
935e4b8bc1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 15:20:09 +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
64b2fd7e72 Wrap name in a spnego_name instead of just a copy of the underlaying object.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21243 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 15:16:22 +00:00
Love Hörnquist Åstrand
19ea24e3f3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21240 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 11:23:28 +00:00
Love Hörnquist Åstrand
c68e3696e2 Handle underlaying mech not returning mn.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21239 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 11:23:13 +00:00
Love Hörnquist Åstrand
ec665dc470 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21238 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 11:21:24 +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
45ee6d2449 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 11:15:48 +00:00
Love Hörnquist Åstrand
a5f538fae9 Make sure src_name is always set to GSS_C_NO_NAME when returning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21235 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 11:10:33 +00:00
Love Hörnquist Åstrand
69de6cd229 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21227 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:16:41 +00:00
Love Hörnquist Åstrand
717464b9fa (acquire_acceptor_cred): don't claim everything is well on failure.
From Phil Fisher.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21221 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 08:42:10 +00:00
Love Hörnquist Åstrand
2fb7dea295 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21220 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 08:27:22 +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
e95f7ab196 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21207 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 06:02:00 +00:00
Love Hörnquist Åstrand
8b203992a0 Use heim_ntlm_calculate_ntlm2_sess.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21206 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 06:01:48 +00:00
Love Hörnquist Åstrand
93c6ed3107 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:27:07 +00:00
Love Hörnquist Åstrand
5013f6cbb5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 03:31:26 +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
79f9985a9c Only wrap the delegated cred if we are going to return it to the consumer.
From Rafal Malinowski.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 03:29:02 +00:00
Love Hörnquist Åstrand
b3d275ac40 Fixed memory leak pointed out by Rafal Malinowski, also while here
moved to use NegotiationToken for decoding.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 03:23:49 +00:00
Love Hörnquist Åstrand
3a5f005244 (_gsskrb5_pseudo_random): add missing break.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:28:44 +00:00
Love Hörnquist Åstrand
c0661b67f2 Set *minor_status unconditionallty, its done later anyway.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:26:50 +00:00
Love Hörnquist Åstrand
ab8094ae4c Init get_mic to 0.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:23:14 +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
811bb58fb6 Use ctx->gssflags for flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21079 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 00:25:25 +00:00
Love Hörnquist Åstrand
4ec842b540 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 22:46:32 +00:00
Love Hörnquist Åstrand
a8699b8454 Use KRB5_PRINCIPAL_UNPARSE_DISPLAY, this is not ment for machine consumption.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21077 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 22:42:56 +00:00
Love Hörnquist Åstrand
90c8aa259d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21038 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 15:39:20 +00:00
Love Hörnquist Åstrand
8911675d8e (kdc_alloc): free memory on failure, pointed out by Rafal Malinowski.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21037 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 15:39:05 +00:00
Love Hörnquist Åstrand
b98022f088 (kdc_destroy): free context when done, pointed out by Rafal Malinowski.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21036 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 15:35:28 +00:00