Commit Graph

1822 Commits

Author SHA1 Message Date
Johan Danielsson
95f25d1c1b sort references (from Thomas Klausner)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-11-09 09:38:29 +00:00
Johan Danielsson
971c749b15 add section to reference (from Thomas Klausner)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-11-09 09:36:51 +00:00
Johan Danielsson
124262d993 white space fixes (from Thomas Klausner)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10786 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-11-09 09:35:45 +00:00
Johan Danielsson
22ec4ec0f4 remove extra white space (from Thomas Klausner)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10785 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-11-09 09:34:46 +00:00
Assar Westerlund
6ec3f169e0 remove old comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10769 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-22 12:45:43 +00:00
Assar Westerlund
2d5ce19c5f make all high-level encrypting and decrypting functions check the
return value of the underlying function and handle errors more
consistently.  noted by Sam Hartman <hartmans@mit.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10767 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-22 01:20:34 +00:00
Assar Westerlund
d9aedd0fd1 (enctype_arcfour_hmac_md5): actually use a non-keyed checksum when it
should be non-keyed


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10763 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-20 22:02:30 +00:00
Assar Westerlund
386d4050fb (KRB5_KPASSWD_*): set correct values
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10747 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-27 01:31:53 +00:00
Assar Westerlund
41e3066975 (krb5_passwd_result_to_string): add
change to use sequence numbers
connect the udp socket so that we can figure out the local address


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-27 01:29:12 +00:00
Johan Danielsson
711a1c5f24 (krb5_425_conv_principal_ext): try using lower case realm as domain,
but only when given a verification function


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10734 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-20 09:46:20 +00:00
Johan Danielsson
1a78a777da (krb5_set_default_realm): make realm parameter const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-18 09:43:31 +00:00
Johan Danielsson
411a281c4a (krb5_get_init_creds_keytab): free key proc data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10720 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-18 09:36:39 +00:00
Johan Danielsson
b9874f0d1b (krb5_expand_hostname_realms): free addrinfo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-18 09:35:47 +00:00
Assar Westerlund
03d4aabba3 (krb5_appdefault_{boolean,string,time): make realm const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10701 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-16 04:48:55 +00:00
Assar Westerlund
5c99ba3d29 use des functions to avoid generating warnings with openssl's
prototypes


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10700 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-16 04:48:05 +00:00
Assar Westerlund
7bd664a765 (INCLUDES): search for files in com_err's source directory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10674 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-08 03:48:39 +00:00
Assar Westerlund
cc4735d386 (INCLUDES:) make sure of finding com_err include files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10668 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-06 12:19:16 +00:00
Jacques A. Vidrine
9bcf79a769 We can't share the krb5_data structure with multiple prompts. This
fixes password expiration in krb5_init_creds_password.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-05 17:40:03 +00:00
Assar Westerlund
32e654f748 (krb5_print_address): handle snprintf returning < 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10650 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-03 19:53:51 +00:00
Assar Westerlund
f879fea593 (krb5_print_address): fix typo found by hin@stacken.kth.se
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10649 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-03 19:45:53 +00:00
Assar Westerlund
2bd2af429a include err.h (for errx)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10645 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-03 05:42:35 +00:00
Johan Danielsson
a9c22f3a66 also check libdefaults, and realms/realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10610 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-31 09:25:26 +00:00
Johan Danielsson
1702411f48 (krb5_free_context): free more stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10609 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-31 08:00:15 +00:00
Johan Danielsson
fd07afcd82 do some checks of the values in the file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10605 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-30 18:57:39 +00:00
Johan Danielsson
b3b7b140cc remove srv_try_txt, fix spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10604 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-30 18:54:01 +00:00
Johan Danielsson
5c2eadbae5 don't init srv_try_txt, since it isn't used anymore
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-30 18:22:41 +00:00
Assar Westerlund
e4b2010933 (libkrb5_la_LDFLAGS): set versoin to 18:2:1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-27 22:52:42 +00:00
Assar Westerlund
aad564d1c2 re-write the handling of crypto libraries. try to use the one of
openssl's libcrypto or krb4's libdes that has all the required
functionality (md4, md5, sha1, des, rc4).  if there is no such
library, the included lib/des is built.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-22 20:30:33 +00:00
Johan Danielsson
4a118deffb (krb5_sockaddr_uninteresting): don't try to call uninteresting
function if not defined by address family


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-13 13:23:53 +00:00
Assar Westerlund
ef3da63604 (man_MANS): add some missing man pages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10428 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-04 03:09:43 +00:00
Assar Westerlund
2169674fc9 (libkrb5_la_LDFLAGS): update version to 18:1:1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10402 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-31 00:25:58 +00:00
Assar Westerlund
6403986161 (init_context_from_config_file): check parsing of addresses
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-27 12:29:32 +00:00
Assar Westerlund
62d0b2a09a (krb5_sock_to_principal): rename sa_len -> salen to avoid the macro
that's defined on irix.  noted by "Jacques A. Vidrine" <n@nectar.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10396 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-26 09:05:30 +00:00
Johan Danielsson
68b76a3aee add support for type KRB5_ADDRESS_ADDRPORT
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10393 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-24 12:07:20 +00:00
Johan Danielsson
3f57fc8ae8 (krb5_address_order): complain about unsuppored address types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10391 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-24 11:34:37 +00:00
Assar Westerlund
7494f8e02a (krb5_fwd_tgt_creds): make it behave the same way as the MIT function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10373 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-19 17:33:22 +00:00
Assar Westerlund
6f91f5bda4 (libkrb5_la_LDFLAGS): bump version to 18:0:1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10369 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-19 17:28:35 +00:00
Assar Westerlund
523e2050f2 (krb5_sock_to_principal): use getnameinfo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10364 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-19 16:57:40 +00:00
Assar Westerlund
0f1b7c5a0e (srv_find_realm): handle port numbers consistenly in local byte order
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10363 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-19 16:57:15 +00:00
Assar Westerlund
6b9775e915 (krb5_get_default_realm): set an error string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10362 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-19 16:55:27 +00:00
Assar Westerlund
b7b4d068d2 (krb5_principal_get_type): add
(default_v4_name_convert): add "smtp"


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10352 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-19 15:51:24 +00:00
Assar Westerlund
19aff2e7fb references and see also fixups from Ruslan Ermilov <ru@FreeBSD.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-12 08:42:28 +00:00
Assar Westerlund
adfd040a69 (krb5_get_extra_addresses): add missing context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-09 15:06:47 +00:00
Assar Westerlund
f055cc84f7 (krb5_sock_to_principal): copy hname before calling
krb5_sname_to_principal.  from "Jacques A. Vidrine" <n@nectar.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10298 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-09 14:40:35 +00:00
Johan Danielsson
ae5432e0ea use krb5_copy_addresses instead of copy_HostAddresses
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-08 18:15:31 +00:00
Assar Westerlund
d78a021a3f (send_via_proxy): initialize a variable to make gcc's optimizer happy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-03 19:35:46 +00:00
Assar Westerlund
013de43918 (krb5_get_server_rcache): cast argument to printf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-03 19:33:13 +00:00
Assar Westerlund
47db784d92 (get_cred_kdc_la): fix typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-03 18:45:03 +00:00
Assar Westerlund
2c09137118 (find_all_addresses): call free_addresses on ignore_addresses
correctly


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10274 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-03 18:43:57 +00:00
Assar Westerlund
49d467e401 (krb5_get_init_creds_opt_set_default_flags): change to take a const
realm


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-03 18:42:07 +00:00