Commit Graph

21077 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand 3dfec628f2 Always try to fetch cred (even with GSS_C_NO_NAME).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 01:13:13 +00:00
Love Hörnquist Åstrand e53ec599a7 global krb5_context no longer used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 00:56:55 +00:00
Love Hörnquist Åstrand 6aa94aa902 Flag if default_cc_name was set by the user, ignore envirnoment updates then.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 00:54:37 +00:00
Love Hörnquist Åstrand 068fc5ff83 (krb5_context_data): Flag if default_cc_name was set by the user.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 00:53:59 +00:00
Love Hörnquist Åstrand bf772f42e4 (acquire_acceptor_cred): Check if there is at least one entry in the
keytab before declaring it as an useful keytab.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 00:03:52 +00:00
Love Hörnquist Åstrand 88065a2536 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 23:49:48 +00:00
Love Hörnquist Åstrand f6734fd25f bump version
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 22:55:54 +00:00
Love Hörnquist Åstrand e8e661f05e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22121 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 22:37:13 +00:00
Love Hörnquist Åstrand 75399b34c3 (fcc_move): make sure ->version is uptodate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 22:36:59 +00:00
Love Hörnquist Åstrand 1816bb6dce quote?
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22119 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 22:02:48 +00:00
Love Hörnquist Åstrand 0da674c673 use krb5_free_cred_contents
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22118 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 21:44:00 +00:00
Love Hörnquist Åstrand 62cb8dfe09 use krb5_free_cred_contents
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22117 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 21:24:16 +00:00
Love Hörnquist Åstrand 9e76ac04d0 Use krb5_cc_move to make an atomic switch of the cred cache.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22116 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 21:22:58 +00:00
Love Hörnquist Åstrand d340f5fab3 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 21:21:42 +00:00
Love Hörnquist Åstrand 0295af2254 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 21:20:40 +00:00
Love Hörnquist Åstrand 58a7d59b47 Put back code that was needed, move gen_new into new_unique.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 21:20:02 +00:00
Love Hörnquist Åstrand 3556dc1513 s/krb5_free_creds_contents/krb5_free_cred_contents/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 19:34:33 +00:00
Love Hörnquist Åstrand ec82df5025 drop data/serial
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22111 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 18:38:04 +00:00
Love Hörnquist Åstrand 805f9b54c8 add missing sia_locl.h posix_getpw.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22109 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 17:30:10 +00:00
Love Hörnquist Åstrand 3a8d8a97c2 Implement krb5_cc_ops->default_name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22108 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 17:23:53 +00:00
Love Hörnquist Åstrand 296b56abe8 (mcc_default_name): Remove const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 17:22:51 +00:00
Love Hörnquist Åstrand 21b90bbd76 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22106 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 17:20:27 +00:00
Love Hörnquist Åstrand 0d124a5725 Add KRB5_DEFAULT_CCNAME_KCM, redefine KRB5_DEFAULT_CCNAME to KRB5_DEFAULT_CCTYPE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 17:20:06 +00:00
Love Hörnquist Åstrand 8ff9a93093 Use krb5_cc_ops->default_name to get the default name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 17:17:41 +00:00
Love Hörnquist Åstrand 804f92aa75 Implement krb5_cc_ops->default_name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22103 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 17:16:44 +00:00
Love Hörnquist Åstrand ce853485de Implement krb5_cc_ops->default_name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 17:15:57 +00:00
Love Hörnquist Åstrand 1cdcbe1493 Implement krb5_cc_ops->default_name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22101 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 17:15:27 +00:00
Love Hörnquist Åstrand d772bfc511 Add krb5_cc_ops->default_name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 17:15:00 +00:00
Love Hörnquist Åstrand bdb625ddf0 Free context when done, implement krb5_cc_ops->default_name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22099 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 17:14:34 +00:00
Love Hörnquist Åstrand aee37005ae implement dummy kcm_move
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22098 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 13:19:51 +00:00
Love Hörnquist Åstrand b7ccda14c6 Implement the move operation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22097 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 13:12:57 +00:00
Love Hörnquist Åstrand a838fb71b7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22096 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 12:47:40 +00:00
Love Hörnquist Åstrand d7840e7d49 export krb5_cc_move
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22095 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 12:47:24 +00:00
Love Hörnquist Åstrand 5d119f3729 (krb5_cc_move): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 12:46:21 +00:00
Love Hörnquist Åstrand 64cf3425d8 Implement the move operation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22093 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 12:44:40 +00:00
Love Hörnquist Åstrand 8c9100dd86 Add move to the krb5_cc_ops, causes major version bump.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 12:43:02 +00:00
Love Hörnquist Åstrand 759bf557e0 Implement the move operation. Avoid using cc_set_principal() since it
broken on Mac OS X 10.5.0.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 12:38:53 +00:00
Love Hörnquist Åstrand 40d9572802 Drop variable names to avoid -Wshadow.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22090 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-02 23:23:43 +00:00
Love Hörnquist Åstrand 88f53f106d existant -> existent, from Martynas Venckus via Joason McIntyre.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22088 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-25 14:10:15 +00:00
Love Hörnquist Åstrand 4002538ad3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22086 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-16 20:50:13 +00:00
Love Hörnquist Åstrand 89a825f012 Check if SecKeyGetCSPHandle needs prototype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22085 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-16 20:13:30 +00:00
Love Hörnquist Åstrand 6c6a2829d7 use autoconf macro
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22084 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-16 20:12:30 +00:00
Love Hörnquist Åstrand f4ae278f39 Make compile on Leopard.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22083 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-16 17:15:58 +00:00
Love Hörnquist Åstrand 558513be46 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22082 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-16 16:07:39 +00:00
Love Hörnquist Åstrand b57bbebd7c Cast 0 to EVP_CIPHER_iv_length to (EVP_CIPHER *).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22080 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-16 11:10:54 +00:00
Love Hörnquist Åstrand ce00901078 remove index.txt*
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-15 07:20:02 +00:00
Love Hörnquist Åstrand 98fe8646a7 rebuild
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22076 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-15 07:01:22 +00:00
Love Hörnquist Åstrand 5fed824f37 its vs it\'s etc. From Bjorn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-14 20:04:50 +00:00
Love Hörnquist Åstrand 21948a6f08 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22069 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-14 19:56:37 +00:00
Love Hörnquist Åstrand be8c8799d8 Should pass different key usage constants depending on whether or not
optional sub-session key was passed by the client for the check of
authorization data. The constant is used to derive "specific key" and
its values are specified in 7.5.1 of RFC4120.

Patch from Andy Polyakov.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22068 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-14 19:56:15 +00:00