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
Love Hörnquist Åstrand
1828420cc3
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 23:58:11 +00:00
Love Hörnquist Åstrand
2d405842ad
(init_auth): use right variable to detect if we want to free or not.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 23:57:54 +00:00
Love Hörnquist Åstrand
fe254dd716
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22661 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-26 15:10:18 +00:00
Love Hörnquist Åstrand
c130ec0a6a
add missing \
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-26 15:09:34 +00:00
Love Hörnquist Åstrand
d9e70f4359
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-26 12:54:59 +00:00
Love Hörnquist Åstrand
82ece7c43d
reshuffle depenencies
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-26 12:51:46 +00:00
Love Hörnquist Åstrand
27a3ca100e
Add flag to not add gss-api INT|CONF to the negotiation
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-26 12:40:35 +00:00
Love Hörnquist Åstrand
2b90d952c6
(_gss_spnego_inquire_context): make work, based on patch from Ryan Sleevi.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22604 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-21 21:12:48 +00:00
Love Hörnquist Åstrand
9ec788771d
Add gss_mg_collect_error;
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22602 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-21 16:04:58 +00:00
Love Hörnquist Åstrand
3673482a9b
make the SPNEGO mech store the error itself instead, works for everything except other stackable mechs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22600 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-21 12:46:24 +00:00
Love Hörnquist Åstrand
a7b1b3b1aa
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22599 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-18 18:21:23 +00:00
Love Hörnquist Åstrand
c2bc1d4b03
(spnego_reply): if the reply token was of length 0, make it the same
...
as no token. Pointed out by Zeqing Xia.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22598 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-18 18:19:51 +00:00
Love Hörnquist Åstrand
74bb34d6f0
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-18 18:06:21 +00:00
Love Hörnquist Åstrand
088ad9f97d
(acquire_initiator_cred): handle the credential cache better, use
...
destroy/close when appriate and for all cases. Thanks to Michael Allen
for point out the memory-leak that I also fixed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22596 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-18 18:05:55 +00:00