Commit Graph

15574 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
4232beb6e4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16219 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-22 14:19:01 +00:00
Love Hörnquist Åstrand
e5dc0153d3 Check return value from asprintf instead of string != NULL since it
undefined behavior on Linux. From Björn Sandell


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16218 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-22 14:18:19 +00:00
Love Hörnquist Åstrand
5f70cc361a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-22 13:16:07 +00:00
Love Hörnquist Åstrand
9dccedb6d3 Check return value from asprintf instead of string != NULL since it
undefined behavior on Linux. From Björn Sandell


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-22 13:15:43 +00:00
Love Hörnquist Åstrand
f74a40ff85 Check return value from asprintf instead of string != NULL since it
undefined behavior on Linux. From Björn Sandell


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-22 12:49:00 +00:00
Love Hörnquist Åstrand
911c099056 Remove leftover pkinit-19 bits.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16212 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-21 17:48:30 +00:00
Love Hörnquist Åstrand
993ae3a82f (_krb5_dh_group_ok): if not enough bits are generated from the DH groups, fail.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-21 17:18:38 +00:00
Love Hörnquist Åstrand
3bfded2697 (get_dh_param): Pass down config so this function can check pkinit_dh_min_bits
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16210 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-21 17:14:19 +00:00
Love Hörnquist Åstrand
b2698d9dc7 Fill in pkinit_dh_min_bits from configuration file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16209 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-21 17:11:59 +00:00
Love Hörnquist Åstrand
2e2d62a9e5 Add pkinit_dh_min_bits to krb5_kdc_configuration.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-21 17:11:21 +00:00
Love Hörnquist Åstrand
9acc8d9033 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16207 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-21 16:38:01 +00:00
Love Hörnquist Åstrand
b3da510397 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16206 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-21 12:44:33 +00:00
Love Hörnquist Åstrand
bc4a1da9c6 (acquire_initiator_cred): use krb5_cc_cache_match to find a matching
creditial cache, if that failes, fallback to the default cache.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-21 12:44:08 +00:00
Love Hörnquist Åstrand
19a7595ae2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16202 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-20 16:57:27 +00:00
Love Hörnquist Åstrand
256cf0f403 Remove untested patch that sneaked in.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-20 14:59:20 +00:00
Love Hörnquist Åstrand
8de40c5202 Add k_hasafs_recheck.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-20 14:53:01 +00:00
Love Hörnquist Åstrand
156ee39478 (k_hasafs_recheck): new function, allow rechecking if AFS client have
started now, internaly it resets the internal state from k_hasafs()
and retry retry the probing. The problem with calling k_hasaf() is
that is plays around with signals, and that cases problem for some
systems/applications.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-20 14:52:18 +00:00
Love Hörnquist Åstrand
ffd449e518 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-20 13:38:32 +00:00
Love Hörnquist Åstrand
92c8cf86bc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-20 09:30:11 +00:00
Love Hörnquist Åstrand
8a06dac4ff Add option to require binding between reply and response.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-20 09:29:19 +00:00
Love Hörnquist Åstrand
186339cc52 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 21:30:23 +00:00
Love Hörnquist Åstrand
3c3052ff5f Text about Kerberos errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 21:30:07 +00:00
Love Hörnquist Åstrand
b6574254f4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16193 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 21:16:04 +00:00
Love Hörnquist Åstrand
79146c3e71 Try both ReplyKey and ReplyKey-Win2k for the Windows case to support
the updated -09 protocol (using asChecksum). Tell KDC we support this
by sending KRB5-PADATA-PK-AS-09-BINDING in the pa-data.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16192 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 21:15:41 +00:00
Love Hörnquist Åstrand
2c6670fb89 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16191 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 20:26:59 +00:00
Love Hörnquist Åstrand
b381016877 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16190 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 17:36:48 +00:00
Love Hörnquist Åstrand
42ec2bd7b5 Test copy FILE -> FILE, and MEMORY -> MEMORY too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 17:36:09 +00:00
Love Hörnquist Åstrand
9d8ec6711a Test krb5_cc_copy_cache and krb5_cc_cache_match.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 17:31:39 +00:00
Love Hörnquist Åstrand
cc7855865c (krb5_cc_cache_match): add function that iterates over all credential
caches for a user and returns a match.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 17:30:40 +00:00
Love Hörnquist Åstrand
4107ec5557 Catch error returned by ->hdb_unlock. From Henry B. Hotz
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 13:51:40 +00:00
Love Hörnquist Åstrand
af61e047fd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 07:40:49 +00:00
Love Hörnquist Åstrand
0a2f9014cc Fix all prototypes, they got krb5_context argument wrong.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16184 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 07:39:01 +00:00
Love Hörnquist Åstrand
959cc8f926 Update .Dd and (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 07:37:27 +00:00
Love Hörnquist Åstrand
4269d4e6dc Add krb5_cc_start_seq_get and an example.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16182 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 07:35:19 +00:00
Love Hörnquist Åstrand
91cb866ce3 Nits in the credential cache text.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-18 20:17:55 +00:00
Love Hörnquist Åstrand
2f0477a0b5 Try to explain krb5_ccache, krb5_principal and errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16180 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-18 20:11:25 +00:00
Love Hörnquist Åstrand
94b82109d3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16179 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-18 11:15:29 +00:00
Love Hörnquist Åstrand
6fcc9f4922 Specify that krb5_unparse_name sets name to NULL on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16178 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-16 10:42:17 +00:00
Johan Danielsson
7e25d8fb09 remove dump_config as there's a --dumpconfig for verify_krb5_conf now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16177 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-13 15:44:21 +00:00
Love Hörnquist Åstrand
45d2b74ced Add example how to use krb5_get_credentials.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-13 14:24:49 +00:00
Love Hörnquist Åstrand
8592c8225b Clarifiying comment.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-13 03:30:14 +00:00
Love Hörnquist Åstrand
ac5ccfb7d6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 15:20:55 +00:00
Love Hörnquist Åstrand
5a5905fef1 Add gssapi_krb5_set_status and gssapi_krb5_clear_status
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16172 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 15:20:37 +00:00
Love Hörnquist Åstrand
144885d37f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 12:52:55 +00:00
Love Hörnquist Åstrand
e42d007ce9 Rename private to opt_private.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 12:45:27 +00:00
Love Hörnquist Åstrand
296d9d6457 rename element private to opt_private to make c++ picky compilers less upset.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 12:41:04 +00:00
Love Hörnquist Åstrand
5d64a49fa7 (krb5_get_init_creds_opt): rename element private to opt_private to
make cpp picky compilers less upset.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 12:39:28 +00:00
Johan Danielsson
d29fd79920 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16165 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 09:48:39 +00:00
Johan Danielsson
a703774dcd document -x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 09:48:31 +00:00
Johan Danielsson
930f8ed46a implement cprotect (from MIT)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16163 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 09:46:56 +00:00