Commit Graph

1904 Commits

Author SHA1 Message Date
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
Assar Westerlund
bb7103b51e (man_MANS): add new manpages and sort them all
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10083 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-17 23:18:01 +00:00
Assar Westerlund
c9804d29c8 (krb5_verify_authenticator_checksum): use renamed
krb5_auth_con_getauthenticator


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10082 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-17 23:13:31 +00:00
Assar Westerlund
3a0a810bc5 (mcc_remove_cred): use krb5_free_creds_contents
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10081 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-17 23:13:02 +00:00
Assar Westerlund
e6e8d1c3f6 name function krb5_auth_con more consistenly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10080 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-17 23:12:34 +00:00
Assar Westerlund
d8e3b9edcd (krb524_convert_creds_kdc): update to use krb5_krbhst API
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-17 23:11:35 +00:00
Assar Westerlund
4c5fb0d0c5 (krb5_change_password): update to use krb5_krbhst API
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10077 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-17 23:11:06 +00:00
Assar Westerlund
016dcaae5f update to use krb5_krbhst API
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10076 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-17 23:10:16 +00:00
Assar Westerlund
9714727c3b (krb5_krbhst_get_addrinfo): add
set def_port in krb5_krbhst_info
(krb5_krbhst_free): free everything


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10075 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-17 23:09:46 +00:00
Assar Westerlund
ac3cc286cc (KRB5_VERIFY_NO_ADDRESSES): add
(krb5_krbhst_info): add def_port (default port for this service)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10074 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-17 23:08:33 +00:00
Assar Westerlund
7fd81134a3 make it more verbose and useful
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10072 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-17 12:22:59 +00:00
Assar Westerlund
2e11d16160 remove some more memory leaks
do not try any dns operations if there is local configuration
admin: fallback to kerberos.REALM
524: fallback to kdcs
kpasswd: fallback to admin
add some comments


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-17 12:22:36 +00:00
Johan Danielsson
a4b588a6a2 manpage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10059 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-16 23:00:55 +00:00
Assar Westerlund
e6e7efa20f (noinst_PROGRAMS): add krbhst-test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10058 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-16 22:53:51 +00:00
Assar Westerlund
65bfec1bcf program for testing krbhst
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10057 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-16 22:53:31 +00:00