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
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
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
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
21b1800004
The pieces of OpenSSL missing from netbsd-cryptosrc-intl.
2000-06-16 05:28:49 +00:00
thorpej
1dc0dc5fb1
Import OpenSSL 0.9.4 from netbsd-cryptosrc-intl.
2000-06-14 22:44:19 +00:00