Commit Graph

18629 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
edfb0d4719 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19437 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 12:12:59 +00:00
Love Hörnquist Åstrand
a9e71ed195 don't need to set GSSAPI_SPNEGO_NAME any longer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19436 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 12:11:05 +00:00
Love Hörnquist Åstrand
3c9d3266f4 try using gss_accept_sec_context() on the opportunistic token instead
of guessing the acceptor name and do gss_acquire_cred, this make
SPNEGO work like before.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19435 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 12:10:35 +00:00
Love Hörnquist Åstrand
f220c91612 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 22:51:20 +00:00
Love Hörnquist Åstrand
e94890aa89 Define GSSAPI_SPNEGO_NAME and re-add spnego
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 22:50:24 +00:00
Love Hörnquist Åstrand
489a126759 disable spnego test for now
k


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 22:12:41 +00:00
Love Hörnquist Åstrand
122bcfed89 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 22:00:08 +00:00
Love Hörnquist Åstrand
cd91aac791 add trap, remove allow-digest, pretty print.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19430 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 21:59:42 +00:00
Love Hörnquist Åstrand
f8e3335b47 add back default_keytab_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19429 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 21:54:59 +00:00
Love Hörnquist Åstrand
7b5c72619d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19428 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 21:41:04 +00:00
Love Hörnquist Åstrand
7952a0471c catch EXIT traps
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19427 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 21:40:27 +00:00
Love Hörnquist Åstrand
d90516957a turn off dns, enable digest, generate all keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 21:37:20 +00:00
Love Hörnquist Åstrand
76160f2497 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 21:24:02 +00:00
Love Hörnquist Åstrand
450f635e88 Calculate the NTLM version 1 "master" key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 21:23:24 +00:00
Love Hörnquist Åstrand
276d560deb (heim_ntlm_build_ntlm1_master): calculate the ntlm version 1 "master" key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19423 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 21:22:09 +00:00
Love Hörnquist Åstrand
f280e31a6b Unwrap the NTLM session key and return it to the server.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19422 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 21:19:47 +00:00
Love Hörnquist Åstrand
20e973fda2 Resurect negHints for the acceptor sends first packet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19421 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 18:50:15 +00:00
Love Hörnquist Åstrand
a11517a4d9 Add "windows" versions of the NegTokenInitWin and friends.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19420 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 18:28:49 +00:00
Love Hörnquist Åstrand
d2946a3c8e add --wrapunwrap flag
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19419 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 18:07:15 +00:00
Love Hörnquist Åstrand
0baf465a7c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19418 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 18:04:33 +00:00
Love Hörnquist Åstrand
89a05cc5da test more combination of spnego contexts
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19417 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 18:03:27 +00:00
Love Hörnquist Åstrand
3ac5851185 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19416 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 17:52:48 +00:00
Love Hörnquist Åstrand
6a8647e1c6 move _gss_spnego_indicate_mechtypelist() to compat.c, use the sequence
types of MechTypeList, make add_mech_type() static.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19415 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 17:52:26 +00:00
Love Hörnquist Åstrand
acccf21ce2 move _gss_spnego_indicate_mechtypelist() to compat.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19414 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 17:51:13 +00:00
Love Hörnquist Åstrand
2ce12d8caa Generate sequence code for MechTypeList
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19413 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 17:19:53 +00:00
Love Hörnquist Åstrand
e0585ffc8d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19412 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 15:42:27 +00:00
Love Hörnquist Åstrand
363515e856 check that the generated acceptor mechlist is acceptable too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19411 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 15:42:03 +00:00
Love Hörnquist Åstrand
826acbd391 Abstract out the initiator filter function, it will be needed for the
acceptor too.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19410 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 15:00:19 +00:00
Love Hörnquist Åstrand
c11cc5fd1b Abstract out the initiator filter function, it will be needed for the
acceptor too. Remove negHints.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19409 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 15:00:03 +00:00
Love Hörnquist Åstrand
33260e362f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19408 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 13:15:30 +00:00
Love Hörnquist Åstrand
dcdaf46f23 less bash in the automated version.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19407 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 13:14:08 +00:00
Love Hörnquist Åstrand
7a8432db0d ntlm username/password file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19406 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 13:12:44 +00:00
Love Hörnquist Åstrand
2e19f1870d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19405 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 13:06:07 +00:00
Love Hörnquist Åstrand
b11bcf4bee add check-spnego
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 13:06:00 +00:00
Love Hörnquist Åstrand
a831db29b4 check spnego combinations.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19403 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 13:05:26 +00:00
Love Hörnquist Åstrand
22d5c1f397 allow asserting return mech
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19402 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 13:04:53 +00:00
Love Hörnquist Åstrand
ba22a47a93 add _gss_ntlm_allocate_ctx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19401 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 13:04:07 +00:00
Love Hörnquist Åstrand
fd0d5b4e0f Check that the KDC seem to there and answering us, we can't do better
then that wen checking if we will accept the credential.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19400 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 13:03:45 +00:00
Love Hörnquist Åstrand
ae966fe266 return GSS_S_UNAVAILABLE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19399 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 13:02:25 +00:00
Love Hörnquist Åstrand
02620cbb4e add _gss_free_oid, reverse of _gss_copy_oid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 13:01:40 +00:00
Love Hörnquist Åstrand
62270350bc try harder to handle names better. handle missing acceptor and initator creds better (ie dont propose/accept mech that there are no credentials for) split NegTokenInit and NegTokenResp in acceptor
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19397 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 12:59:50 +00:00
Love Hörnquist Åstrand
471a5b53bb Its very sad, but NegHints its are not part of the NegTokenInit, this
makes SPNEGO acceptor life a lot harder.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19396 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 12:56:30 +00:00
Love Hörnquist Åstrand
38434e8f3c update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19395 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-17 22:53:39 +00:00
Love Hörnquist Åstrand
782482710f (krb5_ret_principal): Fix a bug in the malloc failure part, noticed by
Arnaud Lacombe in NetBSD coverity scan.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19394 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-17 22:49:37 +00:00
Love Hörnquist Åstrand
846ad516e0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19393 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-16 08:32:18 +00:00
Love Hörnquist Åstrand
b51a41e7d1 Allocate the buffer from the right length.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19392 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-16 08:31:47 +00:00
Love Hörnquist Åstrand
19c390a027 less bash in the test script
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19391 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 23:03:37 +00:00
Love Hörnquist Åstrand
9f3d48b8c1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19390 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 23:03:01 +00:00
Love Hörnquist Åstrand
27e4d94eb2 test more combinations of names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19389 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 23:02:32 +00:00
Love Hörnquist Åstrand
7e1c31e8c2 (init_sec_context): Tell the other side what domain we think we are
talking to.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19388 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 22:50:58 +00:00