Commit Graph

3089 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
7841148998 (_krb5_get_init_creds_opt_set_krb5_error): make compile again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17674 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-22 02:54:58 +00:00
Love Hörnquist Åstrand
a65edfb82d Save KRB-ERROR on error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-22 02:40:25 +00:00
Love Hörnquist Åstrand
07f13d1815 Add storing and getting KRB-ERROR int the krb5_get_init_creds_opt structure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-22 02:38:36 +00:00
Love Hörnquist Åstrand
85750eaf7a (_krb5_get_init_creds_opt_private): add KRB-ERROR
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-22 02:37:30 +00:00
Love Hörnquist Åstrand
bbf8d9a7e4 Document krb5_get_creds.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-15 21:36:28 +00:00
Love Hörnquist Åstrand
88a91a9441 (get_init_creds_common): drop cred argument, its unused
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-15 14:43:16 +00:00
Love Hörnquist Åstrand
ecfb6a6c11 install krb5_get_creds.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-15 14:20:59 +00:00
Love Hörnquist Åstrand
390dc0d2ab Allow setting additional tickets in the tgs-req
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17628 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 21:22:54 +00:00
Love Hörnquist Åstrand
f030cab6b9 (krb5_get_creds): add KRB5_GC_NO_TRANSIT_CHECK
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17618 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 15:04:13 +00:00
Love Hörnquist Åstrand
7333ba3253 Add KRB5_GC_NO_TRANSIT_CHECK
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 15:02:49 +00:00
Love Hörnquist Åstrand
395f57398c Add impersonate support functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 14:57:47 +00:00
Love Hörnquist Åstrand
eb409f99aa Add impersonate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17615 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 14:57:16 +00:00
Love Hörnquist Åstrand
5558349b3e Add krb5_get_creds_opt_data and some more KRB5_GC flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17613 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-06 14:52:33 +00:00
Love Hörnquist Åstrand
d60350c3a1 Avoid more shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17606 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-01 18:17:58 +00:00
Love Hörnquist Åstrand
a70780b23f spelling Björn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17593 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-29 14:55:18 +00:00
Love Hörnquist Åstrand
4c970b550e Avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17579 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 21:22:55 +00:00
Love Hörnquist Åstrand
ed43c02499 Add KRB5_PROMPT_TYPE_INFO
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 04:56:54 +00:00
Love Hörnquist Åstrand
7785a29dbf Hidden field of hx509 prompter is removed.
Fix a warning.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 10:17:19 +00:00
Love Hörnquist Åstrand
d08f2e3a09 (_krb5_pk_load_id): only use password if its longer then 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17539 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:56:54 +00:00
Love Hörnquist Åstrand
dff342ed10 Various tweaks, from Jason McIntyre.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17534 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 22:43:44 +00:00
Love Hörnquist Åstrand
1e12165c58 (krb5_get_init_creds_opt_set_pkinit): move parsing of the
configuration file to the library so application doesn't need to deal
with it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17529 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 10:16:01 +00:00
Love Hörnquist Åstrand
66cc779e91 (_krb5_pk_load_id): pass the hx509_lock to when trying to read the
user certificate.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17526 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 07:03:10 +00:00
Love Hörnquist Åstrand
60736cd1ec (hx_pass_prompter): return 0 on success and 1 on failure. Pointed out
by Douglas E. Engert.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17525 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 06:59:56 +00:00
Love Hörnquist Åstrand
464d720b1c Catches both keyed checkout w/o crypto context cases and doesn't reset
the string, and corrects the grammar.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 13:47:24 +00:00
Love Hörnquist Åstrand
a6dbbc8629 Drop aes-cbc, rc2 and CMS padding support, its all containted in
libhcrypto and libhx509 now.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 13:45:28 +00:00
Love Hörnquist Åstrand
3c6cb82e67 Less "pointer targets in passing argument differ in signedness" warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 11:27:49 +00:00
Love Hörnquist Åstrand
64f9c706ec (_krb5_pk_verify_sign): Use hx509_get_one_cert.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 12:32:38 +00:00
Love Hörnquist Åstrand
c5a313c313 (create_checksum): provide a error message that a key checksum needs a key.
From Andew Bartlett.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 12:20:30 +00:00
Love Hörnquist Åstrand
9f59e70024 Now that hcrypto supports DH, remove check for hx509 null DH.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 13:24:54 +00:00
Love Hörnquist Åstrand
2fd4a77e66 Spelling/mdoc from Björn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17462 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 13:18:39 +00:00
Love Hörnquist Åstrand
94c88846ef Spelling/mdoc from Björn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17461 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 13:13:18 +00:00
Love Hörnquist Åstrand
ba1492d065 (fkt_next_entry_int): read the 32 bit kvno if the reset of the data is
longer then 4 bytes in hope to be forward compatible. Pointed out by
Michael B Allen.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17457 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 12:36:57 +00:00
Love Hörnquist Åstrand
348b5d79c4 Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17442 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 09:31:15 +00:00
Love Hörnquist Åstrand
51476c2b24 Add test_store to TESTS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17441 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 09:11:22 +00:00
Love Hörnquist Åstrand
b3fc06db32 Catch using hx509 null DH and print a more useful error message.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17440 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 07:33:33 +00:00
Love Hörnquist Åstrand
809f1eef77 Rewrite the krb5_ret_u as proposed by Johan.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17438 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 07:15:18 +00:00
Johan Danielsson
9823db8f2a change some casts from unsigned to signed types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 11:46:45 +00:00
Johan Danielsson
a0be47c4ec (krb5_store_uint16): change parameter to match function name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 11:45:00 +00:00
Johan Danielsson
c9a10c7d6a replace u_intN_t with uintN_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 11:42:50 +00:00
Love Hörnquist Åstrand
83b9ad094c Document ret and store function for the unsigned fixed size integer types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17427 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:40:35 +00:00
Love Hörnquist Åstrand
93f0be5d42 Use the new unsigned integer storage types. Fail that the address
doesn't match, not the reverse.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:21:07 +00:00
Love Hörnquist Åstrand
1d230f8bae (krb5_ret_uint32): fix typecast
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:16:51 +00:00
Love Hörnquist Åstrand
3da792b3fa Add ret and store function for the unsigned fixed size integer types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:16:08 +00:00
Love Hörnquist Åstrand
3569569378 Test the integer storage types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17423 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:15:07 +00:00
Love Hörnquist Åstrand
294a6cc6e0 (krb5_store_principal): make it take a krb5_const_principal, indent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17422 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 18:58:04 +00:00
Love Hörnquist Åstrand
2c66c7c02b krb5_store_principal takes a krb5_const_principal
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17421 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 18:57:35 +00:00
Love Hörnquist Åstrand
9b824aa05f Deal with that hx509_prompt.reply is no longer a pointer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17420 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 18:56:27 +00:00
Love Hörnquist Åstrand
bba691f8a8 Spelling/mdoc changes, from Björn Sandell.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17387 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 09:26:31 +00:00
Love Hörnquist Åstrand
e0c1c293c5 update .Dd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17386 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 08:48:56 +00:00
Love Hörnquist Åstrand
40230797a3 Spelling/mdoc changes, from Björn Sandell.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17385 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 08:48:55 +00:00