Commit Graph

1337 Commits

Author SHA1 Message Date
Johan Danielsson
b75cfd368f ARCFOUR_set_key -> RC4_set_key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7461 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 15:03:06 +00:00
Assar Westerlund
3eeca33e57 (ARCFOUR_string_to_key): change order of bytes within unicode
characters.  this should probably be done in some arbitrarly complex
way to do it properly and you would have to know what character
encoding was used for the password and salt string.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7426 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-23 09:01:15 +00:00
Assar Westerlund
1d51e06d60 (ipv4_uninteresting): ignore 0.0.0.0 (INADDR_ANY)
(ipv6_uninteresting): remove unused macro


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7424 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-23 02:20:18 +00:00
Johan Danielsson
48b2840818 rc4->arcfour
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7422 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-22 14:57:13 +00:00
Assar Westerlund
d5c25825c9 add <rc4.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7412 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-17 21:23:25 +00:00
Assar Westerlund
f9f4064e50 (krb5_keytype): add KEYTYPE_RC4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7411 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-17 21:19:23 +00:00
Assar Westerlund
a913b91c3d (get_addrs_int): fix typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7409 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-17 16:38:09 +00:00
Assar Westerlund
032a510b3e some code for doing RC4/MD5/HMAC which might not be totally different
from some small company up in the north-west corner of the US


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7408 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-17 16:36:48 +00:00
Assar Westerlund
7fea1f8f7c (find_all_addresses): change code to actually increment buf_size
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7402 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-17 06:10:42 +00:00
Assar Westerlund
e24e50a902 (krb5_context_data): add `scan_interfaces'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7396 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-14 16:47:13 +00:00
Assar Westerlund
c2d47bfa01 (krb5_get_all_client_addrs): make interaces scanning optional
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7395 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-14 16:46:54 +00:00
Assar Westerlund
22c477a1d0 (init_context_from_config_file): set `scan_interfaces'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7394 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-14 16:46:30 +00:00
Assar Westerlund
3a857cd658 (libkrb5_la_SOURCES): add add_et_list.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7393 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-14 16:45:20 +00:00
Assar Westerlund
e42893b955 new file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7392 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-14 16:33:56 +00:00
Assar Westerlund
550eada60d remove some unused stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7387 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-13 20:37:21 +00:00
Assar Westerlund
0762845893 (krb5_get_default_realm, krb5_get_default_realms): set realms if they
were unset


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7386 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-13 20:36:55 +00:00
Assar Westerlund
f42645d90d (init_context_from_config_file): don't initialize default realms
here.  it's done lazily instead.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7385 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-13 20:36:06 +00:00
Assar Westerlund
3a70d6b1cc (KRB5_TC_*): make constants unsigned
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7374 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-13 04:17:05 +00:00
Assar Westerlund
4e5a924e40 (krb5_get_in_cred): generate preauthentication information if we get
back ERR_PREAUTH_REQUIRED


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7358 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-12 16:12:52 +00:00
Assar Westerlund
57e671a740 (krb5_get_init_creds_password): remove preauthentication generation
code.  it's now in krb5_get_in_cred


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7357 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-12 16:12:04 +00:00
Assar Westerlund
403d675b1c remove extra character
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7356 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-12 16:00:44 +00:00
Johan Danielsson
9372950a30 remove DES3_postproc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7342 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-09 18:18:02 +00:00
Assar Westerlund
7df6768a97 bump version to 5:0:0 to be safe (krb5_context_data has changed and
some code do (might) access fields directly)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7307 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-04 02:14:31 +00:00
Assar Westerlund
7ef7019313 (krb5_context_data): add `etypes_des'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7304 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-04 01:58:06 +00:00
Assar Westerlund
e8adec5d9e add default_etypes_des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7303 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-04 01:57:28 +00:00
Assar Westerlund
7d24f6e41b (init_tgs_req): use krb5_keytype_to_enctypes_default
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7302 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-04 01:57:17 +00:00
Assar Westerlund
477dea8523 (krb5_keytype_to_enctypes_default): new function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7301 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-04 01:56:50 +00:00
Assar Westerlund
92550ff1f4 (set_etypes): new function
(init_context_from_config_file): set both `etypes' and `etypes_des'


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7300 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-04 01:56:28 +00:00
Assar Westerlund
aff9338312 (krb5_parse_name): check memory allocations
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7282 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 23:37:40 +00:00
Assar Westerlund
9a7ad76ce5 (print_tree): check for empty tree
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7279 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 23:22:41 +00:00
Assar Westerlund
113f189fcf (tests): update the test cases with empty principals so that they
actually use an empty realm and not the default.  use the correct
etype for 3DES


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7277 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 23:10:38 +00:00
Assar Westerlund
82df94e7c5 bump version to 4:1:0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7254 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 18:26:37 +00:00
Assar Westerlund
9ab9be8fbb bump version to 4:0:0 (krb524_convert_creds_kdc and potentially some
other functions have changed prototypes)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7202 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-19 23:45:56 +00:00
Assar Westerlund
ac758c76d9 (krb5_mk_req): remove unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7196 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-19 22:57:24 +00:00
Assar Westerlund
565d4db9d3 (main): support speicifying the configuration file to test on the
command line


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7194 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-19 22:16:20 +00:00
Assar Westerlund
5c3b3dfe12 (parse_binding): handle line with no whitespace before =
(krb5_config_parse_file_debug): set lineno earlier so that we don't
use it unitialized


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7193 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-19 22:15:11 +00:00
Assar Westerlund
cfe063f6c2 (krb5_set_default_realm): use krb5_config_get_strings, which means
that your configuration file should look like:

[libdefaults]
  default_realm = realm1 realm2 realm3


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7190 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-19 17:53:06 +00:00
Assar Westerlund
0df69d2f2d (config_binding_to_list): fix copy-o. From Michal Vocu
<michal@karlin.mff.cuni.cz>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7189 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-19 15:57:45 +00:00
Assar Westerlund
1b7b385f9b move around _SOURCES to make fix-export happier
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7174 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-17 16:42:01 +00:00
Assar Westerlund
1d35aa3ab8 (krb5_get_wrapped_length): more correct calculation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7150 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-17 06:41:35 +00:00
Johan Danielsson
afb9f7f509 (krb5_enctype_to_keytype): remove warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7138 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-12 09:29:10 +00:00
Assar Westerlund
a74d27d3d7 const-ize
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7130 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-10 04:55:28 +00:00
Assar Westerlund
41d5fed9f9 (krb5_ccache_data): make `ops' const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7129 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-10 04:55:04 +00:00
Assar Westerlund
7754e0c22a more const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7128 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-10 04:54:24 +00:00
Assar Westerlund
78e6a32f6e (krb5_string_to_salttype): new function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7127 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-10 04:53:44 +00:00
Assar Westerlund
259eaea46c (krb5_mk_req): use krb5_free_host_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7123 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-10 01:23:04 +00:00
Assar Westerlund
9aeb7874f3 (krb5_compare_creds): const-ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7120 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-06 16:28:48 +00:00
Assar Westerlund
4170031efa clean-up and comment-up
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7119 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-06 16:28:06 +00:00
Assar Westerlund
5b0e0abca5 (krb5_copy_host_realm): copy all the strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7117 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-06 15:02:23 +00:00
Assar Westerlund
95b090b41c (krb5_verify_user_lrealm): free the correct realm part
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7116 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-06 13:18:04 +00:00