Commit Graph

1434 Commits

Author SHA1 Message Date
Assar Westerlund
4709124744 (krb5_store_stringz): const-ize parameter
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-11 00:46:09 +00:00
Assar Westerlund
ce39c13412 (find_all_addresses): apperently solaris can return EINVAL when the
buffer is too small.  cope.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-09 21:05:23 +00:00
Assar Westerlund
f921be44db (krb5_rd_safe): increment sequence number after comparing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-08 21:23:43 +00:00
Assar Westerlund
1f6160cdde (krb5_rd_priv): increment sequence number after comparing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-08 21:23:16 +00:00
Assar Westerlund
a232dfa398 (krb5_mk_safe): make `tmp_seq' unsigned
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-08 21:22:32 +00:00
Assar Westerlund
0e0393e32e (krb5_mk_priv): make `tmp_seq' unsigned
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-08 21:21:54 +00:00
Assar Westerlund
9f993c2c61 (krb5_generate_seq_number): make `seqno' be unsigned
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-08 21:20:45 +00:00
Assar Westerlund
c2f02c14aa (krb5_mk_safe): increment local sequence number after the fact and
only increment it if we were successful


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-08 21:18:53 +00:00
Assar Westerlund
4e1d7bd209 (krb5_mk_priv): increment local sequence number after the fact and
only increment it if we were successful


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-08 21:18:28 +00:00
Assar Westerlund
a8103bc237 (krb5_auth_context_data): make sequence number unsigned
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-08 21:16:45 +00:00
Assar Westerlund
5d80214b41 (krb5_get_init_creds_password): `in_tkt_service' can be NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-08 21:15:45 +00:00
Assar Westerlund
2c14f9c82e add some error codes from pkinit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-06 00:41:37 +00:00
Assar Westerlund
fc8cf4aad4 set version to 10:0:0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8095 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-03 00:12:18 +00:00
Assar Westerlund
cb34056dd0 fix typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-02 21:43:18 +00:00
Assar Westerlund
1c58dccd77 (krb5_425_conv_principal_ext): add some comments. add fall-back on
adding the realm name in lower case.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8083 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-30 14:03:27 +00:00
Assar Westerlund
33b253a30a (print_expire): do not assume anything about the size of time_t,
i.e. make it 64-bit happy


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-27 00:30:00 +00:00
Assar Westerlund
6df8ed90f7 add Id
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8051 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-23 03:38:25 +00:00
Assar Westerlund
fa6ac6f397 (krb5_get_init_creds_password): evil hack to avoid recursion
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8029 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-10 19:32:47 +00:00
Assar Westerlund
b9392bf482 (krb5_get_init_creds_opt): add `anonymous' and KRB5_GET_INIT_CREDS_OPT_ANONYMOUS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8018 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-04 15:59:37 +00:00
Assar Westerlund
9e5b6ffc2f (get_init_creds_common): set request_anonymous flag appropriatly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8017 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-04 15:58:44 +00:00
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