Commit Graph

1414 Commits

Author SHA1 Message Date
Assar Westerlund
1fe7ab74f2 (krb5_get_init_creds_opt_set_anonymous): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8016 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-04 15:58:18 +00:00
Assar Westerlund
118976b768 (get_cred_kdc): update call of _krb5_extract_ticket
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8015 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-04 15:58:02 +00:00
Assar Westerlund
9c74183667 (_krb5_extract_ticket): new parameter to determine whetever to ignore
client name of not.  always copy client name from kdc.  fix callers.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8014 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-04 15:57:38 +00:00
Assar Westerlund
a4ffb65207 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8011 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-04 14:10:23 +00:00
Assar Westerlund
31433b7364 add man-page for verify_krb5_conf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8010 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-04 14:05:29 +00:00
Assar Westerlund
27fa07447a remove extra stuff that was comitted accidently
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8002 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-04 13:21:28 +00:00
Assar Westerlund
512cc88a95 (init_context_from_config_file): change rfc2052 default to no. 2782
says that underscore should be used.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-28 01:09:45 +00:00
Assar Westerlund
ee1912847a (fcc_initialize, fcc_store_cred): verify that stores and close succeed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7982 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-24 14:46:53 +00:00
Assar Westerlund
bbdf3d4912 (krb5_store_creds): check to see that the stores are succesful.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-24 14:46:01 +00:00
Assar Westerlund
320d8e3fda set version to 9:2:0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-23 03:20:45 +00:00
Assar Westerlund
e2f292367e (krb5_expand_hostname_realms): copy the correct hostname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-23 03:12:07 +00:00
Assar Westerlund
8e94c02d5b (krb5_expand_hostname): make sure that realms is filled in even when
getaddrinfo fails or does not return any canonical name


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7963 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-20 02:25:29 +00:00
Assar Westerlund
e27af32a63 set version to 9:1:0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7961 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-19 18:53:56 +00:00
Assar Westerlund
155d74d37c (krb5_parse_address): use krb5_sockaddr2address to copy the result
from getaddrinfo.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-16 02:09:00 +00:00
Assar Westerlund
de2d87e53a set version to 9:0:0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-13 20:35:49 +00:00
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