Commit Graph

11125 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
124f90e3dc Reseed the random generator now and then from external sources.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:08:58 +00:00
Love Hörnquist Åstrand
ab41f4906d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:05:34 +00:00
Love Hörnquist Åstrand
8cf8d6f08d Its ok if infotarget2 length is longer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:05:15 +00:00
Love Hörnquist Åstrand
9d57ac6b37 Merge in changes from Puneet Mehra and make work again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21193 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:04:36 +00:00
Love Hörnquist Åstrand
d65998b43d (heim_ntlm_ntlmv2_key): target should be uppercase.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21192 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 04:16:54 +00:00
Love Hörnquist Åstrand
817462ba31 Add heim_ntlm_calculate_ntlm2_sess_resp from Puneet Mehra.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21191 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 04:09:10 +00:00
Love Hörnquist Åstrand
b07e515ab9 Test heim_ntlm_calculate_ntlm2_sess_resp from Puneet Mehra.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21190 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 04:08:53 +00:00
Love Hörnquist Åstrand
c2362aa0b5 Test heim_ntlm_calculate_ntlm2_sess_resp from Puneet Mehra.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 04:08:39 +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
8781770e97 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21178 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 14:54:21 +00:00
Love Hörnquist Åstrand
401141607b Make compile again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21177 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 14:53:20 +00:00
Love Hörnquist Åstrand
e4763c806f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 14:08:49 +00:00
Love Hörnquist Åstrand
5e0b8a125f Added peap-server for to make windows peap clients happy.
k


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 14:08:36 +00:00