Assar Westerlund
d363e5464a
(krb5_set_extra_addresses): const-ize and use proper abstraction
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-11 17:43:43 +00:00
Johan Danielsson
37097c9c07
use roken_getaddrinfo_hostspec
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-07 13:40:18 +00:00
Johan Danielsson
ba912b7548
check_transited
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-07 13:31:55 +00:00
Johan Danielsson
81c1a29c7f
krb5_check_transited_realms
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7897 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-07 13:30:41 +00:00
Johan Danielsson
0f08f199cc
illegal -> invalid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7896 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-07 12:54:17 +00:00
Assar Westerlund
300048d19b
set version to 8:0:0
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-07 03:26:21 +00:00
Assar Westerlund
4d5623aac7
use memcpy and strlcpy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-07 03:19:43 +00:00
Assar Westerlund
b19b0679a1
(mkt_get_name): use strlcpy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-07 03:18:39 +00:00
Assar Westerlund
b17cf85c8b
(krb5_kt_default_name): use strlcpy
...
(krb5_kt_add_entry): set timestamp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-07 03:18:05 +00:00
Assar Westerlund
52cde19e4b
(change_password): replace strncpy with strlcpy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7878 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-07 03:17:20 +00:00
Assar Westerlund
d36b0c18b0
add macros for accessing krb5_realm
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7868 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-06 07:40:57 +00:00
Assar Westerlund
78e8e4627e
(krb5_timeofday): use krb5_timestamp' instead of
int32_t'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-06 05:21:53 +00:00
Assar Westerlund
38ef6e56ea
(checksum_authenticator): update to new API for md5
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7858 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-06 05:21:21 +00:00
Assar Westerlund
209565763c
update to new prototype of krb5_timeofday
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-06 05:20:51 +00:00
Assar Westerlund
21e02f2046
remove des.h, it's not needed and applications should not have to make
...
sure to find it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-06 05:19:29 +00:00
Johan Danielsson
20fe258909
(init_context_from_config_file): change default log timestamp to
...
extended ISO 8601 format
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7850 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-04 17:10:26 +00:00
Assar Westerlund
6e3c101b6c
(get_key_from_keytab): rename parameter to `out_key' to avoid
...
conflicting with label. reported by Sean Doran <smd@ebone.net >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-03 02:13:37 +00:00
Assar Westerlund
b267a04468
remember to lower-case host names. bug reported by <amu@mit.edu>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7846 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-02 04:42:57 +00:00
Assar Westerlund
94e1d9abee
update to pseudo-standard APIs for md4,md5,sha.
...
some changes to libdes calls to make them more portable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-25 23:06:55 +00:00
Assar Westerlund
c4ebe5c97a
(krb5_verify_init_creds): make sure to clean up the correct creds.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-21 05:47:35 +00:00
Assar Westerlund
272e524f36
(append_component): change parameter to `const char *'. check malloc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-16 11:03:54 +00:00
Assar Westerlund
f2ed3ddd2f
(append_component, va_ext_princ, va_princ): const-ize
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-16 10:23:27 +00:00
Assar Westerlund
7032209f75
(krb5_mk_req): make service' and
hostname' const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7800 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-16 10:22:42 +00:00
Assar Westerlund
ad90852320
(replace_chars): also add space here
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-16 01:32:44 +00:00
Assar Westerlund
5b1f7b9c0a
quote spaces
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7794 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-16 01:31:34 +00:00
Assar Westerlund
3dd2da7148
(krb5_sname_to_principal): use krb5_expand_hostname_realms
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7781 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-09 09:21:32 +00:00
Assar Westerlund
171ae91fed
(krb5_km_req): use krb5_expand_hostname_realms
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7780 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-09 09:20:01 +00:00
Assar Westerlund
62bfc36ee5
(krb5_expand_hostname_realms): new variant of krb5_expand_hostname
...
that tries until it expands into something that's digestable by
krb5_get_host_realm, returning also the result from that function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7779 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-09 09:18:32 +00:00
Assar Westerlund
842e0a5e93
bump version to 7:1:0
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-08 17:03:51 +00:00
Assar Westerlund
6824231e69
(krb5_sname_to_principal): use krb5_expand_hostname
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7762 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-08 08:08:03 +00:00
Assar Westerlund
f23bd0709b
(krb5_expand_hostname): handle ai_canonname being set in any of the
...
addresses returnedby getaddrinfo. glibc apparently returns the
reverse lookup of every address in ai_canonname.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-08 08:07:18 +00:00
Assar Westerlund
07b36dc96c
(krb5_sname_to_principal): remove `hp'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7747 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-06 21:49:20 +00:00
Assar Westerlund
48dc72c30c
set version to 7:0:0
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-06 21:47:14 +00:00
Assar Westerlund
db67429c81
(add_padata): change types to make everything work out
...
(krb5_get_in_cred): remove const to make types match
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7740 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-06 20:36:28 +00:00
Assar Westerlund
b2cf20bac2
(ARCFOUR_string_to_key): correct signature
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7739 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-06 20:21:13 +00:00
Assar Westerlund
43fe8a49b4
(krb5_sname_to_principal): handle not getting back a canonname
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7731 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-06 12:38:55 +00:00
Assar Westerlund
022217df17
(read_v4_entry): set timestamp
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7727 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-06 08:04:58 +00:00
Assar Westerlund
f8e43718e9
(krb5_sendto_kdc): advance colon so that we actually parse the port
...
number. based on a patch from Leif Johansson <leifj@it.su.se >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7722 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-06 07:59:11 +00:00
Assar Westerlund
de504c0786
(akf_next_entry): remove unused variable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7709 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-02 04:00:22 +00:00
Assar Westerlund
32a12060f5
(akf_next_entry): set timetsamp, always go the a predicatble position
...
on error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7702 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-02 00:45:38 +00:00
Assar Westerlund
875d3eb4a1
(krb5_kt_copy_entry_contents): copy timestamp
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7701 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-02 00:31:20 +00:00
Assar Westerlund
d2cba917ae
(fkt_add_entry): store timestamp
...
(fkt_next_entry_int): return timestamp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-02 00:20:22 +00:00
Assar Westerlund
a27c1e60d6
(krb5_keytab_entry): add timestamp
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7698 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-02 00:19:24 +00:00
Assar Westerlund
5d4d7143d9
(libkrb5_la_LDFLAGS): bump version to 6:3:1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7641 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-20 22:05:02 +00:00
Assar Westerlund
1b12c75c63
(send_via_proxy): free data
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7630 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-20 00:58:47 +00:00
Assar Westerlund
5b87603dd0
(send_via_proxy): new function
...
use getaddrinfo instead of gethostbyname{,2}
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7629 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-20 00:58:17 +00:00
Assar Westerlund
b11d86b36c
use getaddrinfo instead of getnodebyname{,2}
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7628 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-20 00:57:37 +00:00
Assar Westerlund
b86d779a0b
bump version to 6:2:1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7617 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-17 05:21:41 +00:00
Assar Westerlund
790215124e
(krb5_sname_to_principal): handle ai_canonname not being set
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7608 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-16 11:48:25 +00:00
Assar Westerlund
644205aa07
(krb5_expand_hostname): handle ai_canonname not being set
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7607 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-16 11:47:22 +00:00