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
Assar Westerlund
15caebcec9
(krb5_425_conv_principal_ext): be more robust and handle extra dot at
...
the beginning of default_domain
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7584 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-12 00:59:52 +00:00
Assar Westerlund
5b62261127
bump version to 6:1:1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7578 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-12 00:12:35 +00:00
Assar Westerlund
90731395f4
(get_kdc_address): use `krb5_get_krb_changepw_hst'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7575 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-11 23:14:51 +00:00
Assar Westerlund
f378fbc40f
(krb5_get_krb_changepw_hst): add
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7574 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-11 23:14:25 +00:00
Assar Westerlund
2ba9607ad1
add support for _kerberos.domain (according to
...
draft-ietf-cat-krb-dns-locate-01.txt)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7573 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-11 23:14:07 +00:00
Assar Westerlund
11d0dc5d17
(krb5_change_password): use the correct address
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7568 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-07 04:48:33 +00:00
Assar Westerlund
cd5eb6c14b
bump version to 6:0:1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7559 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-06 19:49:25 +00:00
Assar Westerlund
661312f68b
re-write to use getaddrinfo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7492 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-04 18:02:18 +00:00
Assar Westerlund
032cf94b5b
(krb5_sname_to_principal): use getaddrinfo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7490 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-04 17:59:35 +00:00