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
Love Hörnquist Åstrand
af03eba4a5
free username and password
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19387 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 22:49:13 +00:00
Love Hörnquist Åstrand
0ccb9c8444
(_gss_ntlm_release_name): free name.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19386 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 22:48:13 +00:00
Love Hörnquist Åstrand
7ccd5835db
store username and password in the ntlm_ctx
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19385 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 22:47:31 +00:00
Love Hörnquist Åstrand
d53618b20e
Use the target_name to figure out what username/password to use
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19384 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 22:44:14 +00:00
Love Hörnquist Åstrand
77666a423c
ntlm username and password file
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19383 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 22:42:13 +00:00
Love Hörnquist Åstrand
c3c1fa1aaa
(_gss_ntlm_import_name): add support for GSS_C_NT_HOSTBASED_SERVICE names
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19382 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 22:24:18 +00:00
Love Hörnquist Åstrand
1babec8943
Add ntlm_name.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19381 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 22:23:13 +00:00
Love Hörnquist Åstrand
f9e109b613
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19380 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 21:37:09 +00:00
Love Hörnquist Åstrand
4a924643eb
(fcc_get_cache_next): avoid const warning.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19379 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 21:35:52 +00:00
Love Hörnquist Åstrand
be40e72015
Support NTLM verification, note that the KDC does no NTLM packet
...
parsing, its all done by the client side, the KDC just calculate and
verify the digest and return the result to the service.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19378 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 21:33:26 +00:00
Love Hörnquist Åstrand
30cf3d7d07
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19377 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 21:27:42 +00:00
Love Hörnquist Åstrand
eb71c96ac0
if the user have a kadmin/admin initial ticket, don't ask for
...
password, just use the credential instead.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19376 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 21:27:12 +00:00
Love Hörnquist Åstrand
5703c13dc7
add ntlm-server-init
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19375 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 21:24:20 +00:00
Love Hörnquist Åstrand
d615ca6727
kdigest depends on libheimntlm.la
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19374 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 21:23:05 +00:00
Love Hörnquist Åstrand
ffada79bc7
Include <heimntlm.h>.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19373 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 21:22:19 +00:00
Love Hörnquist Åstrand
4e85483d75
libheimntlm.la needs to be built after libkrb5.la
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19372 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 21:21:05 +00:00
Love Hörnquist Åstrand
95936540f6
libkdc needs libheimntlm.la
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19371 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 21:17:50 +00:00
Love Hörnquist Åstrand
647f758a6d
just run autoreconf -i -f
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19370 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 21:15:45 +00:00
Love Hörnquist Åstrand
73958d8f1e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19369 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 20:19:02 +00:00
Love Hörnquist Åstrand
fddc9395e5
Check that ntlm works.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19368 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 20:18:35 +00:00
Love Hörnquist Åstrand
ef6b5a7236
Make compile.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19367 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 20:12:20 +00:00
Love Hörnquist Åstrand
471b9aabbc
allow testing of ntlm.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19366 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 20:09:19 +00:00
Love Hörnquist Åstrand
8f687061ab
add __gss_ntlm_initialize
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19365 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 20:08:25 +00:00
Love Hörnquist Åstrand
5ba324eae7
(handle_type3): verify that the kdc approved of the ntlm exchange too
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19364 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 20:06:54 +00:00