Commit Graph

15511 Commits

Author SHA1 Message Date
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
Johan Danielsson
bc8df2efca add -x (encrypt) option; implement cprotect (from MIT); make sure we
CCC if switching to clear-text command channel


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 09:46:42 +00:00
Johan Danielsson
8e29e3cb6f if doing command line encryption (-x), ignore prot commands in .netrc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 09:44:24 +00:00
Johan Danielsson
0ef51c20cf add -x (encrypt) option
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16160 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 09:42:47 +00:00
Love Hörnquist Åstrand
4bd45a62b8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 07:25:54 +00:00
Love Hörnquist Åstrand
72fabc6c6b (spnego_reply): Don't pass back raw Kerberos errors, use GSS-API
errors instead.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 07:25:18 +00:00
Love Hörnquist Åstrand
a2eac30736 Add gssapi_krb5_clear_status, gssapi_krb5_set_status for handling error
messages.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 07:23:03 +00:00
Love Hörnquist Åstrand
5bf49e3df3 Don't install krb5.moduli for now.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-09 09:33:13 +00:00
Love Hörnquist Åstrand
66baee8800 (_krb5_krbhost_info_move): new function
(_krb5_free_krbhst_info): expose to internal use


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-08 15:40:50 +00:00
Love Hörnquist Åstrand
740f6b5deb add Q for group 14
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-08 15:39:42 +00:00
Love Hörnquist Åstrand
57bcc0c4e3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16153 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-08 15:35:16 +00:00
Love Hörnquist Åstrand
ffa6f55bd4 Prepare to pass down a krb5_krbhst_info into the pre-auth mechs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16152 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-08 15:34:53 +00:00
Love Hörnquist Åstrand
6b484c39a5 Inline short functions, share more code, rename COMPAT_27 to
COMPAT_IETF, pass down a krb5_krbhst_info for verification of KDC
info, and general cleaning up.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-08 15:32:14 +00:00
Love Hörnquist Åstrand
be13646074 Remove pk-init-19 support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16150 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-08 08:49:40 +00:00