Commit Graph

1306 Commits

Author SHA1 Message Date
Assar Westerlund
52df3677bb (F_PSEUDO): new flag for non-protocol encryption types
(do_checksum): new function
(verify_checksum): take the checksum to use from the checksum message
and not from the crypto struct
(etypes): add F_PSEUDO flags
(krb5_keytype_to_enctypes): new function


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6049 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-25 17:39:48 +00:00
Assar Westerlund
5039be3bd2 copyright update
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6048 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-25 17:38:22 +00:00
Assar Westerlund
b337f501a1 (krb5_auth_con_init): initalize keytype and cksumtype
(krb5_auth_setcksumtype, krb5_auth_getcksumtype): implement
(krb5_auth_setkeytype, krb5_auth_getkeytype): implement
(krb5_auth_setenctype): comment out, it's rather bogus anyway


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6047 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-25 17:38:08 +00:00
Johan Danielsson
7e3644da1f fix for stupid aix warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6045 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-25 14:58:34 +00:00
Johan Danielsson
b380f51a81 (erase_file): don't malloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6044 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-25 14:55:49 +00:00
Johan Danielsson
943cb8e28d (krb5_domain_x500_decode): don't abort
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6037 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:43:34 +00:00
Johan Danielsson
7ac811dc6a abort -> krb5_abortx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6036 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:42:23 +00:00
Johan Danielsson
86f68747de (init_context_from_config_file): init fcache_version; add
krb5_{get,set}_fcache_version


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6035 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:40:53 +00:00
Johan Danielsson
4cfae1aa22 add support for reading (and writing?) old version keytabs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6034 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:39:57 +00:00
Johan Danielsson
a09cdb7965 add krb5_cc_get_version
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6033 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:38:45 +00:00
Johan Danielsson
43fdcecc6d cleanup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6032 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:38:23 +00:00
Johan Danielsson
bdaedd40ce add support for reading and writing old version cache files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6031 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:37:47 +00:00
Johan Danielsson
43aa4ffc00 (krb5_storage_from_mem): zero flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6030 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:36:29 +00:00
Johan Danielsson
c45bf5ec42 (krb5_storage_emem): zero flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6029 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:35:55 +00:00
Johan Danielsson
7de75b60e8 (krb5_storage_from_fd): zero flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6028 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:35:20 +00:00
Johan Danielsson
3906485184 add flags to change how various fields are stored, used for old cache
version support


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6027 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:30:46 +00:00
Johan Danielsson
e29f2bd176 add support for reading and writing old version cache files, and
keytabs


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6026 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-24 16:29:06 +00:00
Assar Westerlund
4bd2f7fb48 (get_init_creds_common): if start_time is given, request a postdated
ticket.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6022 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-20 22:11:54 +00:00
Assar Westerlund
432abd5432 (FILENAME): simplify definition
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6021 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-20 22:10:58 +00:00
Assar Westerlund
a477c0ef8e (krb5_data_free): free data as long as it's not NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6020 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-20 22:09:22 +00:00
Assar Westerlund
16d9e77f3c (KRB5_VERIFY_AP_REQ_IGNORE_INVALID): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6018 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-20 14:18:29 +00:00
Assar Westerlund
6cc3a89c55 (krb5_decrypt_ticket): add flags and
KRB5_VERIFY_AP_REQ_IGNORE_INVALID for ignoring that the ticket is invalid


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6017 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-20 14:18:11 +00:00
Assar Westerlund
f25d29ec48 (krb5_storage_to_data, krb5_ret_data): use krb5_data_alloc and be
careful with checking allocation and sizes.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6008 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 16:38:45 +00:00
Assar Westerlund
795e179109 (krb5_fwd_tgs_creds): compat function
(krb5_get_forwarded_creds): correct freeing of out_creds


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5999 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 13:29:45 +00:00
Assar Westerlund
051449a301 (krb5_free_keyblock_contents): don't zero keyvalue if it's NULL.
noticed by Ake Sandgren <ake@cs.umu.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5994 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 12:36:56 +00:00
Assar Westerlund
f4020ed93d (add_padata): loop over all enctypes instead of just taking the first
one.  fix all callers.  From "Brandon S. Allbery KF8NH"
<allbery@kf8nh.apk.net>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5987 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-19 10:26:01 +00:00
Johan Danielsson
f1a6ab665e add __attribute__
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5976 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-18 13:48:14 +00:00
Johan Danielsson
b2b3f67fc5 initial version
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5975 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-18 13:47:30 +00:00
Johan Danielsson
36347ee17b add krb5_cc_get_type that returns type of a cache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5974 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-18 13:46:40 +00:00
Johan Danielsson
0fcc690993 update version
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5965 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-15 16:19:27 +00:00
Johan Danielsson
e735a97698 (krb5_get_forwarded_creds): use ALLOC_SEQ
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5964 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-15 15:48:04 +00:00
Johan Danielsson
48650b3b4a add some support for reading and writing old cache formats;
(fcc_store_cred): use krb5_store_creds; (fcc_read_cred): use
krb5_ret_creds


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5963 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-15 15:47:05 +00:00
Johan Danielsson
2f3f002dcf (krb5_storage_from_mem): check malloc, initialize host_byteorder
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5962 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-15 15:43:44 +00:00
Johan Danielsson
6dc689c324 (krb5_storage_from_fd): initialize host_byteorder
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5961 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-15 15:43:01 +00:00
Johan Danielsson
a3cfac4221 (krb5_storage_emem): initialize host_byteorder
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5960 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-15 15:42:54 +00:00
Johan Danielsson
200aeaacb9 (krb5_storage_set_host_byteorder): add
(krb5_store_int32,krb5_ret_int32,krb5_store_int16,krb5_ret_int16):
check host_byteorder flag
(krb5_store_creds): add
(krb5_ret_creds): add


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5959 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-15 15:42:10 +00:00
Johan Danielsson
fb69627e1b (krb5_storage): add `host_byteorder' flag for storage of numbers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5958 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-15 15:40:14 +00:00
Johan Danielsson
869330023b add `host not found' error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5957 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-15 15:38:31 +00:00
Johan Danielsson
9740ade402 abort -> krb5_abortx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5952 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-15 12:59:28 +00:00
Johan Danielsson
6c3f040376 add __attribute__; add *abort functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5951 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-15 12:55:43 +00:00
Assar Westerlund
633d4621b3 (init_tgs_req): re-structure a little bit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5940 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-11 23:13:39 +00:00
Assar Westerlund
f6e5c6cbae (init_tgs_req): some more error checking
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5939 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-11 22:53:45 +00:00
Assar Westerlund
5457b0d6ae (krb5_generate_subkey): check return value from malloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5938 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-11 22:49:16 +00:00
Johan Danielsson
b04d5bb7ef update to reality
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5936 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-11 01:47:30 +00:00
Johan Danielsson
1f16233c48 (krb5_524_conv_principal): make it actually work, and check built-in
list of host-type first-components


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5934 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-11 01:45:24 +00:00
Assar Westerlund
90e406a457 issuid: nuke prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5932 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-11 01:17:42 +00:00
Assar Westerlund
d37b4252e0 handle more than one realm for a host
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5931 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-11 00:42:49 +00:00
Johan Danielsson
20ed3440e0 lookup SRV-records to find a kdc for a realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5928 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-11 00:37:44 +00:00
Johan Danielsson
4ea526ace0 add srv_* flags to context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5927 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-11 00:37:00 +00:00
Johan Danielsson
0aa23fe384 add default v4_name_convert entries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5926 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-11 00:36:29 +00:00