Commit Graph

20277 Commits

Author SHA1 Message Date
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
3a86d070ac x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21230 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:19:34 +00:00
Love Hörnquist Åstrand
e270dfd78e (AcquirePKInitCreds): fail more gracefully
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21229 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:19:19 +00:00
Love Hörnquist Åstrand
dfad86d1df Add mattiasa, abo, phil and sort
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21228 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:18:03 +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
49a4cd47b8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21226 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:16:13 +00:00
Love Hörnquist Åstrand
7a6904bd9d if no mech have no session, its ok, just don't call it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:16:02 +00:00
Love Hörnquist Åstrand
785dfc3af3 provide prototype for sec_userok().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21224 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:15:13 +00:00
Love Hörnquist Åstrand
6acd69acc8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21223 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:11:37 +00:00
Love Hörnquist Åstrand
07a870bdf1 move ksetpag after initgroups to make it work on Linux when its without syscall hooks to change sys_setgroups preserve the pag. From abo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21222 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:11:14 +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
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