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
Johan Danielsson
7e7111d259
fix typo in obviously never used sysctl case
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10134 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-20 00:00:38 +00:00
Johan Danielsson
c53a2134ed
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-19 23:53:35 +00:00
Johan Danielsson
99c4509d73
rename check_status to wait_for_process, and export it; function
...
pipe_execv similar to popen, but with more control over input and
output
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-19 23:53:23 +00:00
Johan Danielsson
4214063de9
prototypes for wait_for_process and pipe_execv
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-19 23:52:08 +00:00
Assar Westerlund
c5262981c5
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-19 16:39:30 +00:00
Assar Westerlund
060c8f4a91
(_kafs_realm_of_cell): changed to first try exact match in CellServDB,
...
then exact match in DNS, and finally in-exact match in CellServDB
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-19 16:38:53 +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
99f53c4c8b
new krb524_convert_creds_kdc_ccache
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 13:11:33 +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
9814c4c869
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 02:55:31 +00:00
Assar Westerlund
4449713b87
replace gss_krb5_getsomekey with gss_krb5_get_localkey and
...
gss_krb5_get_remotekey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 02:53:52 +00:00
Assar Westerlund
5a6138360e
update krb5_auth_con function names
...
use gss_krb5_get_remotekey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10099 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 02:52:54 +00:00
Assar Westerlund
79230887c1
(gss_krb5_get_remotekey, gss_krb5_get_localkey): add prototypes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10098 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 02:50:46 +00:00
Assar Westerlund
62bf188177
update krb5_auth_con function names
...
use gss_krb5_get_localkey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10097 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 02:50:15 +00:00
Assar Westerlund
1b6b543306
update krb5_auth_con function names
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10096 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 02:49:53 +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