Commit Graph

1526 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
fe1a976ae2 new krb5_cc_cache_match
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:03:21 +00:00
Love Hörnquist Åstrand
b994e453e8 provide convenice lib
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 02:59:17 +00:00
Love Hörnquist Åstrand
c3548336ef Drop duplicate gss_inquire_sec_context_by_oid, From Christin Krause.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-08 16:15:24 +00:00
Love Hörnquist Åstrand
c4ed8e9588 point to msft documentation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-08 16:14:41 +00:00
Love Hörnquist Åstrand
2d85294ede Default to use the username as passed in by the user.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23843 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-14 15:27:42 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
7fe1196c96 finish support for libintl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:13:13 +00:00
Love Hörnquist Åstrand
67cd683b98 ifNOTdef
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23707 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-28 01:12:52 +00:00
Love Hörnquist Åstrand
5829611b38 use macro
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23706 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-28 01:12:45 +00:00
Love Hörnquist Åstrand
d1e3f79583 Mark gsskrb5_set_send_to_kdc deprecated.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23705 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-28 01:12:37 +00:00
Love Hörnquist Åstrand
1f6d6bb605 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23702 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-27 11:24:33 +00:00
Love Hörnquist Åstrand
f7090285fd make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23700 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-27 11:14:09 +00:00
Love Hörnquist Åstrand
f72a279efc change type to int
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-27 11:13:59 +00:00
Love Hörnquist Åstrand
541c7a5d2b allow registration of krb5_plugins though the gss-api layer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23698 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-27 11:13:48 +00:00
Love Hörnquist Åstrand
6562b287fb Always set output_cred_handle to GSS_C_NO_CREDENTIAL in the begining.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23688 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-26 12:35:12 +00:00
Love Hörnquist Åstrand
227aca963e Avoid dns canonlisation for hosts, until we know what client credential we are going to use, and when we know that, lets check if the user really want to use canonlision, XXX should be able to configure per target realm too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23678 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 02:34:24 +00:00
Love Hörnquist Åstrand
3a00ceaf3d krb5_sname_to_principal gets the hostname if we tell is host = NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23674 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 02:33:08 +00:00
Love Hörnquist Åstrand
1106480143 output buffer always set
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23673 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 02:32:55 +00:00
Love Hörnquist Åstrand
59171e8164 minor status must be set.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 02:32:43 +00:00
Love Hörnquist Åstrand
6f68a07561 define HC_DEPRECATED_CRYPTO
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23614 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 15:57:12 +00:00
Love Hörnquist Åstrand
30d0d24121 catch error, zero out variable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23546 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:00:20 +00:00
Love Hörnquist Åstrand
f27b97c10b As long as we got one kerberos cred, be happy with the first one.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23545 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:00:10 +00:00
Love Hörnquist Åstrand
a65167e3ce Copy the krb5 context error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23543 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:59:45 +00:00
Love Hörnquist Åstrand
70a00b7fab Only send KRB_ERROR token when there is clock skew, limits when we
send KRB-ERROR for non-MUTUAL tokens.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23541 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:59:26 +00:00
Love Hörnquist Åstrand
f28083f6b3 Avoid checking mech for now...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23540 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:59:07 +00:00
Love Hörnquist Åstrand
55aa5f1680 provide slightly better error codes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23539 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:58:59 +00:00
Love Hörnquist Åstrand
cd784ac2dc provide slightly better error codes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23538 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:58:49 +00:00
Love Hörnquist Åstrand
84199f34d1 provide slightly better error codes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23537 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:58:41 +00:00
Love Hörnquist Åstrand
b3c213ae68 provide slightly better error codes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23536 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:58:33 +00:00
Love Hörnquist Åstrand
f2a2070e19 make acquire_initiator_cred work again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23534 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:58:12 +00:00
Love Hörnquist Åstrand
abf2e95bdf add missing flag policy-delegate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23533 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:58:04 +00:00
Love Hörnquist Åstrand
e572c589c5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23529 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-14 23:30:01 +00:00
Love Hörnquist Åstrand
a48756092c If there is a initiator subkey, copy that to acceptor subkey to match
windows behavior. From Metze.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23528 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-14 23:29:40 +00:00
Love Hörnquist Åstrand
3b3ffff06d Only strip DELEG_FLAG if there is a realm setting, simplify the
GSS_C_DELEG_POLICY_FLAG handling.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23527 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-14 23:29:29 +00:00
Love Hörnquist Åstrand
8efac579af Specify lazy loading. From Milosz Kmieciak.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23516 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:32 +00:00
Love Hörnquist Åstrand
9407642396 catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:07 +00:00
Love Hörnquist Åstrand
78b0cb1d12 remove unread assignment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:52 +00:00
Love Hörnquist Åstrand
fe4424b80e check right error variable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:15 +00:00
Love Hörnquist Åstrand
6172e895f9 remove allocated_ctx.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23501 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:00 +00:00
Love Hörnquist Åstrand
dddffe995f Delete context on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23500 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:55 +00:00
Love Hörnquist Åstrand
f462f342a0 don't bother setting verify_mic if its not used after this.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23499 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:49 +00:00
Love Hörnquist Åstrand
0aaf4a7721 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:13 +00:00
Love Hörnquist Åstrand
21f5c84036 Catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:08 +00:00
Love Hörnquist Åstrand
95af0790b0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:03 +00:00
Love Hörnquist Åstrand
df987a3b03 Catch store failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23492 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:56 +00:00
Love Hörnquist Åstrand
bcf674235d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23489 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:39 +00:00
Love Hörnquist Åstrand
769b160644 Not init m, return never used (overwritten later).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23488 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:33 +00:00
Love Hörnquist Åstrand
dfb1db9505 delegate policy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23486 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:24 +00:00
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