Commit Graph

11291 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
5db583358c Verify hostname and test max-depth.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21274 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:47:55 +00:00
Love Hörnquist Åstrand
c921b79093 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:27:53 +00:00
Love Hörnquist Åstrand
58ecb90252 Test --id-by-name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:27:34 +00:00
Love Hörnquist Åstrand
6ef8b2861b Adapt to hx509_verify_hostname change.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:26:50 +00:00
Love Hörnquist Åstrand
a3fec27a13 add cms-create-sd --id-by-name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:25:28 +00:00
Love Hörnquist Åstrand
1624d81f5f Use HX509_CMS_SIGATURE_ID_NAME.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:24:53 +00:00
Love Hörnquist Åstrand
bff0a5c11c Implement and use HX509_CMS_SIGATURE_ID_NAME.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:24:20 +00:00
Love Hörnquist Åstrand
0a6bc4b22c Add HX509_CMS_SIGATURE_ID_NAME, use subject name for CMS.Identifier.
hx509_hostname_type: add hostname type for matching.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:21:00 +00:00
Love Hörnquist Åstrand
0d64623642 (match_general_name): more strict rfc822Name matching.
(hx509_verify_hostname): add hostname type for matching.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:20:11 +00:00
Love Hörnquist Åstrand
0a31115937 Document krb5_parse_nametype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 04:36:31 +00:00
Love Hörnquist Åstrand
bcbae1850b (krb5_parse_nametype): parse nametype and return their integer values.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 04:30:06 +00:00
Love Hörnquist Åstrand
d5bb7a7c56 (krb5_get_creds): if KRB5_GC_CONSTRAINED_DELEGATION is set, set both
request_anonymous and constrained_delegation.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21253 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 04:24:24 +00:00
Love Hörnquist Åstrand
42bf4117ad Add KRB5_GC_CONSTRAINED_DELEGATION.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21252 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 04:18:28 +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
7eb8395d12 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21233 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:23:45 +00:00
Love Hörnquist Åstrand
f2f87ddcd9 Add KRB5_PRINCIPAL_UNPARSE_DISPLAY.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21232 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:23:26 +00:00
Love Hörnquist Åstrand
c113e9b069 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21231 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:21:00 +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
70514266aa fix symbol name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 07:23:55 +00:00
Love Hörnquist Åstrand
c5a4f68c38 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21210 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 07:01:54 +00:00
Love Hörnquist Åstrand
e37759c4b1 Catch return value from krb5_program_setup. From Steven Luo.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21209 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 07:01:27 +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
f24894d375 drop _resp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:59:58 +00:00
Love Hörnquist Åstrand
035515bc3c drop _resp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21204 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:59:46 +00:00
Love Hörnquist Åstrand
44d8a6bf59 heim_ntlm_calculate_ntlm2_sess_resp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:59:28 +00:00
Love Hörnquist Åstrand
91b95fb049 Change prototype to match other heim_ntlm_calculate functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21202 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:59:09 +00:00
Love Hörnquist Åstrand
f41e6c93f8 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:27:40 +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
f3bdc8ab1e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:11:00 +00:00
Love Hörnquist Åstrand
b0b726ed0f Default to fortuna due to weired /dev/*random that failes to deliver
random data for us in hi load situations.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:10:41 +00:00
Love Hörnquist Åstrand
e2e4e947a5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:09:32 +00:00