Commit Graph

206 Commits

Author SHA1 Message Date
thorpej
ac356314da Document:
- forwardable ([libdefaults] and [realms])
- proxiable ([libdefaults] and [realms])
- date_format ([libdefaults])
- srv_lookup ([libdefaults])
- srv_try_txt ([libdefaults])
- scan_interfaces ([libdefaults])
- fcache_version ([libdefaults])
2001-03-08 17:53:46 +00:00
thorpej
bda8951f6b Plug some memory leaks. 2001-03-08 04:12:08 +00:00
joda
ce75fa5829 removed in 0.3e 2001-02-16 15:34:39 +00:00
assar
43c24b8340 undef ECHO to avoid a warning from the lex-generated code 2001-02-11 17:59:15 +00:00
assar
7a01412798 fix merg-up 2001-02-11 17:58:27 +00:00
assar
657da009a2 fix texinfo mark-up bug 2001-02-11 17:56:09 +00:00
assar
465ad8fda9 fix merge-ups 2001-02-11 16:08:41 +00:00
assar
be890e9bcf fix merge conflicts 2001-02-11 14:13:07 +00:00
assar
7a16662ba0 import of heimdal 0.3e 2001-02-11 13:51:06 +00:00
christos
a132b86864 remove redundant declarations 2001-02-04 22:55:26 +00:00
christos
28473bf6be remove redundant prototypes. 2001-02-04 18:00:31 +00:00
lukem
286bcc01a3 don't use LOG_CONS 2001-01-11 02:58:05 +00:00
christos
2c1245f292 eliminate redundant declarations. 2001-01-06 23:30:57 +00:00
itojun
5a3fc2bdaa PR 11715
- kerberos is in chapter 8, not 7
- ftp(1) is not kerberized.
2000-12-31 07:45:50 +00:00
fvdl
be812c01d9 Remove redundant forward declaration of krb5_cache_data struct. 2000-12-24 12:17:21 +00:00
itojun
5389a2b390 cope with embedded KAME scopeid. getifaddrs() expose kernel internal format
to the userland.
2000-12-21 03:58:52 +00:00
nathanw
1cc86f8ba4 Check the return value of krb5_init_context(), and bail out if it failed.
Also, when failing, don't try to use the non-initialized context value
to determine the error text.

This avoids dumping core in the following programs when /etc/krb5.conf is
missing or broken: klist, kdestroy, kpasswd, kadmin, kadmind, ktutil, kdc.

XXX Better error reporting in this failure case would be nice.
2000-12-19 21:31:11 +00:00
thorpej
ecf24d1394 Use getifaddrs() if HAVE_GETIFADDRS is defined. 2000-12-03 20:21:03 +00:00
thorpej
074a0c939d In krb5_sendto(), try the send/recv *inside* the loop through the
addinfos, so that e.g. if we fail to connect with an IPv6 address,
we can fall back onto an IPv4 address.
2000-12-02 01:53:08 +00:00
fvdl
c9366a8efe Fix reversed test. 2000-11-20 14:08:12 +00:00
joda
25f03b52f9 remove extra .Xc 2000-11-12 15:40:19 +00:00
fvdl
e22c13589c Make gss_acquire_cred actually work. Add a ccache member to the id_t struct
to store alternate creds, retrieved from a keytab. Make gss_init_sec_context
work with creds != GSS_C_NO_CREDENTIAL. Free ccache in id_t in release_cred.
2000-11-06 15:06:51 +00:00
joda
4b39e2fe3f fix v4 fallback lifetime calculation 2000-10-27 14:44:08 +00:00
mycroft
968a585ab4 Fix formatting error. 2000-10-20 18:01:26 +00:00
itojun
b5c4933a2d printf format pedant. (size_t -> u_long). 2000-10-10 13:14:55 +00:00
is
7db764779b Format string cleanup by sommerfeld. 2000-10-08 18:40:08 +00:00
sommerfeld
37146bcc18 format checking for internal functions 2000-10-05 14:17:12 +00:00
sommerfeld
29dec280ee format checking for internal function 2000-10-05 14:16:10 +00:00
fvdl
fb9657047a Add support for running kpasswdd from inetd. Active if INETD_SUPPORT
is defined. In either case, kpasswdd will continue to work from
the commandline as usual.
2000-09-13 11:29:26 +00:00
joda
7bc28b6591 add manpage for kadmin 2000-09-10 19:45:04 +00:00
joda
5ab344e414 add a, somewhat terse, kerberos overview manpage 2000-09-10 19:34:49 +00:00
joda
0acd5e96a9 move config and log files out of /var/heimdal 2000-09-10 19:29:44 +00:00
assar
38f9bead65 fix bad mdoc markup. closed PR/10854 2000-08-20 10:36:40 +00:00
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
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
thorpej
c752ee0a92 Fix a thinko in previous that prevented libroken from getting
both version strings.
2000-07-15 17:02:17 +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
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
c4dc11daa0 Const poison the version strings. 2000-06-19 20:51:53 +00:00
thorpej
1af8b95994 Import Heimdal Kerberos 5 from cryptosrc-intl. 2000-06-16 18:31:35 +00:00