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
Assar Westerlund
a066c202cd
add krb5_verify_user.3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10193 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-27 15:53:40 +00:00
Assar Westerlund
b2848e8199
(krb5_storage_from_fd): check malloc returns
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10190 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-24 05:39:51 +00:00
Assar Westerlund
99e55f95aa
add back INLCUDE_krb4
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-24 02:59:34 +00:00
Assar Westerlund
9c4c1af181
(any_resolve): make use of strsep_copy more consistent
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-24 02:22:33 +00:00
Assar Westerlund
af69003d76
(any_resolve); improving parsing of ANY:
...
(any_start_seq_get): remove a double free
(any_next_entry): iterate over all (sub) keytabs and avoid leave data
around to be freed again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-24 01:50:52 +00:00
Assar Westerlund
8541ff7dc5
add .Nd - from <hin@stacken.kth.se>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-24 00:53:18 +00:00
Assar Westerlund
0d445edfe7
(krb5_context_data): remove srv_try_rfc2052
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10180 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-23 22:51:16 +00:00
Assar Westerlund
8f3d128448
change text
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-23 22:35:19 +00:00
Assar Westerlund
05b44561ca
remove an unused variable and add a const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-23 22:33:10 +00:00
Assar Westerlund
1efa36a83c
update to changed names used by
...
krb5_get_init_creds_opt_set_default_flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10165 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-21 20:45:20 +00:00
Assar Westerlund
19da8a46fc
(krb5_get_init_creds_opt_set_default_flags): make the appdefault
...
keywords have the same names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-21 20:44:28 +00:00
Assar Westerlund
a81e5ce960
(fallback_get_hosts): do not copy trailing . of hostname
...
add some comments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-21 14:37:09 +00:00
Assar Westerlund
e632f28f2e
add krb5_krbhst_format_string and krb5_krbhst_get_addrinfo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-21 14:35:21 +00:00
Assar Westerlund
789f49bc82
use getaddrinfo instead of dns_lookup when testing for
...
kerberos.REALM. this allows reusing that information when actually
contacting the server and thus avoids one DNS lookup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-21 04:05:28 +00:00