Commit Graph

20292 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
70acc59309 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21242 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 11:30:35 +00:00
Love Hörnquist Åstrand
a0320981ed Return an error message instead of dropping the packet for more
failure cases.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21241 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 11:30:19 +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
fa5bc8d344 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21234 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:24:47 +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
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