Commit Graph

1338 Commits

Author SHA1 Message Date
Johan Danielsson
5196926ac0 (rr13): handle zero length bit strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6880 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-27 09:03:41 +00:00
Johan Danielsson
92c4c345c6 krb5_get_all_server_addrs shouldn't return extra addresses
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6879 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-27 09:02:23 +00:00
Johan Danielsson
5ac5a33197 (krb5_append_addresses): remove duplicates
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6876 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-27 08:26:49 +00:00
Johan Danielsson
74efd057cb (krb5_kt_{start_seq_get,next_entry,end_seq_get}): check for NULL
pointer


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6869 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-25 21:10:10 +00:00
Johan Danielsson
77899b77db add OPNOTSUPP
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6868 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-25 20:49:17 +00:00
Assar Westerlund
8a0a53244b (IN6_ADDR_V6_TO_V4): use `s6_addr' instead of the non-standard
`s6_addr32'.  From Yoshinobu Inoue <shin@kame.net> by way of the KAME
repository


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6860 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-23 21:05:37 +00:00
Assar Westerlund
00498d48e2 (etypes): remove NEW_DES3_CODE, enable des3-cbc-sha1 and keep
old-des3-cbc-sha1 for backwards compatability


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6834 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-18 19:33:31 +00:00
Assar Westerlund
927defabec (krb5_enctype): des3-cbc-sha1 (with key derivation) just got assigned
etype 16 by <bcn@isi.edu>.  keep the old etype at 7.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6833 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-18 19:32:02 +00:00
Assar Westerlund
dc2265338a (krb5_sendauth): only look at errno if krb5_net_read actually returns
-1


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6829 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:46:52 +00:00
Assar Westerlund
5381567d9b (krb5_recvauth): only look at errno if krb5_net_read actually returns
-1


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6828 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:46:22 +00:00
Assar Westerlund
c899f25ff1 (get_addrs_int): try the different ways sequentially instead of just
one.  this helps if your heimdal was built with v6-support but your
kernel doesn't have it, for example.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6806 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-13 00:10:08 +00:00
Assar Westerlund
aef4b5add5 (krb5_sname_to_principal): remember to call freehostent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6757 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-05 12:23:07 +00:00
Assar Westerlund
fb7bb330b4 type correctness
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6728 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:20:11 +00:00
Assar Westerlund
a504bebc76 (krb5_fwd_tgs_creds): set forwarded in flags. From Miroslav Ruda
<ruda@ics.muni.cz>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6727 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:19:40 +00:00
Assar Westerlund
9f1162bd9b (parse_list): don't run past end of line
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6701 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 06:38:36 +00:00
Assar Westerlund
6c7d3fb944 (n_fold_test_LDADD): need to set this otherwise it doesn't build with
shared libraries


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6688 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-03 14:10:35 +00:00
Assar Westerlund
c5f87604f1 (krb5_mk_req): use krb5_expand_hostname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6670 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-31 22:55:07 +00:00
Assar Westerlund
9b481dec7f (krb5_get_host_realm_int): new function that takes a FQDN
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6669 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-31 04:49:46 +00:00
Assar Westerlund
14ad47a68d (libkrb5_la_SOURCES): add exapdn_hostname.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6668 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-31 04:48:59 +00:00
Assar Westerlund
d96b595bbd new file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6667 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-31 04:48:21 +00:00
Assar Westerlund
e72802dafe bump version to 3:1:0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6636 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-28 13:46:34 +00:00
Assar Westerlund
1d4d371cde (krb5_sname_to_principal): use getipnodebyname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6615 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-28 03:23:26 +00:00
Johan Danielsson
b2e5be143b bump version number (changed function signatures)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6600 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-26 13:02:06 +00:00
Assar Westerlund
1e565a0bca set version to 3:0:2
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6586 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-26 11:30:55 +00:00
Assar Westerlund
99da56bf7a lots of changes from size_t to ssize_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6554 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-26 00:50:43 +00:00
Assar Westerlund
b6869bc38c lots of changes from size_t to ssize_t
(krb5_ret_stringz): check return value from realloc


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6553 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-26 00:49:56 +00:00
Assar Westerlund
b49a25f1a8 some type correctness
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6552 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-26 00:47:04 +00:00
Assar Westerlund
577d8c8e72 (krb5_storage): change return values of functions from size_t to
ssize_t


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6551 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-26 00:46:31 +00:00
Assar Westerlund
b6e362688c (find_all_addresses): try to use SA_LEN to step over addresses if
there's no `sa_lan' field


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6537 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-24 19:53:19 +00:00
Assar Westerlund
0c38bc4cdb (krb5_sock_to_principal): simplify by using `struct sockaddr_storage'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6528 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-24 18:43:03 +00:00
Assar Westerlund
653f6dbe29 (krb5_sendto_kdc): simplify by using `struct sockaddr_storage'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6527 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-24 18:42:47 +00:00
Assar Westerlund
a269eaa059 (krb5_change_password): simplify by using `struct sockaddr_storage'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6526 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-24 18:42:22 +00:00
Assar Westerlund
01ffcdd1c2 (krb5_auth_con_setaddrs_from_fd): simplify by using `struct sockaddr_storage'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6525 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-24 18:41:57 +00:00
Assar Westerlund
4839812e86 conditionalize on HAVE_IPV6 instead of AF_INET6
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6519 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-24 11:02:33 +00:00
Assar Westerlund
4ff4b6c5f0 (find_all_addresses): try to handle the case of getting back an
`sockaddr_in6' address when sizeof(struct sockaddr_in6) >
sizeof(struct sockaddr) and we have no sa_len to tell us how large the
address is.  This obviously doesn't work with unknown protocol types.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6514 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-24 00:45:14 +00:00
Assar Westerlund
e68dfb6cc8 (main): print the correct data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6490 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-22 11:45:33 +00:00
Assar Westerlund
770a0aab91 update to new format for cpp define SunOS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6480 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-22 02:58:32 +00:00
Assar Westerlund
e89c2166db new tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6467 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-14 21:07:02 +00:00
Assar Westerlund
fa1515c076 add string_to_key_test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6465 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-14 20:57:52 +00:00
Assar Westerlund
583ed2cb9b (krb5_program_setup): always initialize the context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-14 20:57:02 +00:00
Assar Westerlund
5af4587f1b (main): return a relevant return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6463 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-14 15:37:49 +00:00
Assar Westerlund
439ad99768 do SRV lookups for admin server as well.
some clean-up.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6462 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-14 14:02:12 +00:00
Assar Westerlund
f80e282f5b (ipv6_parse_addr): remove duplicate variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6432 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-06 12:17:34 +00:00
Assar Westerlund
8b852df2ff (ipv6_sockaddr2port): fix typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6431 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-06 12:16:47 +00:00
Assar Westerlund
d29c0e7838 (krb5_cc_resolve): fall-back to files if there's no prefix. also
clean-up a little bit.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6424 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-06 00:40:58 +00:00
Assar Westerlund
0117755210 test program
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6420 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-05 00:21:09 +00:00
Assar Westerlund
849381ffe0 (add_padat): encrypt pre-auth data with all enctypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6411 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-04 15:42:35 +00:00
Assar Westerlund
b68a6ee7f1 (unparse_name): error check malloc properly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6400 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:34:20 +00:00
Assar Westerlund
5a2a11f6e6 (krb5_init_etype): error check malloc properly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6399 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:33:32 +00:00
Assar Westerlund
9230f6de40 (*): do some malloc return-value checks properly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6397 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:32:51 +00:00