Love Hörnquist Åstrand
4084884d71
add gss_krb5_import_ccache, reverse of gss_krb5_copy_ccache
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 11:22:13 +00:00
Love Hörnquist Åstrand
afd104d9cd
test gss_krb5_import_ccache
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 11:19:41 +00:00
Love Hörnquist Åstrand
65447e1a4b
Install krb5_set_password.3, Johnny Lam <jlam@pkgsrc.org>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16230 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 09:08:18 +00:00
Love Hörnquist Åstrand
9319b9dce1
Fix mdoc for krb5_encrypt_EncryptedData, Johnny Lam <jlam@pkgsrc.org>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16229 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 08:50:09 +00:00
Love Hörnquist Åstrand
b62b7a569e
More verbose errors.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16228 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-25 19:41:32 +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
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
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
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
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
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
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
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
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
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
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
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
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