Commit Graph

15446 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand 6f745de7ff HDB extensions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 13:13:37 +00:00
Love Hörnquist Åstrand 0f0b587308 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 12:20:27 +00:00
Love Hörnquist Åstrand c3c4927a70 Install krb5.moduli in sysconfdir.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 12:20:11 +00:00
Love Hörnquist Åstrand 92c70eb57b Describe format.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 12:19:10 +00:00
Love Hörnquist Åstrand d392e84793 moduli file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 12:17:49 +00:00
Love Hörnquist Åstrand 3c93988850 rename moduli file to SYSCONFDIR "/krb5.moduli"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 12:08:02 +00:00
Love Hörnquist Åstrand 2ba37a88dd Add forward declaration for krb5_dh_moduli.
Add define for MODULI_FILE.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 11:44:49 +00:00
Love Hörnquist Åstrand f961f7f538 Fix comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 11:02:15 +00:00
Love Hörnquist Åstrand 1ef128fbff Removing PK-INIT-19 support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 11:00:05 +00:00
Love Hörnquist Åstrand 0915d6890b (_krb5_dh_group_ok): return DH group name on success.
(krb5_get_init_creds_opt_set_pkinit): use moduli file if it exists


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 10:40:52 +00:00
Love Hörnquist Åstrand b1fffa7079 Save DH group name and print it on success.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16139 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 10:40:00 +00:00
Love Hörnquist Åstrand ff2f0da2df (_krb5_dh_group_ok): if q is zero, ignore it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 08:59:27 +00:00
Love Hörnquist Åstrand 776512783d Check dh group parameters from client.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 08:57:51 +00:00
Love Hörnquist Åstrand 0fa6eefd9f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 08:56:15 +00:00
Love Hörnquist Åstrand fcc233ae04 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 08:55:50 +00:00