Commit Graph

5821 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
Assar Westerlund
6aa39985d7 moved to ../vers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10234 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 22:12:35 +00:00
Johan Danielsson
e55ce037ed x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10229 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 20:11:41 +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
Johan Danielsson
46ac306d98 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-29 16:45:50 +00:00
Johan Danielsson
adb1ef4618 call krb5_get_init_creds_opt_set_default_flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-29 16:45:34 +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
bc34c3ec29 (des_not_rand_data): conditionalize on HAVE_SETITIMER
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-29 14:27:36 +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
b6ea1534fd add >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10182 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-23 23:18:50 +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
74db156c49 add a missing <string.h>, noted by Staffan Thomen <duck@multi.fi>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10178 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-23 22:43:08 +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
2d4c9925bd remove duplicate check_der in TESTS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-23 21:41:33 +00:00
Johan Danielsson
6eb138dc15 use krb5_add_et_list
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-21 22:09:41 +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
Johan Danielsson
4c1667b6be add generation number
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-21 14:56:29 +00:00
Johan Danielsson
8382f5f001 add generation number code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-21 14:55:51 +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
Johan Danielsson
3e49adeb61 use krb5_storage to make it more dynamic
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-21 13:43:25 +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
Assar Westerlund
cad734f23d *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-21 03:39:51 +00:00
Assar Westerlund
7a6618569d (pipe_execv): remove unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-21 03:38:03 +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
457a5e072e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-20 00:01:55 +00:00