Commit Graph

1322 Commits

Author SHA1 Message Date
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
Assar Westerlund
2589ecfe9c (krb524_convert_creds_kdc): look at the type of the session key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7104 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 20:42:22 +00:00
Assar Westerlund
4bd83e662f (krb5_enctypes_compatible_keys): spell correctly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7099 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 20:03:14 +00:00
Assar Westerlund
1ec163460b (krb5_compare_creds): fix spelling of krb5_enctypes_compatible_keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7098 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 20:02:55 +00:00
Assar Westerlund
839720a680 (krb524_convert_creds_kdc): get new credentials from the KDC if the
existing one doesn't have a DES session key.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7097 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 20:00:27 +00:00
Johan Danielsson
5766d52355 make krb5_akf_ops const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7074 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 14:46:57 +00:00
Johan Danielsson
46c33ed736 make krb5_mkt_ops const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7073 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 14:45:54 +00:00
Johan Danielsson
6bd5e351bf make krb5_fkt_ops const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7072 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 14:45:25 +00:00
Assar Westerlund
04f50d1e48 rewritten to allow error messages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7066 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-30 23:05:45 +00:00
Assar Westerlund
3992f65bce (bin_PROGRAMS): add verify_krb5_conf
(libkrb5_la_SOURCES): add config_file_netinfo.c


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7065 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-30 23:05:11 +00:00
Assar Westerlund
873d6f4b29 new file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7064 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-30 23:04:14 +00:00
Assar Westerlund
6b4615e2cb moved netinfo code here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7063 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-30 23:03:42 +00:00
Assar Westerlund
f9120155fd (krb5_verify_user_lrealm): ariant of krb5_verify_user that tries in
all the local realms


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7049 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-28 02:27:44 +00:00
Assar Westerlund
341016232c add support for having several default realms
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7048 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-28 02:27:16 +00:00
Assar Westerlund
0d3b242182 (krb5_kuserok): use `krb5_get_default_realms'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7047 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-28 02:26:39 +00:00
Assar Westerlund
5d57e42b58 (krb5_get_default_realms): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7046 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-28 02:25:54 +00:00