Assar Westerlund
fdbb09f0e3
(get_logname): also try $USERNAME
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6268 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-21 09:28:40 +00:00
Assar Westerlund
dbaadb6d3c
(USE_RESOLVER): try to define only if we have a libresolv (currently
...
by checking for res_search)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6256 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-20 23:57:34 +00:00
Johan Danielsson
cbc6d8e2ed
fix past-o
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6203 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-11 12:06:15 +00:00
Assar Westerlund
30f9781488
(krb5_sendauth): handle ccache == NULL by setting the default ccache.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6191 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-10 03:46:38 +00:00
Assar Westerlund
f4893f23f7
(init_as_req): interpret `addrs' being an empty sit of list as to not
...
ask for any addresses.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6168 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-09 08:49:20 +00:00
Assar Westerlund
d5227abb81
(change_password): add colon to prompt strings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6146 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-06 10:14:40 +00:00
Johan Danielsson
2ee4dab98b
HAVE_NETINFO_NI_H -> HAVE_NETINFO
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6069 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-03 09:25:45 +00:00
Assar Westerlund
17c9fd68e4
(get_cred_from_kdc_flags): allocate and free `*out_creds' properly
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6065 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-03 02:08:51 +00:00
Assar Westerlund
7c2cf73058
(krb5_compare_creds): just verify that the keytypes/enctypes are
...
compatible, not that they are the same
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6064 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-03 02:01:41 +00:00
Assar Westerlund
17b23dc3b6
(mcc_get_next): get the current cursor correctly
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6057 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-27 23:52:06 +00:00
Assar Westerlund
3623dc5593
(krb5_mk_req_internal): try to handle old DCE secd's that are not able
...
to handle MD5 checksums by defaulting to MD4 if the keytype was
DES-CBC-CRC
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6053 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-25 17:44:01 +00:00
Assar Westerlund
a8e18d82c4
(krb5_mk_req): use auth_context->keytype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6052 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-25 17:43:07 +00:00
Assar Westerlund
e802293aed
(krb5_auth_context_data): add keytype' and
cksumtype'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6051 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-25 17:42:41 +00:00
Assar Westerlund
9fc8830e95
(make_pa_tgs_req): remove old kludge for secd
...
(init_tgs_req): add all supported enctypes for the keytype in
`in_creds->session.keytype' if it's set
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6050 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-25 17:42:11 +00:00
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