Commit Graph

1477 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
a9a96e407e Add gsskrb5_[gs]et_time_offset
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23484 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:12 +00:00
Love Hörnquist Åstrand
04b69a4a76 add GSS_C_DELEG_POLICY_FLAG
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23482 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:01 +00:00
Love Hörnquist Åstrand
c69717db61 If we used GSS_C_DELEG_POLICY_FLAG, trust KDC, still trust realm configuration.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23481 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:57:56 +00:00
Love Hörnquist Åstrand
7a77c27995 add GSS_C_DELEG_POLICY_FLAG = 32768
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:57:44 +00:00
Love Hörnquist Åstrand
b566548643 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:17:49 +00:00
Love Hörnquist Åstrand
96641812d5 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:17:35 +00:00
Love Hörnquist Åstrand
6fcc601db9 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23435 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 20:49:35 +00:00
Love Hörnquist Åstrand
f9dc9da0a9 No reply in non-MUTUAL mode, but we don't know that its non-MUTUAL
mode yet, thats inside the 8003 checksum.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:44:26 +00:00
Love Hörnquist Åstrand
d847a7a67f Reset minor_status to 0.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:41:36 +00:00
Love Hörnquist Åstrand
9ca267f328 Always return GSS_S_CONTINUE_NEEDED, pointed out from Metze.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23430 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:41:16 +00:00
Love Hörnquist Åstrand
a826abbbbc check max looops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:39:39 +00:00
Love Hörnquist Åstrand
e0168633ea Break on failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23422 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:38:29 +00:00
Love Hörnquist Åstrand
39fe446983 Support parsing KRB-ERROR passed back from windows server when the time is out of sync, modify krb5_cc_[sg]et_config interface to handle principals too, add tests for this
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23420 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:37:48 +00:00
Love Hörnquist Åstrand
82570534fc pass extra argument to krb5_cc_[gs]et_config.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23419 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:37:07 +00:00
Love Hörnquist Åstrand
77e2e6d550 restore username parsing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23408 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:32:47 +00:00
Love Hörnquist Åstrand
ef1b20b339 check for creds
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23405 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:30:56 +00:00
Love Hörnquist Åstrand
d4d7d06749 realm-config > 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:30:35 +00:00
Love Hörnquist Åstrand
c2442955f0 Check for realm-config in the ccache configuration, and use that.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23400 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:28:59 +00:00
Love Hörnquist Åstrand
e392a0a2aa x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23396 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:27:18 +00:00
Love Hörnquist Åstrand
23b129144f Use krb5_cc_get_config.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23395 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:26:49 +00:00
Love Hörnquist Åstrand
c0dc22cef4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23389 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-25 09:08:29 +00:00
Love Hörnquist Åstrand
1ef0828640 Match the orignal patch I got from metze, seems that DCE-STYLE is even
more weirer then what I though when I merged the patch.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23388 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-25 09:07:49 +00:00
Love Hörnquist Åstrand
eec537e94b restore flags after mk_rep is done. Prompted by comments from metze
and abartlet.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23387 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-25 08:23:32 +00:00
Love Hörnquist Åstrand
8c09b251fd Check keyblock instead of keyblock2, doesn't matter which, they will
be the same

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23385 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-24 20:04:07 +00:00
Love Hörnquist Åstrand
d260d2aca0 indent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23381 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-24 20:03:00 +00:00
Love Hörnquist Åstrand
8cb7ec4b64 Allow checking the session enctype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23380 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-24 20:02:45 +00:00
Love Hörnquist Åstrand
aff206f494 fix gss_krb5_cred_no_ci_flags_x_oid_desc variable name
From Stefan Metzmacher

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23331 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-27 12:01:48 +00:00
Love Hörnquist Åstrand
aad8c2b04d krb5: just don't force, but allow the flags when GSS_CF_NO_CI_FLAGS is given
From Stefan Metzmacher

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23330 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-27 12:01:23 +00:00
Love Hörnquist Åstrand
7fcd266fdd use krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 04:32:32 +00:00
Love Hörnquist Åstrand
1e6e0f52c0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23257 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-03 05:32:36 +00:00
Love Hörnquist Åstrand
41f3c8369b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23256 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-03 05:32:12 +00:00
Love Hörnquist Åstrand
9972ce7b46 Don't add asn1 wrapping to token when using DCE_STYLE.
Patch from Stefan Metze.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-03 05:29:21 +00:00
Love Hörnquist Åstrand
4fcad60455 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:14:12 +00:00
Love Hörnquist Åstrand
8fc05f54ad use krb5_get_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23207 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:13:56 +00:00
Love Hörnquist Åstrand
693a4c4358 Make compile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:12:26 +00:00
Love Hörnquist Åstrand
a3bc3e9fed add krb5_gss_register_acceptor_identity
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:12:11 +00:00
Love Hörnquist Åstrand
fd67ddb9c7 add krb5_gss_register_acceptor_identity
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:11:53 +00:00
Love Hörnquist Åstrand
d1fff1d49c add krb5_gss_register_acceptor_identity
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:11:36 +00:00
Love Hörnquist Åstrand
7d5e45d1ff x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-05 10:01:43 +00:00
Love Hörnquist Åstrand
ef70ee1c5a Add back "mech/utils.h", its needed for oid/buffer functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-05 09:56:20 +00:00
Love Hörnquist Åstrand
fc518d9fca Changes from doug barton to make spnego indepedant of the heimdal version of the plugin system.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-02 09:45:28 +00:00
Love Hörnquist Åstrand
81d68d4ee2 use DES_set_key_unchecked()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 18:51:26 +00:00
Love Hörnquist Åstrand
795ee939ea Add declspec for Windows
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23025 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-17 10:01:57 +00:00
Love Hörnquist Åstrand
7a8595a588 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22998 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 19:36:29 +00:00
Love Hörnquist Åstrand
ab06e765d6 Use tmp to read ac->flags value to avoid warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22997 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 19:36:25 +00:00
Love Hörnquist Åstrand
523675b99b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:52 +00:00
Love Hörnquist Åstrand
405a435327 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:48 +00:00
Love Hörnquist Åstrand
784ffbfa6a Make delegated credentials delegated directly, Oleg Sharoiko pointed out that it always didnt work with the old code. Also add som missing cred and context pass-thou functions in the SPNEGO layer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22688 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-16 11:33:58 +00:00
Love Hörnquist Åstrand
df1cca124b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22682 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-14 21:11:21 +00:00
Love Hörnquist Åstrand
49dffae447 Add test for gsskrb5_register_acceptor_identity.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-14 21:10:43 +00:00