Commit Graph

1904 Commits

Author SHA1 Message Date
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
Assar Westerlund
1bf7edf5d5 (libkrb5_la_LDFLAGS): set version to 17:0:0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10250 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 23:51:53 +00:00
Johan Danielsson
edf267689b now included in addr_families.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10244 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 22:33:35 +00:00
Johan Danielsson
68ab665be4 address.c is no more; add a couple of manpages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10243 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 22:33:10 +00:00
Johan Danielsson
fd0780d382 new manpage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10242 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 22:32:03 +00:00
Johan Danielsson
e935d25883 (init_as_req): treat no addresses as wildcard
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10241 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 22:30:48 +00:00
Johan Danielsson
c1943c71a9 (get_cred_kdc_la): treat no addresses as wildcard
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10240 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 22:30:07 +00:00
Johan Danielsson
73326d079c don't include client addresses that match ignore_addresses
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10239 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 22:28:09 +00:00
Johan Danielsson
b8310059d5 initialise ignore_addresses
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10238 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 22:27:26 +00:00
Johan Danielsson
abc905d3c9 add new `arange' fake address type, that matches more than one
address; this required some internal changes to many functions, so all
of address.c got moved here (wasn't much left there)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 22:26:42 +00:00
Johan Danielsson
d38ee46e9d add list of ignored addresses to context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 22:24:46 +00:00
Assar Westerlund
af8d40bb9f (krb5_425_conv_principal_ext): if the instance is the first component
of the local hostname, the converted host should be the long
hostname.  from <shadow@dementia.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10235 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 22:21:19 +00:00
Johan Danielsson
522fb8a6fd remove priv parameter from write_safe_message; don't know why it was
there in the first place


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10221 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 18:43:06 +00:00
Assar Westerlund
846c5648d8 add krb524_server documentation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10212 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 16:09:13 +00:00
Assar Westerlund
3a29a65b2a remember the real port number when falling back from kpasswd ->
kadmin, and krb524 -> kdc


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10210 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-01 16:07:32 +00:00
Assar Westerlund
56493b2986 (krb5_get_forwarded_creds): if no_addresses is set, do not add any
local addresses to KRB_CRED


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-29 19:49:06 +00:00
Johan Danielsson
6d909c2713 set renew-life to some sane value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10202 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-29 16:47:01 +00:00
Assar Westerlund
f6d6c648dd (krb5_rd_cred): check calloc return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-29 14:53:44 +00:00
Assar Westerlund
064bfefd09 new man-page
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-27 17:08:04 +00:00