Commit Graph

845 Commits

Author SHA1 Message Date
fvdl d2cc354307 Fix example: lib_defaults -> libdefaults, default_domain -> default_realm 2000-08-15 17:22:45 +00:00
thorpej dafbb1e2ea - Reference count MCC IDs, and garbage-collect them in destroy if
the ref count is 0, and in close if the ref count is 0 and the
  ID is dead (i.e. has been previously destroyed).
- Don't use temp files to generate unique MCC names; use ASCII
  representations of pointers to the malloc'd IDs, which is
  unique enough for our purposes.
- Dead IDs cause an ENOENT error, as would a dead FCC ID.

Per discussion w/ Johan Danielsson <joda@pdc.kth.se>.
2000-08-10 18:58:59 +00:00
thorpej 7dd4170cf5 Fix typos in some #if 0'd code. 2000-08-10 16:18:00 +00:00
thorpej 4ffaedfcde Fix the semantics of krb5_cc_close() and krb5_cc_destroy() for
the MCC.  They now match the semantics of the MIT krb5
implementation.
2000-08-10 15:51:20 +00:00
thorpej bae9616e91 Add support for multiple Memory Credendial Caches, like MIT has.
This fleshes out mcc_get_name(), mcc_resolve(), mcc_destroy().
2000-08-10 02:23:07 +00:00
thorpej 24ceace29d Add krb5_princ_type() and krb5_princ_size() that appear in the MIT
API but not in Heimdal, and add commented out empty versions of
krb5_princ_set_realm_length(), krb5_princ_set_realm_data(),
krb5_princ_name(), and krb5_princ_component(), which also appear
in the MIT API, but which cannot be implemented in Heimdal until
a change is made to how some data is represented internally (as
these API functions expose that, as foolish as that is, but
that's how MIT did it, and some applications use it).
2000-08-09 23:27:19 +00:00
thorpej 1435d15e40 Cause the kdc to write a pidfile in /var/run/kdc.pid and to
detach from the tty by default.  Add a [-D | --no-detach]
option to restore the old behavior (which is useful for
debugging).
2000-08-06 18:42:19 +00:00
thorpej e80d60fa71 Catch krb5_init_context() failure. 2000-08-06 17:59:15 +00:00
thorpej a240003d0c Plug a small memory leak. 2000-08-06 17:58:53 +00:00
thorpej e59093f4f7 Use socklen_t as appropriate, so that this compiles on LP64
systems.
2000-08-06 06:48:50 +00:00
assar de3878349f this was removed from the source 2000-08-03 03:39:02 +00:00
assar 9949e16264 merge back some hacks 2000-08-03 03:38:25 +00:00
assar f8815e6596 merge in 0.3a 2000-08-02 20:08:33 +00:00
assar 7f5f475a8b import of heimdal 0.3a 2000-08-02 19:57:59 +00:00
thorpej 5c4fddaabe In krb_get_default_realm(), before assuming our guessed default
realm is correct, check to see if we can find a KDC for it.  If
not, it can't possibly be the default realm, and we should return
the NO.DEFAULT.REALM error condition.

Per a discussion w/ Thor Simon <tls@netbsd.org>.
2000-08-02 05:24:37 +00:00
garbled e90fd304b7 Removed #ifndef's so this file can be included by compile_et and
asn1_compile when building host-tools on machines that don't have those
functions.
2000-08-02 02:44:06 +00:00
thorpej de40c8191d Return failure if there is no Kerberos 5 configuration file. 2000-07-16 18:27:53 +00:00
mrg 206c5781b6 des_random_key() returns void. 2000-07-16 09:57:53 +00:00
mrg 11e7166667 back out part of previous; des_random_key() returns void again. 2000-07-16 09:50:33 +00:00
mrg 542954c318 delete removed files. 2000-07-16 05:57:01 +00:00
mrg 8c7937883e merge cornflakes. 2000-07-16 05:55:10 +00:00
mrg 2429f6a29f OpenSSL 0.9.5a import. 2000-07-16 05:03:53 +00:00
thorpej c752ee0a92 Fix a thinko in previous that prevented libroken from getting
both version strings.
2000-07-15 17:02:17 +00:00
thorpej 39c394bb18 Define __KRB4_VERSION to get krb4 version strings. 2000-07-15 00:40:37 +00:00
veego 1a7d02624b Change the USELESS_CRYPTO check to MKCRYPTO_{IDEA,RC5,RSA}. 2000-07-05 13:57:15 +00:00
assar 231c9cbcf7 add man-pages for kf and kfd 2000-07-02 07:39:39 +00:00
fvdl 14d0802975 Dt -> Dd for date, otherwise this manpage looked unlike a manpage. 2000-06-26 23:28:46 +00:00
thorpej f3b213ec53 Do previous slightly differently, i.e. commit the change that I
had made to add the prototypes, but forgot to commit.  This version
more closely matches the crypto-us version it was derived from.
2000-06-22 13:59:13 +00:00
veego 61cad8ca49 Add missing prototypes for:
des_set_random_generator_seed, des_new_random_key and des_init_random_number_generator

This fix the compile problems in lib/libtelnet.
2000-06-22 09:01:42 +00:00
thorpej 63748d6387 Add two telnet-related items. 2000-06-22 07:15:02 +00:00
thorpej 8dd0fdd69b Fix printf formats on LP64. 2000-06-21 06:05:01 +00:00
thorpej 4696f48761 Remove pre-genereated info files. 2000-06-20 22:02:22 +00:00
thorpej b914f28687 Remove formatted manpages. 2000-06-20 22:00:14 +00:00
thorpej 4e81b0f0e5 One off the list. 2000-06-20 21:57:46 +00:00
thorpej 0fa81d1574 ...and a couple more. 2000-06-20 06:02:37 +00:00
thorpej efbc580022 One more. 2000-06-20 05:12:07 +00:00
thorpej 8b8fb98e91 Add an initial TODO list. This is based solely on things I encountered
while doing the Heimdal+KTH merge.
2000-06-20 05:03:04 +00:00
thorpej fddd47312e Version string is const. 2000-06-19 22:40:17 +00:00
thorpej c4dc11daa0 Const poison the version strings. 2000-06-19 20:51:53 +00:00
thorpej f6880b854b Import KTH Kerberos 4 from cryptosrc-intl. 2000-06-16 18:45:32 +00:00
thorpej 1af8b95994 Import Heimdal Kerberos 5 from cryptosrc-intl. 2000-06-16 18:31:35 +00:00
thorpej b50999826e Fixup the OpenSSL library builds. 2000-06-16 06:16:37 +00:00
thorpej 21b1800004 The pieces of OpenSSL missing from netbsd-cryptosrc-intl. 2000-06-16 05:28:49 +00:00
thorpej c3b6f3938c Common OpenSSL Makefile goo, from cryptosrc-intl. 2000-06-16 04:16:02 +00:00
thorpej 1dc0dc5fb1 Import OpenSSL 0.9.4 from netbsd-cryptosrc-intl. 2000-06-14 22:44:19 +00:00