Commit Graph

20265 Commits

Author SHA1 Message Date
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
e9d4e2dbf0 0.9pre
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 07:11:22 +00:00
Love Hörnquist Åstrand
16c403d9e3 0.9rc1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21212 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 07:04:58 +00:00
Love Hörnquist Åstrand
9bc2f16a61 0.9pre
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 07:03:31 +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
7a5c93b9e9 0.9rc1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 06:52:29 +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
26118ef731 move down rk_WFLAGS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21184 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 03:07:39 +00:00
Love Hörnquist Åstrand
4804d48986 Add --enable-developer and make it cause -Werror to be included.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 03:07:07 +00:00
Love Hörnquist Åstrand
fb298ce049 remove newline.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21182 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 02:57:13 +00:00
Love Hörnquist Åstrand
4b3ea33a6a Factor out fetching of password and move it to the code that uses
it. This code would not hurt by factoring out some more code...


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 20:52:29 +00:00
Love Hörnquist Åstrand
5c4742d6d6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21180 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 15:16:56 +00:00
Love Hörnquist Åstrand
f2822370c3 If not root and not setuid, print warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21179 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 15:16:41 +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
Love Hörnquist Åstrand
cc6c68ffac Windows likes little endian, so lets use that.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 10:10:58 +00:00
Love Hörnquist Åstrand
6f8241782d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 05:17:55 +00:00
Love Hörnquist Åstrand
50e2be787d Unify parse_oid code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21172 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 05:09:37 +00:00
Love Hörnquist Åstrand
a79415dc15 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 00:22:32 +00:00
Love Hörnquist Åstrand
a3f2a611d8 Also print NULL:
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 00:16:14 +00:00
Love Hörnquist Åstrand
4149100c58 test --content-type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 00:11:53 +00:00