Commit Graph

1768 Commits

Author SHA1 Message Date
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
Assar Westerlund
de04c2dd41 removed the errors that were moved to k524_err.et
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-21 03:51:36 +00:00
Johan Danielsson
9a341998fe include k524_err.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-20 02:50:56 +00:00
Johan Danielsson
45c040bf79 typo in previous
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-20 02:49:21 +00:00
Johan Danielsson
5dfcdf88e7 (krb524_convert_creds_kdc): don't test for keytype, the server will do
this for us if it has anything to complain about


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-20 02:47:31 +00:00
Johan Danielsson
4c4bd319e7 add protocol compatible krb524 error codes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-20 02:45:58 +00:00
Johan Danielsson
cbfff02d1e manpage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-20 01:14:49 +00:00
Johan Danielsson
cbc173cc05 add functions `krb5_principal_get_realm' and
`krb5_principal_get_comp_string' that returns parts of a principal;
this is a replacement for the internal `krb5_princ_realm' and
`krb5_princ_component' macros that everyone seem to use


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-20 00:57:50 +00:00
Johan Danielsson
515dc46007 (krb5_mk_req_exact): free creds when done
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10121 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 20:05:52 +00:00
Johan Danielsson
dbe9dbe36e (krb5_string_to_key_derived): leak less memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10118 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 16:55:41 +00:00
Johan Danielsson
6e224ff15f (config_get_hosts): free hostlist
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10117 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 16:41:18 +00:00
Assar Westerlund
494e4c27a5 (krb5_sendto): remove an extra freeaddrinfo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 12:40:04 +00:00
Assar Westerlund
1860d849d6 (krb524_convert_creds_kdc_ccache): remove some unused variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10111 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 12:39:35 +00:00
Assar Westerlund
67897d708b (admin_get_next): spell kerberos correctly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 05:48:16 +00:00
Johan Danielsson
682a765b59 add some krb524 error codes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10108 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 04:24:46 +00:00
Assar Westerlund
67934559ea (krb5_rd_req): use krb5_auth_con* functions and remove some comments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10095 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 02:48:18 +00:00
Assar Westerlund
22c9e98986 (krb5_rd_safe): pick the keys in the right order: remote - local - session
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 02:47:30 +00:00
Assar Westerlund
0328da9cc9 (krb5_rd_rep): save the remote sub key in the auth_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10093 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 02:46:53 +00:00
Assar Westerlund
4e1e50b657 (krb5_rd_priv): pick keys in the correct order: remote - local - session
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 02:46:15 +00:00
Assar Westerlund
a1f1df4d51 (krb5_mk_safe): pick keys in the right order, local - remote - session
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 02:45:15 +00:00
Assar Westerlund
e1074a9830 remove comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10090 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 02:44:54 +00:00
Johan Danielsson
c38844ce24 use starttime instead of authtime, from Chris Chiappa
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10088 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 01:47:52 +00:00
Johan Danielsson
b70c6b82df make krb524_convert_creds_kdc match the MIT function by the same name;
add krb524_convert_creds_kdc_ccache that does what the old version did


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 01:45:41 +00:00